I have only recently discovered this problem.
Compiling using make runs ok, no errors.
Indexing (human_g1k_v37 from the GATK website) on mac takes around an hour, as standard (I think).
bwa aln runs with no errors, but as the OP mentions each step takes almost no time.
bwa sampe also runs with no errors but fails to infer insert size at every step. The resulting sam file has no alignment coordinates in it, and flagstat shows 0% mapped reads.
After transferring data to linux cluster, and rebuilding the index, everything seems ok and flagstat shows 89% of the reads have been mapped.
I wonder is there some kind of library that a Standard Mac OSX lion is missing. Although is that was the case surely bwa would throw an error when it fails to import that library or package. I'm totally ignorant of C though so I'm guessing here.
Unconfigured Ad
Collapse
X
-
Bill,Originally posted by wlangdon View PostIs anyone prepared to host a working version of the BWA index for the human genome?
It would be about 4.5GB. I think it would take less than 2weeks to down load and I might
have more confidence in it than either of the two version I have created using
bwa index /tmp/INPUTS.fa -p h_sapiens_37.5 -a bwtsw
Many thanks
Bill
Illumina built indexes are available at the iGenomes site.
Last edited by GenoMax; 11-14-2012, 08:41 AM.
Leave a comment:
-
It seems to me building the bwa indexes is error prone.
I am just trying it again today and despite running what is supposed to be an
identical script, I get different output (eg the first value in h_sapiens_37.5.amb is half
the size of the value in the version bwt produced two weeks ago).
Is anyone prepared to host a working version of the BWA index for the human genome?
It would be about 4.5GB. I think it would take less than 2weeks to down load and I might
have more confidence in it than either of the two version I have created using
bwa index /tmp/INPUTS.fa -p h_sapiens_37.5 -a bwtsw
Many thanks
Bill
Leave a comment:
-
I realise that, currently running some single end alignments, which take longer...
But anyway, the software does not produce weird faults as above, all my reads get processed and by "fast"; I still mean several hours.
Leave a comment:
-
It 'worked' lightening fast for me too, except when I looked at the resulting BAM files none of the reads were aligned properly
Try running samtools flagstat to check the number of mapped reads
Leave a comment:
-
Uhm, by the way, I have started running the latest bwa on my Macbook (Mac OSX 10.7.4; Lion) yesterday.
Runs fine - the first round of paired end alignment is complete, the program ran right through and processed my 60million odd reads.
The only issues I encountered were with bwa having problems to infer the insert size, but I suspect that is due to either a problem with my fastq files or my ineptitude at selecting the right settings.
The program itself works and is lightning-fast even on my crappy machine!
Edit: I actually had problems with directing bwa to the file directories. No idea why, but even though the path to the files WAS DEFINITELY right, bwa failed to open the files. So, I have copied everything to my home directory and run from there --> no more problems.Last edited by TabeaK; 11-09-2012, 02:08 AM.
Leave a comment:
-
I am also having the same problem running the current bwa release (0.6.2) on Mac OSX Moutain Lion (10.8.2). All indexes were made on the Mac using bwa.
Using the older version of bwa (0.5.9) everything works fine
Leave a comment:
-
Thanks for your replies.
My Mac OS version is Mac OS X Lion 10.7.5.
Leave a comment:
-
Perhaps someone else on the forum can chime in (do not have a Mac handy to test now) if they are successfully using bwa (v.0.6.2) on OS X. Please indicate exact OS X version.Originally posted by quincymo View PostIt failed for all the files I tested. But bwa 0.5.9 worked fine on the same files.
Leave a comment:
-
It failed for all the files I tested. But bwa 0.5.9 worked fine on the same files.
Leave a comment:
-
I think it looks OK.
2.9G genome.fa
8.0K genome.fa.amb
4.0K genome.fa.ann
2.9G genome.fa.bwt
738M genome.fa.pac
1.4G genome.fa.sa
8.0G total
Leave a comment:
-
File sizes for the index files look ok?Originally posted by quincymo View PostI did build the index on Mac
bwa index -a bwtsw genome.fa
which produced the following files:
genome.fa.ann genome.fa.pac genome.fa.amb genome.fa.bwt genome.fa.sa
e.g. .sa file should be about 1.5G and .bwt 2.9G.
Leave a comment:
-
I did build the index on Mac
bwa index -a bwtsw genome.fa
which produced the following files:
genome.fa.ann genome.fa.pac genome.fa.amb genome.fa.bwt genome.fa.sa
bwa failed to calculate SA coordinate. Note it only took 0.75 sec.
Software/bwa-0.6.2/bwa aln Genome/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/version0.6.2/genome.fa ERR001014_1.fastq > ERR001014_1.sai
[bwa_aln] 17bp reads: max_diff = 2
[bwa_aln] 38bp reads: max_diff = 3
[bwa_aln] 64bp reads: max_diff = 4
[bwa_aln] 93bp reads: max_diff = 5
[bwa_aln] 124bp reads: max_diff = 6
[bwa_aln] 157bp reads: max_diff = 7
[bwa_aln] 190bp reads: max_diff = 8
[bwa_aln] 225bp reads: max_diff = 9
[bwa_aln_core] calculate SA coordinate... 0.75 sec
[bwa_aln_core] write to the disk... 0.02 sec
[bwa_aln_core] 250000 sequences have been processed.
[main] Version: 0.6.2-r126
[main] CMD:Software/bwa-0.6.2/bwa aln Genome/Homo_sapiens/UCSC/hg19/Sequence/BWAIndex/version0.6.2/genome.fa ERR001014_1.fastq
[main] Real time: 1.118 sec; CPU: 1.114 sec
Leave a comment:
Latest Articles
Collapse
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, Yesterday, 09:57 AM
|
0 responses
20 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 09:57 AM
|
||
|
Started by SEQadmin2, Yesterday, 09:51 AM
|
0 responses
11 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 09:51 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
67 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
47 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
Leave a comment: