deweylab / RSEM

RSEM: accurate quantification of gene and isoform expression from RNA-Seq data
http://deweylab.biostat.wisc.edu/rsem/
GNU General Public License v3.0
408 stars 118 forks source link

Misleading GTF Parsing Error #63

Open DarioS opened 7 years ago

DarioS commented 7 years ago

If a GTF file is accidentally overwritten on disk with tabs converted to spaces, rsem complains about the strand being incorrect.

$ rsem-prepare-reference --gtf genes.gtf --bowtie2 genome.fasta testRef
rsem-extract-reference-transcripts testRef 0 genes.gtf None 0 genome.fasta
The GTF file might be corrupted!
Stop at line : s1  None    gene    2   21  .   +   .   gene_id "testGene"; gene_name "XXX";
Error Message: Strand is neither '+' nor '-'!
"rsem-extract-reference-transcripts testRef 0 genes.gtf None 0 genome.fasta" failed! Plase check if you provide correct parameters/options for the pipeline!

Could this error message be corrected to highlight the lack of tabs?