access to Bainbridge whole exome bam file
Hi Nils,
Due to some local issues (proxies/security) I had to chop the bam file up and place it on a file sharing service:
There are five files:
You can cat the files back together in the same order (aa,ab,ac,ad,ae) to get the complete bam.
The BAM file is already sorted and ready to go. If you want to have the index (.bai) already made, you can also download it here:
Here is the output from samtools "flagstat":
38641522 in total
0 QC failure
0 duplicates
37596789 mapped (97.30%)
38641522 paired in sequencing
19320761 read1
19320761 read2
38641522 properly paired (100.00%)
37188108 with itself and mate mapped
408681 singletons (1.06%)
115342 with mate mapped to a different chr
106661 with mate mapped to a different chr (mapQ>=5)
Please let me know if you have any problems! And thanks for looking into the SRMA issue.
Unconfigured Ad
Collapse
X
-
I will try to find a place to host the BAM file for you. It's about 2.6GB after sorting.
Leave a comment:
-
Don't use threading, it isn't helping running time right now on most systems (not sure why, not a Java expert). I do wan the BAM file so I can debug the synchronization issue (crashing srma will make it stronger). Can you post the BAM file somewhere so I can take a look? For now, try without threads.Originally posted by NGSfan View PostHi Nils,
I am testing SRMA with a sorted bam file from a BFAST pair-end alignment of a whole exome data set from Brainbridge et al (http://genomebiology.com/2010/11/6/R62 , and SRA012615).
Just curious, is there a requirement for the number of threads (must be a power of 2?) I tried 8, 16, and got "unsynchronized addition":
java -Xmx128g -jar /net/chipdata/NGS.analysis/bin/srma/srma-0.1.6.jar I=s_1_paired_sequence.bfast.sorted.bam O=s_1_paired_sequence.bfast.srma.bam R=/net/chipdata/HumanGenome/hg18/hg18.fa NUM_THREADS=16 >&srma_log
[Fri Jun 25 16:24:59 CEST 2010] srma.SRMA INPUT=s_1_paired_sequence.bfast.sorted.bam OUTPUT=s_1_paired_sequence.bfast.srma.bam REFERENCE=/net/chipdata/HumanGenome/hg18/hg18.fa NUM_THREADS=22 OFFSET=20 MIN_MAPQ=0 MINIMUM_ALLELE_PROBABILITY=0.1 MINIMUM_A
LELE_COVERAGE=3 MAXIMUM_TOTAL_COVERAGE=100 CORRECT_BASES=false USE_SEQUENCE_QUALITIES=true QUIET_STDERR=false MAX_HEAP_SIZE=8192 MAX_QUEUE_SIZE=65536 TMP_DIR=/tmp/leparc VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECOR
S_IN_RAM=500000
Allele coverage cutoffs:
coverage: 1 minimum allele coverage: 0
coverage: 2 minimum allele coverage: 0
coverage: 3 minimum allele coverage: 0
coverage: 4 minimum allele coverage: 1
coverage: 5 minimum allele coverage: 1
coverage: 6 minimum allele coverage: 1
coverage: 7 minimum allele coverage: 2
coverage: 8 minimum allele coverage: 2
coverage: 9 minimum allele coverage: 3
coverage: >9 minimum allele coverage: 3
** Warning: option NUM_THREADS currently may not increase performance significantly. **
** Try running multiple processes with RANGES if the speed does not increase. **
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.ArrayIndexOutOfBoundsException: -12
at java.util.ArrayList.elementData(ArrayList.java:338)
at java.util.ArrayList.get(ArrayList.java:351)
at srma.Graph.addNode(Graph.java:154)
at srma.Graph.addSAMRecord(Graph.java:109)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
Leave a comment:
-
Hi Nils,
I am testing SRMA with a sorted bam file from a BFAST pair-end alignment of a whole exome data set from Brainbridge et al (http://genomebiology.com/2010/11/6/R62 , and SRA012615).
Just curious, is there a requirement for the number of threads (must be a power of 2?) I tried 8, 16, and got "unsynchronized addition":
java -Xmx128g -jar /net/chipdata/NGS.analysis/bin/srma/srma-0.1.6.jar I=s_1_paired_sequence.bfast.sorted.bam O=s_1_paired_sequence.bfast.srma.bam R=/net/chipdata/HumanGenome/hg18/hg18.fa NUM_THREADS=16 >&srma_log
[Fri Jun 25 16:24:59 CEST 2010] srma.SRMA INPUT=s_1_paired_sequence.bfast.sorted.bam OUTPUT=s_1_paired_sequence.bfast.srma.bam REFERENCE=/net/chipdata/HumanGenome/hg18/hg18.fa NUM_THREADS=22 OFFSET=20 MIN_MAPQ=0 MINIMUM_ALLELE_PROBABILITY=0.1 MINIMUM_A
LELE_COVERAGE=3 MAXIMUM_TOTAL_COVERAGE=100 CORRECT_BASES=false USE_SEQUENCE_QUALITIES=true QUIET_STDERR=false MAX_HEAP_SIZE=8192 MAX_QUEUE_SIZE=65536 TMP_DIR=/tmp/leparc VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECOR
S_IN_RAM=500000
Allele coverage cutoffs:
coverage: 1 minimum allele coverage: 0
coverage: 2 minimum allele coverage: 0
coverage: 3 minimum allele coverage: 0
coverage: 4 minimum allele coverage: 1
coverage: 5 minimum allele coverage: 1
coverage: 6 minimum allele coverage: 1
coverage: 7 minimum allele coverage: 2
coverage: 8 minimum allele coverage: 2
coverage: 9 minimum allele coverage: 3
coverage: >9 minimum allele coverage: 3
** Warning: option NUM_THREADS currently may not increase performance significantly. **
** Try running multiple processes with RANGES if the speed does not increase. **
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.ArrayIndexOutOfBoundsException: -12
at java.util.ArrayList.elementData(ArrayList.java:338)
at java.util.ArrayList.get(ArrayList.java:351)
at srma.Graph.addNode(Graph.java:154)
at srma.Graph.addSAMRecord(Graph.java:109)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]
java.lang.Exception: Unsynchronized addition
at srma.Graph.addSAMRecord(Graph.java:61)
at srma.SRMA$GraphThread.run(SRMA.java:691)
Please report bugs to [email protected]Last edited by NGSfan; 06-25-2010, 06:33 AM.
Leave a comment:
-
Hmm.. the new version of GATK realigner now gives me errors, complaining about read IDs whereas the old version (from April 2010) still works.
Also, GATK complains the "rod' file that I got from GATK is not in the right format for the -B option.Last edited by NGSfan; 06-25-2010, 06:19 AM.
Leave a comment:
-
Did you use the "-Xmx2g" option to Java ("java -Xmx2g -jar srma-0.1.6.jar [options]")? The "MAX_HEAP_SIZE" is a # used internally by SRMA, and is not passed into java. It shouldn't crash if the internal heap size is too small, only some regions will be ignored.Originally posted by seq_GA View PostHi,
I am using srma-0.1.6 version from http://sourceforge.net/projects/srma/files/
I tried giving around 2G for MAX_HEAP_SIZE but still it went out of memory.
The ranges in your file should be in sorted order. It is complaining that the out-of-order line is 271-272. Can you check that line?Originally posted by seq_GA View Post2. As explained in the manual, as my region of interest is around 19000 regions from the whole exome, I constructed a tab delimited file and then sorted it as below (sample)
RANGES=range_sorted.txt
I get the error as below.Code:chr10 100000807 100000927 chr10 100001260 100001500 chr10 100002097 100002217 chr10 100003241 100003601 chr10 100005284 100005519 chr10 100006490 100006719 chr10 100007353 100007593 chr10 100007699 100007939 chr10 100008745 100008985 chr10 100009096 100009216
Let me know whether I am missing something here. Thanks.Code:Allele coverage cutoffs: coverage: 1 minimum allele coverage: 0 coverage: 2 minimum allele coverage: 0 coverage: 3 minimum allele coverage: 0 coverage: 4 minimum allele coverage: 1 coverage: 5 minimum allele coverage: 1 coverage: 6 minimum allele coverage: 1 coverage: 7 minimum allele coverage: 2 coverage: 8 minimum allele coverage: 2 coverage: 9 minimum allele coverage: 3 coverage: >9 minimum allele coverage: 3 java.lang.Exception: Ranges must be in sorted order in RANGES (line numbers 271-272 at srma.Ranges.addRange(Ranges.java:188) at srma.Ranges.<init>(Ranges.java:36) at srma.SRMA.doWork(SRMA.java:178) at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:150) at srma.SRMA.main(SRMA.java:94)
Leave a comment:
-
Hi,
I am using srma-0.1.6 version from http://sourceforge.net/projects/srma/files/
I tried giving around 2G for MAX_HEAP_SIZE but still it went out of memory.
2. As explained in the manual, as my region of interest is around 19000 regions from the whole exome, I constructed a tab delimited file and then sorted it as below (sample)
RANGES=range_sorted.txt
I get the error as below.Code:chr10 100000807 100000927 chr10 100001260 100001500 chr10 100002097 100002217 chr10 100003241 100003601 chr10 100005284 100005519 chr10 100006490 100006719 chr10 100007353 100007593 chr10 100007699 100007939 chr10 100008745 100008985 chr10 100009096 100009216
Let me know whether I am missing something here. Thanks.Code:Allele coverage cutoffs: coverage: 1 minimum allele coverage: 0 coverage: 2 minimum allele coverage: 0 coverage: 3 minimum allele coverage: 0 coverage: 4 minimum allele coverage: 1 coverage: 5 minimum allele coverage: 1 coverage: 6 minimum allele coverage: 1 coverage: 7 minimum allele coverage: 2 coverage: 8 minimum allele coverage: 2 coverage: 9 minimum allele coverage: 3 coverage: >9 minimum allele coverage: 3 java.lang.Exception: Ranges must be in sorted order in RANGES (line numbers 271-272 at srma.Ranges.addRange(Ranges.java:188) at srma.Ranges.<init>(Ranges.java:36) at srma.SRMA.doWork(SRMA.java:178) at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:150) at srma.SRMA.main(SRMA.java:94)
Leave a comment:
-
What version and could I get an example to debug? I would love this type of feedback.Originally posted by seq_GA View Postwhole testing smra also crashed
Agian, what version and could I get an example to debug? Without your feedback I cannot support and improve the tool. I am very responsive solving these types of problemsOriginally posted by NGSfan View PostSRMA I just tried once, but it crashed. But I really need to give it another fair chance since I really didn't look into the problem.
Leave a comment:
-
I have run gatk successfully, using version 1.0.3471
This is how my system is configured:
I have a script simply named "gatk" which contains
Then I just run it in the following way, assuming you got "genome.fasta" and "input.bam". Note that gatk assumes that the sequence dictionary for the genome exists as "genome.dict". I therefore add the Picard step to do the dictionary construction.#!/bin/sh
SRC="/somepath/GenomeAnalysisTK-1.0.3471"
MEMORY="4096M"
java -Xmx$MEMORY -jar $SRC/GenomeAnalysisTK.jar $*
And it worked fine for me.
#create sequence dictionary with Picard
java -jar /opt/picard/dist/CreateSequenceDictionary.jar R=genome.fasta O=genome.dict
#find realigner targets
gatk -T RealignerTargetCreator -I input.bam -R genome.fasta -o output.intervals
# run realigner
gatk -T IndelRealigner -I input.bam -R genome.fasta -targetIntervals output.intervals --output realigned.bam
Leave a comment:
-
Yes, exactly! I initially started from samtools protocols , which implies that you do:Originally posted by seq_GA View PostThx for your reply.
Are you referring to these steps under samtools protocol.
1.Collect regions around potential indels and clusters of mismatches:
2.Merge intervals
3.Realign reads overlapping specified regions:
4.Write the cleaned alignment file:
GATK manual suggests you to to basequality recalibration followed by local realignment. Its bit confusing in the steps involved.
1) recalibration with GATK
2) local (MSA) realignment with GATK
But if you look at the GATK powerpoint from Mark DePristo (great set of slides btw!) GATK ppt then you see in the flow chart
on slide #20 show that MSA realignment comes before recalibration. So I am going back to correct my previous runs.
The realignment before recalibration actually makes more sense - since you will fix the reads that had problem alignments, and then recalibrate based on these better alignments!
I don't know how big or small an effect the order of these two steps has, but I think now this is the correct way.
I will try the new version of GATK and get back to you.
Leave a comment:
-
Thx for your reply.
Are you referring to these steps under samtools protocol.
1.Collect regions around potential indels and clusters of mismatches:
2.Merge intervals
3.Realign reads overlapping specified regions:
4.Write the cleaned alignment file:
GATK manual suggests you to to basequality recalibration followed by local realignment. Its bit confusing in the steps involved.
Leave a comment:
-
I have used GATK successfully, but it looks like they've updated it since the last version I've been using (they separated mismatches from indels and merged them - now it looks like they do it all in one). I will try this new version you've shown.
SRMA I just tried once, but it crashed. But I really need to give it another fair chance since I really didn't look into the problem.
I was doing recalibration followed by local realignment, but I think perhaps it is better to do local realignment first? Seems to be the order recommended by GATK.
Anyone else have any thoughts on this?
Leave a comment:
-
Local realignment using GATK and smra
Hi,
I am trying to use GATK to do base quality recalibration followed by local realignment to reduce the flase positive indels.
I am finding problem in getting GATK to work as have few doubts and smra seems very easy in a sigle step to move ahead. Anyone has done the comparison before.
I am struck with GATK where in the first step of realignment step,for the option L, what is the format of the file. My region of interest would be around 19000 regions from hg18 (all chromosomes). Regardsing -B option, I have only hg18 rod file downloaded from GATK site. How to proceed these steps.Code:java -jar /path/to/GenomeAnalysisTK.jar \ -T RealignerTargetCreator \ -I /path/to/input.bam \ -R /path/to/reference.fasta \ [-L intervals] \ -o /path/to/output.intervals \ [-B snps,VCF,/path/to/SNP_calls.vcf] \ [-B indels,VCF,/path/to/indel_calls.vcf] \ [-B dbsnp,dbsnp,/path/to/dbsnp.rod]
I would appreciate very much if someone could through light on these queries. Thanks.Tags: None
Latest Articles
Collapse
-
by SEQadmin2
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
11-24-2026, 07:04 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:10 AM
|
0 responses
12 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:10 AM
|
||
|
Single-Nucleus Sequencing Links Type 2 Diabetes Risk Variants to Specific Muscle Cell Types
by SEQadmin2
Started by SEQadmin2, 12-01-2026, 11:06 AM
|
0 responses
21 views
0 reactions
|
Last Post
by SEQadmin2
12-01-2026, 11:06 AM
|
||
|
Started by SEQadmin2, 11-23-2026, 11:11 AM
|
0 responses
60 views
0 reactions
|
Last Post
by SEQadmin2
11-23-2026, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
56 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
Leave a comment: