|
| 1 | +name: modkit_validate |
| 2 | +description: | |
| 3 | + Validate base modification calls in one or more mod-BAMs against a matched |
| 4 | + ground-truth BED file containing the expected modification state at |
| 5 | + reference positions. Reports per-sample and combined confusion-matrix style |
| 6 | + statistics (accuracy, filtered calls, probability distribution) as a |
| 7 | + tab-separated machine-parseable table. |
| 8 | +keywords: |
| 9 | + - modkit |
| 10 | + - methylation |
| 11 | + - validate |
| 12 | + - nanopore |
| 13 | + - ont |
| 14 | + - modbam |
| 15 | + - ground-truth |
| 16 | + - benchmark |
| 17 | +tools: |
| 18 | + - "modkit": |
| 19 | + description: A bioinformatics tool for working with modified bases in Oxford Nanopore |
| 20 | + sequencing data. |
| 21 | + homepage: https://github.com/nanoporetech/modkit |
| 22 | + documentation: https://nanoporetech.github.io/modkit/ |
| 23 | + tool_dev_url: https://github.com/nanoporetech/modkit |
| 24 | + licence: |
| 25 | + - "Oxford Nanopore Technologies PLC. Public License Version 1.0" |
| 26 | + identifier: "" |
| 27 | +input: |
| 28 | + - - meta: |
| 29 | + type: map |
| 30 | + description: | |
| 31 | + Groovy Map containing sample (or cohort) information |
| 32 | + e.g. `[ id:'test_run' ]`. The output inherits this meta. |
| 33 | + - bams: |
| 34 | + type: list |
| 35 | + description: | |
| 36 | + One or more modBAM files. BAMs are paired 1:1 with `truth_beds` |
| 37 | + by list index and passed as repeated `--bam-and-bed <BAM> <BED>` |
| 38 | + arguments to `modkit validate`. |
| 39 | + pattern: "*.{bam,cram}" |
| 40 | + ontologies: |
| 41 | + - edam: http://edamontology.org/format_2572 |
| 42 | + - bais: |
| 43 | + type: list |
| 44 | + description: | |
| 45 | + BAM indices (`.bai` or `.csi`) matching each input BAM. |
| 46 | + pattern: "*.{bai,csi}" |
| 47 | + ontologies: [] |
| 48 | + - truth_beds: |
| 49 | + type: list |
| 50 | + description: | |
| 51 | + Ground-truth BED files (one per BAM). The name field must be the |
| 52 | + short modified base code (single letter or ChEBI ID) or `-` to |
| 53 | + mark a canonical reference position. Paired 1:1 with `bams`. |
| 54 | + pattern: "*.{bed,bed.gz}" |
| 55 | + ontologies: |
| 56 | + - edam: http://edamontology.org/format_3003 |
| 57 | +output: |
| 58 | + tsv: |
| 59 | + - - meta: |
| 60 | + type: map |
| 61 | + description: | |
| 62 | + Groovy Map containing sample information |
| 63 | + e.g. `[ id:'test_run' ]`. |
| 64 | + - "*.tsv": |
| 65 | + type: file |
| 66 | + description: | |
| 67 | + Machine-parseable validation summary produced by |
| 68 | + `modkit validate --out-filepath`. Columns include counts of |
| 69 | + correct / incorrect / filtered calls per class. |
| 70 | + pattern: "*.tsv" |
| 71 | + ontologies: |
| 72 | + - edam: http://edamontology.org/format_3475 |
| 73 | + log: |
| 74 | + - - meta: |
| 75 | + type: map |
| 76 | + description: | |
| 77 | + Groovy Map containing sample information |
| 78 | + e.g. `[ id:'test_run' ]`. |
| 79 | + - "*.log": |
| 80 | + type: file |
| 81 | + description: | |
| 82 | + Optional modkit debug log (only emitted when `--log-filepath |
| 83 | + <name>.log` is passed via `ext.args`). |
| 84 | + pattern: "*.log" |
| 85 | + ontologies: [] |
| 86 | + versions_modkit: |
| 87 | + - - ${task.process}: |
| 88 | + type: string |
| 89 | + description: The name of the process |
| 90 | + - modkit: |
| 91 | + type: string |
| 92 | + description: The name of the tool |
| 93 | + - modkit --version | sed 's/modkit //': |
| 94 | + type: eval |
| 95 | + description: The expression to obtain the version of the tool |
| 96 | +topics: |
| 97 | + versions: |
| 98 | + - - ${task.process}: |
| 99 | + type: string |
| 100 | + description: The name of the process |
| 101 | + - modkit: |
| 102 | + type: string |
| 103 | + description: The name of the tool |
| 104 | + - modkit --version | sed 's/modkit //': |
| 105 | + type: eval |
| 106 | + description: The expression to obtain the version of the tool |
| 107 | +authors: |
| 108 | + - "@sahuno" |
| 109 | +maintainers: |
| 110 | + - "@sahuno" |
0 commit comments