I'm trying to merge 6 gtf files I made with stringtie. I've written their file names in a .txt file in the proper format and named it mergelist.txt. The files I want to merge are in the directory I'm currently using. When I try to run:
stringtie --merge -p 4 -G /home/chris/Desktop/Mus_musculus_UCSC_mm10/Mus_musculus/UCSC/mm10/Annotation/Genes/genes.gtf -o stringtie_merged.gtf mergelist.txt
I get the error:
Error: cannot find file 'IP1t_stringtie.gtf' and mergelist.txt does not look like GFF!
The IP1t gtf is the first file in the list of 6 gtfs. All appear to be formatted validly if I inspect them, and they're straight out of stringtie itself. I'm sure I'm making a simple mistake, but I can't figure out what it is and googling these errors hasn't turned up anything. Thanks in advance for any help.
Can you try the following? Some programs are sensitive to the order of options given.
GTF files listed one per line in
mergelist.txt
, correct?Thanks for the reply. I got the same error after flipping around the -g and -o commands, unfortunately. And yeah, the gtf files are all on separate lines with no other formatting.
Can you try adding full path to the GTF file names in your
mergelist.txt
?Yup, I get the same error but with the full path instead of just the file name. Maybe I'll just start from the beginning and make all new gtf files.