Attaining subset of reads from fastq file that are mapped in alignment
1
0
Entering edit mode
4.1 years ago

Hello,

I am interested in pulling a subset of reads from a large fastq file that are mapped during an alignment I run. For example, I wish to run an alignment on the large fastq file and make a new smaller fastq file that contains all the reads that mapped in the alignment. I would greatly appreciate any assistance you may offer.

Kind regards,
Blake

fastq alignment • 871 views
ADD COMMENT
0
Entering edit mode

Have you looked at samtools?

ADD REPLY
0
Entering edit mode
4.1 years ago
ATpoint 82k

Check samtools fastq and its option to only include certain reads using flags. Flags are explained here. https://broadinstitute.github.io/picard/explain-flags.html

ADD COMMENT
0
Entering edit mode

Thank you will look into this.

ADD REPLY

Login before adding your answer.

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