You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Ensure that the PR title follows conventional commit style (<type>:
<description>)-->
<!-- Possible types are here:
https://github.com/commitizen/conventional-commit-types/blob/master/index.json
-->
### Description
Follow up on snakemake#392 I finally have time to continue this.
This is a new chunk of 9 meta.yaml updated to explicitly give IO
parameters names (if any) and updated notes.
### QC
<!-- Make sure that you can tick the boxes below. -->
Wrappers have not been changed. The only changes are in meta.yaml files.
Most of the QC steps below do not apply here.
* [X] I confirm that:
For all wrappers added by this PR,
* there is a test case which covers any introduced changes,
* `input:` and `output:` file paths in the resulting rule can be changed
arbitrarily,
* either the wrapper can only use a single core, or the example rule
contains a `threads: x` statement with `x` being a reasonable default,
* rule names in the test case are in
[snake_case](https://en.wikipedia.org/wiki/Snake_case) and somehow tell
what the rule is about or match the tools purpose or name (e.g.,
`map_reads` for a step that maps reads),
* all `environment.yaml` specifications follow [the respective best
practices](https://stackoverflow.com/a/64594513/2352071),
* wherever possible, command line arguments are inferred and set
automatically (e.g. based on file extensions in `input:` or `output:`),
* all fields of the example rules in the `Snakefile`s and their entries
are explained via comments (`input:`/`output:`/`params:` etc.),
* `stderr` and/or `stdout` are logged correctly (`log:`), depending on
the wrapped tool,
* temporary files are either written to a unique hidden folder in the
working directory, or (better) stored where the Python function
`tempfile.gettempdir()` points to (see
[here](https://docs.python.org/3/library/tempfile.html#tempfile.gettempdir);
this also means that using any Python `tempfile` default behavior
works),
* the `meta.yaml` contains a link to the documentation of the respective
tool or command,
* `Snakefile`s pass the linting (`snakemake --lint`),
* `Snakefile`s are formatted with
[snakefmt](https://github.com/snakemake/snakefmt),
* Python wrapper scripts are formatted with
[black](https://black.readthedocs.io).
* Conda environments use a minimal amount of channels, in recommended
ordering. E.g. for bioconda, use (conda-forge, bioconda, nodefaults, as
conda-forge should have highest priority and defaults channels are
usually not needed because most packages are in conda-forge nowadays).
---------
Co-authored-by: tdayris <tdayris@gustaveroussy.fr>
Co-authored-by: tdayris <thibault.dayris@gustaveroussy.fr>
Co-authored-by: Johannes Köster <johannes.koester@uni-due.de>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: snakedeploy-bot[bot] <115615832+snakedeploy-bot[bot]@users.noreply.github.com>
Co-authored-by: Felix Mölder <felix.moelder@uni-due.de>
Co-authored-by: Christopher Schröder <christopher.schroeder@tu-dortmund.de>
- reference: Optional path to reference genome sequence (FASTA formatted). Required for CRAM input.
9
9
output:
10
-
- fastq file
10
+
- reads: Path to realigned reads (single-ended or interleaved) (FASTQ formatted) *OR*
11
+
- r1: Path to upstream reads (FASTQ formatted) *AND*
12
+
- r2: Path to downstream reads (FASTQ formatted)
13
+
params:
14
+
- extra: Optional parameters passed to `bazam`
15
+
note: |
16
+
* Output files include either paths to both `r1` and `r2`, or a single path to `reads`.
17
+
* This wrapper/tool does not handle multithreading.
18
+
* The `java_opts` param allows for additional arguments to be passed to the java compiler (not for `-XmX` or `-Djava.io.tmpdir`, since they are handled automatically).
Copy file name to clipboardExpand all lines: bio/bedtools/genomecov/meta.yaml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,13 @@ authors:
7
7
input:
8
8
- BED/GFF/VCF files grouped by chromosome and genome file (`genome file format <https://bedtools.readthedocs.io/en/latest/content/general-usage.html#genome-file-format>`_) OR
9
9
- BAM files sorted by position.
10
+
- ref: Path to genome file, this must come after the other files
10
11
output:
11
12
- genomecov (.genomecov)
13
+
params:
14
+
- extra: additional program arguments
15
+
note: |
16
+
* If user provides a BAM file, then no need to provide a reference genome file
17
+
* If user provides a BED file, then reference genome file is required
18
+
* BAM/GFF/VCF/BED files *must* come first. Input file order matters in this wrapper.
19
+
* This program/wrapper does not handle multi-threading.
- left: Path to the left region file. Each feature in left region file is compared to right region(s) file(s) in search of overlaps. (BAM/BED/GFF/VCF formatted)
8
+
- right: Path or list of paths to region(s) file(s) (BAM/BED/GFF/VCF formatted)
9
+
output:
10
+
- Path to the intersection.
11
+
params:
12
+
- extra: additional program arguments (except `-a` (left) and `-b` (right))
13
+
note: |
14
+
* This program/wrapper does not handle multi-threading.
0 commit comments