Cufflinks On Chromosome 2
1
0
Entering edit mode
10.8 years ago
komal.rathi ★ 4.1k

Hello everyone,

I have a sorted and index BAM file. I want to run cufflinks on just Chromosome2 from it to save time. How can I do it?

I was using:

cufflinks -p 2 -g <chr2 filtered GTF file> -o outputdir input_filter_sort.bam 2> input.out

I dont know whether this is the best way to do it. I also want to assemble novel transcripts along with the known ones on chromosome2 so I am using the -g option instead of -G. But this command assembles novel transcripts on all the chromosomes not just on chromosome 2. Is there a way to assemble known and novel transcripts on just one chromosome?

Thanks

cufflinks • 2.5k views
ADD COMMENT
2
Entering edit mode
10.8 years ago
Vivek ★ 2.7k

You can use samtools to just extract chromosome 2 from your bam and use cufflinks on it.

samtools view -bh allChr.bam chr2 > onlyChr2.bam
ADD COMMENT

Login before adding your answer.

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