Rabema gold standard builder synopsis rabema_build_gold_standard [options] --out-gsi out.gsi --reference ref.fa --in-sam perfect.sam rabema_build_gold_standard [options] --out-gsi out.gsi --reference ref.fa --in-bam perfect.bam description this program allows to build a rabema gold standard. the input is a reference fasta file and a perfect sam/bam map (e.g. created using razers 3 in full-sensitivity mode). the input sam/bam file must be sorted by coordinate. the program will create a fasta index file ref.fa.fai for fast random access to the reference. -h, --help displays this help message. --version display version information -v, --verbose enable verbose output. -vv, --very-verbose enable even more verbose output. input / output: -o, --out-gsi gsi path to write the resulting gsi file to. valid filetypes are: gsi and gsi.gz. -r, --reference fasta path to load reference fasta from. valid filetypes are: fa and fasta. -s, --in-sam sam path to load the "perfect" sam file from. valid filetype is: sam. -b, --in-bam bam path to load the "perfect" bam file from. valid filetype is: bam. gold standard parameters: --oracle-mode enable oracle mode. this is used for simulated data when the input sam/bam file gives exactly one position that is considered as the true sample position. --match-n when set, n matches all characters without penalty. --distance-metric metric set distance metric. valid values: hamming, edit. default: edit. one of hamming and edit. default: edit. -e, --max-error rate maximal error rate to build gold standard for in percent. this parameter is an integer and relative to the read length. in case of oracle mode, the error rate for the read at the sampling position is used and rate is used as a cutoff threshold. default: 0. return values a return value of 0 indicates success, any other value indicates an error. examples rabema_build_gold_standard -e 4 -o out.gsi -s in.sam -r ref.fa build gold standard from a sam file in.sam with all mapping locations and a fasta reference ref.fa to gsi file out.gsi with a maximal error rate of 4. rabema_build_gold_standard --distance-metric edit -e 4 -o out.gsi -b in.bam -r ref.fa same as above, but using hamming instead of edit distance and bam as the input. rabema_build_gold_standard --oracle-mode -o out.gsi -s in.sam -r ref.fa build gold standard from a sam file in.sam with the original sample position, e.g. as exported by read simulator mason. memory requirements from version 1.1, great care has been taken to keep the memory requirements as low as possible. there memory required is two times the size of the largest chromosome plus some constant memory for each match. for example, the memory usage for 100bp human genome reads at 5% error rate was 1.7gb. of this, roughly 400gb came from the chromosome and 1.3gb from the matches. references m. holtgrewe, a.-k. emde, d. weese and k. reinert. a novel and well-defined benchmarking method for second generation read mapping, bmc bioinformatics 2011, 12:210. http://www.seqan.de/rabema rabema homepage http://www.seqan.de/mason mason homepage version rabema_build_gold_standard version: 1.2.0 last update march 14, 2013