This java command line application computes a consensus sequence with in-frame insertions and ambiguous nucleotide (wobbles) from ultra deep next-generation sequencing alignments. Provides a list of deletions.
-i INPUT : Alignment file in BAM format (required).
-r INPUT : Reference file in FASTA format (optional).
-o PATH : Path to the output directory (default: current directory).
-mcc INT : Minimal coverage to call consensus.
-mic INT : Minimal coverage to call insertion.
-plurality DOUBLE : Minimal relative position-wise base occurence to integrate into wobble (default: 0.05).
-pluralityN DOUBLE : Minimal relative position-wise gap occurence call N (default: 0.5).
-mi : Only the insertion with the maximum frequency greater than mic is incorporated.
-pi : Progressive insertion mode, respecting mic.
-pis INT : Window size for progressive insertion mode (default: 300).
-m : Majority vote respecting pluralityN first, otherwise allow wobbles.
-f : Only allow in frame insertions.
-d : Remove gaps if they are >= pluralityN.
-dash : Use '-' instead of bases from the reference.
-s : Single core mode with low memory footprint.
Technical details
To minimize the memory consumption and the number of full garbage collector executions, use:
java -XX:NewRatio=9 -jar ConsensusFixer.jar
If your dataset is very large and you run out of memory, increase the heapspace with:
ConsensusFixer 0.4
Dr. Armin Töpfer, armintoepfer.com
CONTENT:
This java command line application computes a consensus sequence with in-frame insertions and ambiguous nucleotide (wobbles) from ultra deep next-generation sequencing alignments. Provides a list of deletions.
CITATION:
If you use ConsensusFixer, please cite Töpfer A. https://github.com/cbg-ethz/consensusfixer
DOWNLOAD:
Please get the latest binary at releases.
FEATURES:
-mcc INT-r ref.fasta-mic INT-f-plurality DOUBLE-m-pluralityN DOUBLE-d-mi-piand-pis INT-s--statsISSUES:
Please open an issue on github
PREREQUISITES TO RUN:
RUN:
java -jar ConsensusFixer.jar -i alignment.bam -r reference.fastaTechnical details
To minimize the memory consumption and the number of full garbage collector executions, use:
java -XX:NewRatio=9 -jar ConsensusFixer.jarIf your dataset is very large and you run out of memory, increase the heapspace with:
java -XX:NewRatio=9 -Xms2G -Xmx10G -jar ConsensusFixer.jarOn multicore systems:
java -XX:+UseParallelGC -XX:NewRatio=9 -Xms2G -Xmx10G -jar ConsensusFixer.jarOn multi-CPU systems:
java -XX:+UseParallelGC -XX:+UseNUMA -XX:NewRatio=9 -Xms2G -Xmx10G -jar ConsensusFixer.jarHelp:
Further help can be showed by running without additional parameters:
java -jar ConsensusFixer.jarPREREQUISITES COMPILE (only for dev):
INSTALL (only for dev):
CONTACT:
Contributors
LICENSE:
GNU GPLv3 http://www.gnu.org/licenses/gpl-3.0