stringtie Error: input file cannot be found
2
0
Entering edit mode
7.6 years ago
mjavad2012 ▴ 10

Hello,

I want to use StringTie to assemble transcripts for each sample, but when I run the stringtie, I have an error:

Error: input file –l cannot be found!

here is my command:

stringtie -p 8 -G /annotation/Ghirsutum_458_v1.1.gene.gff3.gz -o NMHT-80-23.gtf –l NMHT-80-23 NMHT-80-23.bam

Please kindly let me know what should I do?

rna-seq RNA-Seq alignment sequence Assembly • 7.3k views
ADD COMMENT
0
Entering edit mode

Have you tried giving a different name for your output transcripts for the -l option?

ADD REPLY
0
Entering edit mode

yes, I did but i still have that error. what format supposed to be the output file after -l ?

ADD REPLY
0
Entering edit mode

For POC, try eliminating the -l, and let it use the default STRG. You can do a sed later, sed -i 's/STRG/NMHT-80-23/g' NMHT-80-23.gtf if it works.

The user manual also as the bam file in front of the options:

stringtie <aligned_reads.bam> [options]*
ADD REPLY
5
Entering edit mode
7.4 years ago
Ellango R ▴ 50

This error may be due to strings error in the script options. I do suffer the same problem while i copied the script directly from article and paste it into terminal. (*Name of output perfix –l =error (which i copied from article); -l = working)

ADD COMMENT
1
Entering edit mode

That's right. As Pertea pointed, in the paper code we can found '–' instead of '-'; the first one is a character not recognized by stringtie. The problem is fixed just using the small '-'.

ADD REPLY
0
Entering edit mode

That's exactly what happened to me. Thanks :D

ADD REPLY
0
Entering edit mode
6.1 years ago
spriyar ▴ 10

Have you tried using the full path for the reference files. I had the same problem and adding the path to the genome reference solved it! Good luck!

ADD COMMENT

Login before adding your answer.

Traffic: 2256 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6