Cuffdiff doesn't accepted sorted bam files that worked in cufflinks
1
1
Entering edit mode
8.0 years ago
lzswindon ▴ 20

I have successfully run through cufflinks and cuffmerge on my STAR aligned data, but am running into an error on cuffdiff:

cuffdiff merged.asm/merged.gtf \
H_400Pa_2079out/Aligned.out.sorted.bam.bam, H_400Pa_2085out/Aligned.out.sorted.bam.bam \
H_60kPa_2080out/Aligned.out.sorted.bam.bam, H_60kPa_2086out/Aligned.out.sorted.bam.bam

This error repeatedly appears on the screen:

BAM record error: found spliced alignment without XS attribute

I had encountered this readout when running cufflinks, but addressed it by using samtools sort on my original bam files. I'm not sure how to address this new occurrence, since my bam files are already sorted. Help would be appreciated! Thanks.

cufflinks cuffdiff bam • 2.6k views
ADD COMMENT
1
Entering edit mode
8.0 years ago
lzswindon ▴ 20

Ah, silly me, I left out -library-type fr-firststrand in my cuffdiff command, which I'd used in cufflinks. So full command should be:

cuffdiff -library-type fr-firststrand merged.asm/merged.gtf \
H_400Pa_2079out/Aligned.out.sorted.bam.bam, H_400Pa_2085out/Aligned.out.sorted.bam.bam \
H_60kPa_2080out/Aligned.out.sorted.bam.bam, H_60kPa_2086out/Aligned.out.sorted.bam.bam
ADD COMMENT
0
Entering edit mode

Thanks for the update. I had the same error and got resolved once I added the library type.

ADD REPLY

Login before adding your answer.

Traffic: 2539 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