I used picard to extract two fastq files.
I end up with error "read <> mapped to 'chr1' at POS 0 to -1, flag 69,0 has BIN 4680 but should be 266824".
Then "Fix it by using BAM->SAM->BAM to force a recalculation of the BIN field."
"Fail to index the BAM file"
I do however see .done files and I get a BAM file output. Does this mean that the BAM creation was successful and the index needs to be redone? I'm performing the BAM->SAM->BAM conversion and I'm trying to sort the BAM file and create the index file using samtools sort and index. I don't know if that will complete successfully or not but it's underway. But why did I need to do these extra steps in the first place?
My configuration file is:
INDEX_FILE=align2.index
##########
# References
REF_ROOT=/mnt/workspace
#
AS=NA12878as
REF=$(REF_ROOT)/resourcedata/hg19/hg19.fa
INDEL_PREFIX=$(REF_ROOT)/resourcedata/
DBSNP_VCF= $(REF_ROOT)/resourcedata/dbsnp138/dbsnp_138.hg19.vcf.gz
HM3_VCF=$(REF_ROOT)/resourcedata/hapmap3/hapmap_3.3.hg19.vcf.gz
OMNI_VCF=$(REF_ROOT)/resourcedata/1000G_omni2.5.hg19.vcf.gz
BWA_THREADS= -t 2
and my index file is:
MERGE_NAME FASTQ1 FASTQ2 RGID SAMPLE LIBRARY CENTER PLATFORM
HG00096 data/NA12878ga2exome/NA12878_1.fastq data/NA12878ga2exome/NA12878_2.fastq SRR062634 HG00096 2845856850 WUGSC ILL\
UMINA
--
You received this message because you are subscribed to the Google Groups "GotCloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gotcloud+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
export S=NA12878
nohup java -Xmx24g -jar $PICARD_HOME/SamToFastq.jar INPUT=${S}.tobesplit.sam FASTQ=${S}_1.fastq SECOND_END_FASTQ=${S}_2.fastq RE_REVERSE=true INCLUDE_NON_PF_READS=true 2>${S}.split.log &