BBmap on Ion data
Hello,
I tried to run BBmap to call variants on four BAM files (2 parents, 2 children) generated from exome sequencing on an Ion Proton machine (TMAP software).
The bbmap command was:
I got an error as following (I'm including also the last lines of output):
I unzipped the vcf files and used grep to find "162,590". I got a match at line 9 of the vcf for one individual:
The other individuals also had similar formatting:
(IonXpress_010)
(IonXpress_011)
(IonXpress_012)
This is the full header for barcode 009:
Anything I should have done differently to not cause the error?
Thank you!
Hello,
I tried to run BBmap to call variants on four BAM files (2 parents, 2 children) generated from exome sequencing on an Ion Proton machine (TMAP software).
The bbmap command was:
Code:
/opt/bbmap/callvariants.sh in=IonXpress_009_rawlib.bam,IonXpress_010_rawlib.bam,IonXpress_011_rawlib.bam,IonXpress_012_rawlib.bam ref=./hg19/hg19.fasta out=vars.vcf multisample ploidy=2 prefilter 1> err.txt 2> out.txt &
Code:
Finished second pass. Writing output. Merging [(IonXpress_009_rawlib, individual_IonXpress_009_rawlib.vcf.gz), (IonXpress_010_rawlib, individual_IonXpress_010_rawlib.vcf.gz), (IonXpress_011_rawlib, individual_IonXpress_011_rawlib.vcf.gz), (IonXpress_012_rawlib, individual_IonXpress_012_rawlib.vcf.gz)] Exception in thread "main" java.lang.NumberFormatException: For input string: "162,590" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122) at java.lang.Float.parseFloat(Float.java:451) at var2.MergeSamples.processHeader(MergeSamples.java:233) at var2.MergeSamples.processRow(MergeSamples.java:177) at var2.MergeSamples.mergeFiles(MergeSamples.java:151) at var2.MergeSamples.mergeSamples(MergeSamples.java:117) at var2.CallVariants2.process(CallVariants2.java:380) at var2.CallVariants2.main(CallVariants2.java:52) at var2.CallVariants.main(CallVariants.java:48)
Code:
##readLengthAvg=162,590
(IonXpress_010)
Code:
##readLengthAvg=160,055
Code:
##readLengthAvg=167,107
Code:
##readLengthAvg=169,228
This is the full header for barcode 009:
Code:
##fileformat=VCFv4.2 ##BBMapVersion=36.92 ##ploidy=2 ##rarity=1,00000 ##minallelefraction=0,10000 ##reads=43874924 ##pairedReads=0 ##properlyPairedReads=0 ##readLengthAvg=162,590 ##properPairRate=0,00000 ##totalQualityAvg=23,525 ##mapqAvg=77,583 ##reference=./hg19/hg19.fasta ##contig=<ID=chr1,length=249250621> ##contig=<ID=chr2,length=243199373> ##contig=<ID=chr3,length=198022430> ##contig=<ID=chr4,length=191154276> ##contig=<ID=chr5,length=180915260> ##contig=<ID=chr6,length=171115067> ##contig=<ID=chr7,length=159138663> ##contig=<ID=chr8,length=146364022> ##contig=<ID=chr9,length=141213431> ##contig=<ID=chr10,length=135534747> ##contig=<ID=chr11,length=135006516> ##contig=<ID=chr12,length=133851895> ##contig=<ID=chr13,length=115169878> ##contig=<ID=chr14,length=107349540> ##contig=<ID=chr15,length=102531392> ##contig=<ID=chr16,length=90354753> ##contig=<ID=chr17,length=81195210> ##contig=<ID=chr18,length=78077248> ##contig=<ID=chr19,length=59128983> ##contig=<ID=chr20,length=63025520> ##contig=<ID=chr21,length=48129895> ##contig=<ID=chr22,length=51304566> ##contig=<ID=chrX,length=155270560> ##contig=<ID=chrY,length=59373566> ##contig=<ID=chrM,length=16569> ##FORMAT=<ID=FAIL,Description="Fail"> ##FORMAT=<ID=PASS,Description="Pass"> ##INFO=<ID=SN,Number=1,Type=Integer,Description="Scaffold Number"> ##INFO=<ID=STA,Number=1,Type=Integer,Description="Start"> ##INFO=<ID=STO,Number=1,Type=Integer,Description="Stop"> ##INFO=<ID=TYP,Number=1,Type=String,Description="Type"> ##INFO=<ID=R1P,Number=1,Type=Integer,Description="Read1 Plus Count"> ##INFO=<ID=R1M,Number=1,Type=Integer,Description="Read1 Minus Count"> ##INFO=<ID=R2P,Number=1,Type=Integer,Description="Read2 Plus Count"> ##INFO=<ID=R2M,Number=1,Type=Integer,Description="Read2 Minus Count"> ##INFO=<ID=PPC,Number=1,Type=Integer,Description="Paired Count"> ##INFO=<ID=LS,Number=1,Type=Integer,Description="Length Sum"> ##INFO=<ID=MQS,Number=1,Type=Integer,Description="MAPQ Sum"> ##INFO=<ID=MQM,Number=1,Type=Integer,Description="MAPQ Max"> ##INFO=<ID=BQS,Number=1,Type=Integer,Description="Base Quality Sum"> ##INFO=<ID=BQM,Number=1,Type=Integer,Description="Base Quality Max"> ##INFO=<ID=EDS,Number=1,Type=Integer,Description="End Distance Sum"> ##INFO=<ID=EDM,Number=1,Type=Integer,Description="End Distance Max"> ##INFO=<ID=IDS,Number=1,Type=Integer,Description="Identity Sum"> ##INFO=<ID=IDM,Number=1,Type=Integer,Description="Identity Max"> ##INFO=<ID=COV,Number=1,Type=Integer,Description="Coverage"> ##INFO=<ID=MCOV,Number=1,Type=Integer,Description="Minus Coverage"> ##INFO=<ID=CED,Number=1,Type=Integer,Description="Contig End Distance"> ##INFO=<ID=HMP,Number=1,Type=Integer,Description="Homopolymer Count"> ##INFO=<ID=DP,Number=1,Type=Integer,Description="Total Depth"> ##INFO=<ID=AF,Number=1,Type=Float,Description="Allele Fraction"> ##INFO=<ID=RAF,Number=1,Type=Float,Description="Revised Allele Fraction"> ##INFO=<ID=DP4,Number=4,Type=Integer,Description="Ref+, Ref-, Alt+, Alt-"> ##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> ##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth"> ##FORMAT=<ID=AD,Number=1,Type=Integer,Description="Allele Depth"> ##FORMAT=<ID=AF,Number=1,Type=Float,Description="Allele Fraction"> ##FORMAT=<ID=SC,Number=1,Type=Float,Description="Score"> ##FORMAT=<ID=PF,Number=1,Type=String,Description="Pass Filter"> #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT IonXpress_009_rawlib
Thank you!
Comment