Description
Map long reads to a reference genome using Winnowmap, a long-read aligner
optimised for repetitive regions such as centromeres and segmental duplications.
Winnowmap extends the minimap2 framework with weighted minimizers, which
down-weight frequently occurring k-mers so that mappings in repeat-rich regions
are more accurate. K-mer frequencies are pre-computed with
meryl; if no pre-computed file is provided
this component will run meryl automatically, in which case --kmer_size must
be given (meryl has no default k, and winnowmap's -k has to match it).
By default the component outputs alignments in SAM format. Use --bam to
produce a coordinate-sorted, indexed BAM file; samtools is bundled in the
engine image, so no extra setup is needed.
Two winnowmap options are deliberately not exposed: -a (SAM output) is always
passed, which makes the PAF-only -c meaningless, and -d (dump index and
exit) is an index-building mode rather than an alignment mode.
Type
bash_script
License
MIT
Keywords
Contributors
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
output: "$id.$key.output.sam"
output_index: "$id.$key.output_index.bai"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/biobox.git \
-revision v0.5.0 \
-main-script target/nextflow/winnowmap/winnowmap_align/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--reference | file required |
--query -q | file required |
--repetitive_kmers -W | file |
Name | Type & Properties |
|---|---|
--bam | boolean_true |
--output -o | file required output |
--output_index | file output |
Name | Type & Properties |
|---|---|
--preset -x | string |
Name | Type & Properties |
|---|---|
--kmer_size -k | integer |
--window_size -w | integer |
--homopolymer_compressed -H | boolean_true |
--split_index -I | string |
Name | Type & Properties |
|---|---|
--filter_fraction -f | double |
--max_chain_gap -g | integer |
--max_intron_length -G | string |
--max_fragment_length -F | string |
--bandwidth -r | integer |
--min_minimizers -n | integer |
--min_chaining_score -m | integer |
--skip_self_dual -X | boolean_true |
--secondary_ratio -p | double |
--sv_off | boolean_true |
Name | Type & Properties |
|---|---|
--match_score -A | integer |
--mismatch_penalty -B | integer |
--gap_open_penalty -O | string |
--gap_extension_penalty -E | string |
--zdrop -z | string |
--min_peak_score -s | integer |
--splice_strand -u | string |
Name | Type & Properties |
|---|---|
--read_group -R | string |
--cigar_bam -L | boolean_true |
--md_tag | boolean_true |
--cs_tag | string |
--eqx | boolean_true |
--soft_clipping -Y | boolean_true |
--minibatch_size -K | string |