Paired end FASTA to single BAM file
1
0
Entering edit mode
8.3 years ago
jyu429 ▴ 120

Hi,

I'm interested in taking two fastq files X_1.fq and X_2.fq creating a single bam file X.bam, unmapped to anything. Is there a way to do this with just bowtie2 and samtools? Thank you for the help!

samtools • 1.8k views
ADD COMMENT
0
Entering edit mode

Just curiously, what are reasons one would do this?

ADD REPLY
1
Entering edit mode

I don't know about the original poster, but BAM is actually a more efficient file format. Check this post: http://blastedbio.blogspot.com/2011/10/fastq-must-die-long-live-sambam.html

ADD REPLY
2
Entering edit mode
8.3 years ago
igor 13k

Would Picard be acceptable? You can do it easily with FastqToSam: https://broadinstitute.github.io/picard/command-line-overview.html#FastqToSam

ADD COMMENT

Login before adding your answer.

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