subset from fastq file
2
0
Entering edit mode
KB ▴ 50
@k-8495
Last seen 22 months ago
United States

Hello,

I am trying to extract all reads from chromosome 1 (or any other chromosome) from a fastq file. The fastq file I have is from Illumina.

I looked up ShortRead package, but I don't see an example for this in the vignette. 

Could someone give advice ? 

Thanks,

K

fastq • 3.0k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

A FASTQ file only contains the read sequence, not the alignment, so it isn't possible to sort a FASTQ in this manner. You would have to align first, in which case you would have a sam/bam/cram file that you can easily filter.

ADD COMMENT
0
Entering edit mode
KB ▴ 50
@k-8495
Last seen 22 months ago
United States

Thank you, just realized this was such a noob question. 

ADD COMMENT

Login before adding your answer.

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