Description

Run telomere/findtelomere on an assembly and motif string; optionally bgzip/tabix combined *.telomere.bed and *.windows. When split, also emit and zip strand BED (*.fwd.telomere.bed, *.rev.telomere.bed) and strand windows (*.fwd.windows / *.rev.windows). The combined *.telomere TSV is not zipped.

Input

Name
Description
Pattern

ch_reference (file)

Channel shape [ val(meta), path(reference) ].

ch_telomereseq (string)

Channel shape [ val(meta), val(telomere_motif) ] — DNA motif sequence string (same meta.id as ch_reference entries).

val_zip_bed (boolean)

When true, run htslib/bgziptabix (-p bed) on combined *.telomere.bed and *.windows, and when split also on strand BED and strand windows (one HTSLIB task per file). The combined *.telomere TSV is not zipped. When false, gz_index is an empty channel.

Output

Name
Description
Pattern

telomere (file)

[ val(meta), path(*.telomere) ] — motif-hit table from find_telomere.

telomere_bed (file)

[ val(meta), path(*.telomere.bed) ] — combined motif BED from FindTelomereWindows (always emitted).

telomere_bed_fwd (file)

[ val(meta), path(*.fwd.telomere.bed) ] when split is true; otherwise empty.

telomere_bed_rev (file)

[ val(meta), path(*.rev.telomere.bed) ] when split is true; otherwise empty.

windows_all (file)

[ val(meta), path(*.windows) ] — combined both-strand density windows (always emitted).

windows_fwd (file)

[ val(meta), path(*.fwd.windows) ] when split is true; otherwise empty.

windows_rev (file)

[ val(meta), path(*.rev.windows) ] when split is true; otherwise empty.

gz_index (file)

[ val(meta), path(*.gz), path(*.{tbi,csi}) ] per bgzip/tabixed file when val_zip_bed is true (from HTSLIB_BGZIPTABIX output/index join); empty when val_zip_bed is false.

Components

Command copied!