In some examples that I've read for using bwa to analyze paired end data, a fastq for each member of the pair is included (in other words, R1.fastq and R2.fastq). Will bwa handle paired end data that is in a single fastq? The reads are denoted with \1 and \2.
Header Leaderboard Ad
Collapse
paired end fastq format in bwa
Collapse
Announcement
Collapse
No announcement yet.
X
-
Originally posted by Protaeus View PostIn some examples that I've read for using bwa to analyze paired end data, a fastq for each member of the pair is included (in other words, R1.fastq and R2.fastq). Will bwa handle paired end data that is in a single fastq? The reads are denoted with \1 and \2.
Code:$ grep -A2 ^@*1 filein.fq > reads_1.fq $ grep -A2 ^@*2 filein.fq > reads_2.fq
-
Originally posted by dawe View PostAFAIK no, it won't. You may separate reads into two different files, I guess with
Code:$ grep -A2 ^@*1 filein.fq > reads_1.fq $ grep -A2 ^@*2 filein.fq > reads_2.fq
Code:$ grep -A3 ^"@.*1"$ filein.fq > reads_1.fq $ grep -A3 ^"@.*2"$ filein.fq > reads_2.fq
In a random FASTQ file of ~20m reads I found 511 quality strings which were matched by these grep patterns. An incredibly small fraction to be sure but you need one to screw up your FASTQ file.
Comment
-
Originally posted by maubp View PostFor the reasons kmcarr gives (and other issues like this), personally I'd use a simple script using Biopython, BioPerl or similar rather than grep.
Nevertheless, I believe grep is much faster than any bioperl/biopython script.
d
Comment
-
Hi. Just found this post in the GATK forum: http://gatkforums.broadinstitute.org...o-fastq-format
Essentially, you can use BWA with interleaved BAM files containing info from both pairs. I know that was not exactly the question, but it is related, and hopefully will save time for some (as with my case).
Comment
Latest Articles
Collapse
-
by seqadmin
The introduction of single-cell sequencing has advanced the ability to study cell-to-cell heterogeneity. Its use has improved our understanding of somatic mutations1, cell lineages2, cellular diversity and regulation3, and development in multicellular organisms4. Single-cell sequencing encompasses hundreds of techniques with different approaches to studying the genomes, transcriptomes, epigenomes, and other omics of individual cells. The analysis of single-cell sequencing data i
...-
Channel: Articles
01-24-2023, 01:19 PM -
-
by seqadminSingle-cell sequencing is a technique used to investigate the genome, transcriptome, epigenome, and other omics of individual cells using high-throughput sequencing. This technology has provided many scientific breakthroughs and continues to be applied across many fields, including microbiology, oncology, immunology, neurobiology, precision medicine, and stem cell research.
The advancement of single-cell sequencing began in 2009 when Tang et al. investigated the single-cell transcriptomes...-
Channel: Articles
01-09-2023, 03:10 PM -
ad_right_rmr
Collapse
Comment