Entering edit mode
6.3 years ago
paumarc
▴
20
Hello
I am having an error using the following command line:
stringtie --merge -p 8 -G /home/ltr2/Genomes/GTF/hg19.gtf -o onwork/hisat2_test/gtf/stringtie_marged.gtf onwork/hisat2_test/margelist.txt
bam files has been sorted and indexed with samtools (so they are sorted) and hg19-fasta and hg19.gtf have been download from ucsc web page
magelist has one file per line with its full path
any ideas?
pau
If you could post the output of the above-mentioned command, it would be really helpful to understand the error.
Ok, I am sorry, i just forget to paste it
the error says : the input alignment file is not sorted!
the strange thing about the error is that it happens always with the last file (it do not matter if margelist has 2 or 10 bam files), it works normally until it is going to end.
It also occurs that files processed normally when they are not at the last place of the list are found as not sorted if they are at the last last place
thanks
Add the output of following command for all your BAM files
You should see something like this
Thank you for your replay,
as i told you all files are sorted properly, and do not mather if i use two or more files at the marge list, it always gives the error at the last bam file
Check your margelist.txt file once again and make sure it does not have a blank line in the end. Open it in a textpad or notepad.
no spaces at margelist.txt file.
Can you paste the contents of this file?
i post it separatly by mistake, but you can see the margelist.txt
Yes, of course. Notice that at the original file there not exist a blank line between lines with the path. I don't know why (maybe because I am in Linux), when I copy paste, the post at the forum does not recognize the 'new line'
thanks
Hello paumarc ,
code
option) to present your post better. I've done it for you this time.ADD REPLY
button below the post.Thank you!
ok, thank you. i was becoming crazy with the output