This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Can I use sorted bam files from STAR with Stringtie?

Hey,

I mapped my fastq files using STAR. The output now is a sorted bam files. I wanted to try Stringtie instead of cufflinks.

But since my output doesn't contain the tag XS, Can Stringtie deal with it ?

Thank you!

rna-seq assembly

Thank you a lot!!

Okay. What if I already mapped without this option, can I still use Stringtie?

hi,

From StringTie Manual page -

Every spliced read alignment (i.e. an alignment across at least one junction) in the input SAM file must contain the tag XS to indicate the genomic strand that produced the RNA from which the read was sequenced. Alignments produced by TopHat and HISAT2 (when ran with --dta option) already include this tag, but if you use a different read mapper you should check that this XS tag is included for spliced alignments

So, you would need to redo if you want to use StringTie or Cufflinks.

1 answer

hi,

STAR has the provision of returning the XS attribute with the --outSAMstrandField parameter.

Log in to answer this question.