|
| 1 | +name: modkit_extract_full |
| 2 | +description: | |
| 3 | + Transform the probabilities from the MM/ML tags in a modBAM into a |
| 4 | + tab-separated per-read-per-position table. Emits one row for every |
| 5 | + modified-base probability call in every read — useful for downstream |
| 6 | + custom filtering, plotting, and ML training. Optionally BGZF-compressed |
| 7 | + via `--bgzf` in `ext.args`. |
| 8 | +keywords: |
| 9 | + - modkit |
| 10 | + - methylation |
| 11 | + - extract |
| 12 | + - read-level |
| 13 | + - modbam |
| 14 | + - nanopore |
| 15 | + - ont |
| 16 | +tools: |
| 17 | + - "modkit": |
| 18 | + description: A bioinformatics tool for working with modified bases in Oxford Nanopore |
| 19 | + sequencing data. |
| 20 | + homepage: https://github.com/nanoporetech/modkit |
| 21 | + documentation: https://nanoporetech.github.io/modkit/ |
| 22 | + tool_dev_url: https://github.com/nanoporetech/modkit |
| 23 | + licence: |
| 24 | + - "Oxford Nanopore Technologies PLC. Public License Version 1.0" |
| 25 | + identifier: "" |
| 26 | +input: |
| 27 | + - - meta: |
| 28 | + type: map |
| 29 | + description: | |
| 30 | + Groovy Map containing sample information |
| 31 | + e.g. `[ id:'sample1' ]`. The output inherits this meta. |
| 32 | + - bam: |
| 33 | + type: file |
| 34 | + description: Input modBAM with MM/ML tags. |
| 35 | + pattern: "*.{bam,cram}" |
| 36 | + ontologies: |
| 37 | + - edam: http://edamontology.org/format_2572 |
| 38 | + - bai: |
| 39 | + type: file |
| 40 | + description: BAM index (`.bai` or `.csi`). Optional — if absent, modkit does |
| 41 | + a serial scan of the BAM (see `--ignore-index`). |
| 42 | + pattern: "*.{bai,csi}" |
| 43 | + ontologies: [] |
| 44 | + - - meta2: |
| 45 | + type: map |
| 46 | + description: | |
| 47 | + Groovy Map containing reference information |
| 48 | + e.g. `[ id:'mm10' ]`. May be `[[], [], []]` to skip (modkit works |
| 49 | + unaligned, but reference context columns will be missing). |
| 50 | + - fasta: |
| 51 | + type: file |
| 52 | + description: Reference FASTA. Required to populate reference-context columns |
| 53 | + in the output (`ref_kmer`, strand, etc.). |
| 54 | + pattern: "*.{fa,fasta,fna}" |
| 55 | + ontologies: |
| 56 | + - edam: http://edamontology.org/format_1929 |
| 57 | + - fai: |
| 58 | + type: file |
| 59 | + description: Samtools FASTA index for `fasta`. |
| 60 | + pattern: "*.fai" |
| 61 | + ontologies: |
| 62 | + - edam: http://edamontology.org/format_3475 |
| 63 | +output: |
| 64 | + tsv: |
| 65 | + - - meta: |
| 66 | + type: map |
| 67 | + description: | |
| 68 | + Groovy Map containing sample information |
| 69 | + e.g. `[ id:'sample1' ]`. |
| 70 | + - "*.tsv{,.gz}": |
| 71 | + type: file |
| 72 | + description: | |
| 73 | + Per-read-per-position probability table. BGZF-compressed when |
| 74 | + `--bgzf` is passed via `ext.args`. |
| 75 | + pattern: "*.{tsv,tsv.gz}" |
| 76 | + ontologies: |
| 77 | + - edam: http://edamontology.org/format_3475 |
| 78 | + log: |
| 79 | + - - meta: |
| 80 | + type: map |
| 81 | + description: | |
| 82 | + Groovy Map containing sample information |
| 83 | + e.g. `[ id:'sample1' ]`. |
| 84 | + - "*.log": |
| 85 | + type: file |
| 86 | + description: | |
| 87 | + Optional modkit debug log (only emitted when `--log-filepath |
| 88 | + <name>.log` is passed via `ext.args`). |
| 89 | + pattern: "*.log" |
| 90 | + ontologies: [] |
| 91 | + versions_modkit: |
| 92 | + - - ${task.process}: |
| 93 | + type: string |
| 94 | + description: The name of the process |
| 95 | + - modkit: |
| 96 | + type: string |
| 97 | + description: The name of the tool |
| 98 | + - modkit --version | sed 's/modkit //': |
| 99 | + type: eval |
| 100 | + description: The expression to obtain the version of the tool |
| 101 | +topics: |
| 102 | + versions: |
| 103 | + - - ${task.process}: |
| 104 | + type: string |
| 105 | + description: The name of the process |
| 106 | + - modkit: |
| 107 | + type: string |
| 108 | + description: The name of the tool |
| 109 | + - modkit --version | sed 's/modkit //': |
| 110 | + type: eval |
| 111 | + description: The expression to obtain the version of the tool |
| 112 | +authors: |
| 113 | + - "@sahuno" |
| 114 | +maintainers: |
| 115 | + - "@sahuno" |
0 commit comments