SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
bwa alignment failed CTGF Bioinformatics 1 10-24-2011 12:35 AM
BWA alignment followed by TopHat slny Bioinformatics 9 06-06-2011 06:19 AM
Trouble getting SNPS from bwa/samtools mindlessbrain Bioinformatics 9 12-16-2010 05:29 AM
Repeating a SOLiD Focal Map pmiguel SOLiD 2 09-09-2010 03:34 AM
BWA Alignment Errors Seq1234 Bioinformatics 0 12-15-2009 08:59 PM

Reply
 
Thread Tools
Old 08-09-2011, 01:51 PM   #1
efoss
Member
 
Location: Seattle

Join Date: Jul 2011
Posts: 98
Default trouble repeating a BWA alignment command

I aligned a fastq file to a refseq data base successfully as follows:

create an index:

bwa index -p RefSeqbwaidx -a bwtsw /mnt/fred/home/efoss/gene_databases/refGene.txt.07Jun2010.fa

(
The refGene.txt.07June2010.fa file has a format like this:

>NM_002697
CGGAGGAGCAGCGAGTCAAGATGAGAGTTCAGCCGCGGCGGCAGCAGCAGCAGACTGGAAAAGTAAGAAGAGCTTTCCTGCCTTTTTAATTACCAAACTA
CTCTCAGTTTTCAATGAATCAGTTCAAAGAAAGAATGCAGTCTTTCTATACCTGACTCAAGAATGAACAATCCGTCAGAAACCAGTAAACCATCTATGGA
GAGTGGAGATGGCAACACAGGCACACAAACCAATGGTCTGGACTTTCAGAA
)


I align my reads:

bwa aln -t 6 RefSeqbwaidx /mnt/fred/home/efoss/sequence_files/FASTQ_files/sequence_r1.fq > sequence_r1.fq.bwa

and I convert the output to SAM format:

bwa samse RefSeqbwaidx sequence_r1.fq.bwa /mnt/fred/home/efoss/sequence_files/FASTQ_files/sequence_r1.fq > sequence_r1.fq.sam

I look into the SAM file and everything looks good. Now I go to align the corresponding "r2" file from the same experiment:

bwa aln -t 6 RefSeqbwaidx /mnt/fred/home/efoss/sequence_files/FASTQ_files/sequence_r2.fq > sequence_r2.fq.bwa

The alignment takes a similar amount of time, the messages reported back as the computer is working look the same, but then in the end my sequence_r2.fq.bwa file is empty. Does anyone have an idea about what is going on?

Thank you.

Eric
efoss is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 06:10 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO