![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bfast alignement with paired end reads in separate files | david.tamborero | Bioinformatics | 2 | 11-29-2011 08:49 AM |
Error during PicardMarkDuplicates (Illumina paired-ends mapped by Bfast) | david.tamborero | Bioinformatics | 2 | 08-09-2011 02:08 AM |
Mira assembler: Medium sized genomes;How to use 2 separate files for paired-end reads | ndeshpan | Bioinformatics | 3 | 05-23-2011 06:59 PM |
bfast bgeneratereads for paired ends | sdvie | Bioinformatics | 2 | 03-23-2011 11:04 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: spain Join Date: Feb 2011
Posts: 60
|
![]()
Hello,
I want to align illumina paired-end reads by using bfast. The point is that each end is provided in two separate .fastq files. I am not sure (at all) of which is the best way to 'join' them during the alignement process. I am using bfast_match + bfast_localign + bfast_postprocess. I've seen in the bfast manual that the localalign step allows to do the following: Code:
bfast localalign -1 file_1.bmf -2 file_2.bmf -A 0 -U > sample.baf Code:
bfast localalign -f hg19.fa -m pair_1.bmf -m pair_2.bmf -A 0 -U > sample.baf Any help will be appreciated! thanks david |
![]() |
![]() |
![]() |
#2 |
Member
Location: salt lake city, UT Join Date: Apr 2010
Posts: 72
|
![]()
there is a file that comes with the BFAST distribution: scripts/ill2fastq.pl
that will convert your *sequence fastq files to bfastq format. |
![]() |
![]() |
![]() |
#3 | |||
Member
Location: spain Join Date: Feb 2011
Posts: 60
|
![]()
Thank you for your answer, brentp.
I've tried the ill2fastq.pl, and as far as I notice it just merges both fastq files in a single one in which the second end is reverted and complemented. For instance: pair_1: Quote:
Quote:
is converted to: Quote:
I'm still wondering if it is ok to obtain the .sam file as follows: Code:
bfast match end1.fastq > end1.bmf bfast match end2.fastq > end2.bmf bfast localign end1.bmf > end1.baf bfast localign end2.bmf > end2.baf bfast postprocess end1.baf > end1.sam bfast postprocess end2.baf > end2.sam samtools merge end1.sam end2.sam > sample.sam (Note that the pipeline is intended for searching for SNPs) |
|||
![]() |
![]() |
![]() |
#4 |
Member
Location: spain Join Date: Feb 2011
Posts: 60
|
![]()
Just in case anyone is interested in this post, I should say that everything goes nice when the two files containing each paired end are merged by the ill2fastq.pl script and then inputted to the bfast commands.
I'm still concerned in the following though: - which is the advantage of doing so as compared to align each paired end separately and then joining the two resulting sam files (by samtools merge, for instance). - since i've noticed that the ill2fastq.pl script reverses and complements the second paired end, I'm not sure of what are the correct values for the -w argument in the bfast match ('to find matches on the designed strands') and the -R in the bfast postprocess ('specifies to expect paired reads to be on reverse strands'). cheers, david |
![]() |
![]() |
![]() |
Tags |
alignement, bfast, paired end reads |
Thread Tools | |
|
|