Question: Kissplice2refgenome does not handle # in the very begining of GTF files
0
gravatar for Thibault D.
16 days ago by
Thibault D.430
European Union
Thibault D.430 wrote:

Hi,

I've been using Kissplice pipeline lately to perform personnal RNASeq analysis. As I used the pipeline described in the official Kissplice documentation, I've come across an error.

With the following command line:

kissplice2refgenome-1.0.0/kissplice2refgenome -a genomeDir/gencode.v24.chr_patch_hapl_scaff.annotation.gtf --pairedEnd True kiss_emt/star_coherents_type_1_Aligned.out.sam

I get the following output:

Run starts...
Reading annotations file...
Traceback (most recent call last):
  File "workdir/kissplice2refgenome-1.0.0/kissplice2refgenome", line 140, in <module>
    main()
  File "workdir/kissplice2refgenome-1.0.0/kissplice2refgenome", line 109, in main
    ssRef.readAnnotationFile(options.annotationFile)
  File "/workdir/kissplice2refgenome-1.0.0/kissplice2refgenomelib/spliceSitesRef.py", line 22, in readAnnotationFile
    self.getInfoAnnotationFile(event)
  File "workdir/kissplice2refgenome-1.0.0/kissplice2refgenomelib/spliceSitesRef.py", line 28, in getInfoAnnotationFile
    gettingAttributes=event[8].split(" ")

I just grepped out the headers in the GTF file to get rid of the error, as follows:

kissplice2refgenome-1.0.0/kissplice2refgenome -a <(cat genomeDir/gencode.v24.chr_patch_hapl_scaff.annotation.gtf | grep -vP "^#") --pairedEnd True kiss_emt/star_coherents_type_1_Aligned.out.sam

I was wondering if this was a known issue ? I just downloaded the GTF file from gencode, and did not perform any modification (aside from gunzip uncompression).

Thanks!

kissplice rna-seq gtf • 108 views
ADD COMMENTlink written 16 days ago by Thibault D.430
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1542 users visited in the last hour