make
Usage: sav_call [options] --bam <input.bam> --reference <reference.fasta>
Version 0.2.0
Required arguments:
--prefix-out <string> Prefix for output files with called
variants. 3 files for forward, reverse
and both strands, respectively:
- fwd: <prefix>.fwd.csv
- rev: <prefix>.rev.csv
- both: <prefix>.both.csv
--bam <input.bam> Input BAM file
--reference <reference.fasta> Reference FASTA used for mapping
Optional arguments:
--base-csv <file> Base counts and depths for both forward
and reverse strand with all pileup
position to CSV file. Position without
reads are not reported. Gaps in reads
are accounted in depths
--indel-csv <file> Output indel counts to CSV file
--keep-read-extremities Keep read extremities (default: false)
--keep-duplicate Keep duplicate reads (default: false)
--keep-secondary Keep secondary mapping (default: false)
--min-qual <int> Minimum base quality to count
(default: 0)
--R1-strand <forward|reverse> Set R1 strand (default: forward)
--R2-strand <forward|reverse> Set R2 strand (default: reverse)
--bam <input.bam> Input BAM file (required)
--reference <reference.fasta> Reference FASTA file (required)
--min-freq <float;float;float> Minimum frequency to call a variant
(default: 0.02;0.02;0.02)
fwd;rev;both
--min-count <int;int;int> Minimum counts to call a variant
(default: 20;20;20)
fwd;rev;both
--min-alt-count <int;int;int> Minimum alternative counts to call
(default: 10;10;10)
fwd;rev;both
--max-n-pileup <int> Maximum reads in pileup
(default: 1000000)
make test
Coverage report generated in 'test/out' directory. Check 'test/check*.err' and 'test/check*.err' to see results on sim data.
Overall coverage rate:
lines......: 79.0% (793 of 1004 lines)
functions..: 94.5% (397 of 420 functions)