-
Notifications
You must be signed in to change notification settings - Fork 10
Add local module dshbio/fastatoparquet #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
heuermh
wants to merge
8
commits into
nf-core:dev
Choose a base branch
from
heuermh:add-fasta-to-parquet
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
e37c63d
Add nf-core seqkit/stats module
heuermh 52c4bf3
Add local module dshbio/fastatoparquet
heuermh ed6f387
Add local module duckdb/aminoacidhistogram
heuermh 7e19196
update query to include id column
heuermh ec71531
adding eider/aminoacidhistogram local module, wip, does not work
heuermh 40b6d0e
fixup eider module
heuermh 4ad9542
missing one_letter_symbol column
heuermh 14046f6
minor typo
heuermh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json | ||
| channels: | ||
| - conda-forge | ||
| - bioconda | ||
| dependencies: | ||
| - bioconda::dsh-bio=3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| process DSHBIO_FASTATOPARQUET { | ||
| tag "${meta.id}" | ||
| label 'process_medium' | ||
|
|
||
| conda "${moduleDir}/environment.yml" | ||
| container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
| 'https://depot.galaxyproject.org/singularity/dsh-bio:3.0--hdfd78af_0' : | ||
| 'biocontainers/dsh-bio:3.0--hdfd78af_0' }" | ||
|
|
||
| input: | ||
| tuple val(meta), path(fasta) | ||
|
|
||
| output: | ||
| tuple val(meta), path("*.sequences.parquet"), emit: parquet | ||
| path "versions.yml" , emit: versions | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
| def prefix = task.ext.prefix ?: "${meta.id}" | ||
| """ | ||
| dsh-bio \\ | ||
| fasta-to-parquet3 \\ | ||
| $args \\ | ||
| -i $fasta \\ | ||
| -o ${prefix}.sequences.parquet | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| dshbio: \$(dsh-bio --version 2>&1 | grep -o 'dsh-bio-tools .*' | cut -f2 -d ' ') | ||
| END_VERSIONS | ||
| """ | ||
|
|
||
| stub: | ||
| def args = task.ext.args ?: '' | ||
| def prefix = task.ext.prefix ?: "${meta.id}" | ||
| """ | ||
| mkdir -p ${prefix}.sequences.parquet | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| dshbio: \$(dsh-bio --version 2>&1 | grep -o 'dsh-bio-tools .*' | cut -f2 -d ' ') | ||
| END_VERSIONS | ||
| """ | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| --- | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json | ||
| name: "dshbio_fastatoparquet" | ||
| description: Convert DNA or protein sequences in FASTA format to Parquet format | ||
| keywords: | ||
| - fasta | ||
| - parquet | ||
| - sequence | ||
| tools: | ||
| - dshbio: | ||
| description: | | ||
| Reads, features, variants, assemblies, alignments, genomic range trees, pangenome | ||
| graphs, and a bunch of random command line tools for bioinformatics. LGPL version 3 | ||
| or later. | ||
| homepage: https://github.com/heuermh/dishevelled-bio | ||
| documentation: https://github.com/heuermh/dishevelled-bio | ||
| doi: "10.5281/zenodo.15027131" | ||
| licence: ["LGPL-3.0-or-later"] | ||
|
|
||
| input: | ||
| - - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| - fasta: | ||
| type: file | ||
| description: DNA or protein sequences in compressed FASTA format | ||
| pattern: "*.fasta.{gz|zst|bgz|bgzf|bzip2}" | ||
|
|
||
| output: | ||
| - parquet: | ||
| - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| - "*.sequences.parquet": | ||
| type: directory | ||
| description: | | ||
| Directory of DNA or protein sequences in Parquet format with zstd compression | ||
| pattern: "*.sequences.parquet" | ||
| - versions: | ||
| - versions.yml: | ||
| type: file | ||
| description: File containing software versions | ||
| pattern: "versions.yml" | ||
|
|
||
| authors: | ||
| - "@heuermh" | ||
| maintainers: | ||
| - "@heuermh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json | ||
| channels: | ||
| - conda-forge | ||
|
|
||
| dependencies: | ||
| - conda-forge::duckdb-cli=1.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| process DUCKDB_AMINOACIDHISTOGRAM { | ||
| tag "${meta.id}" | ||
| label 'process_medium' | ||
|
|
||
| conda "${moduleDir}/environment.yml" | ||
| container 'community.wave.seqera.io/library/duckdb-cli:1.1.3--c5d9961e3b49178e' | ||
| //container 'community.wave.seqera.io/library/duckdb-cli_pip_duckdb-extension-parquet:48635535d267c0b5' | ||
| //container 'community.wave.seqera.io/library/duckdb-cli_pip_duckdb-extension-parquet:be97269b25d3a5b6' | ||
| //container 'community.wave.seqera.io/library/pip_duckdb-extension-parquet_duckdb:8326cfa0a50bf9c9' | ||
|
|
||
| input: | ||
| tuple val(meta), path(parquet) | ||
|
|
||
| output: | ||
| tuple val(meta), path("*.histogram.tsv"), emit: histogram | ||
| path "versions.yml" , emit: versions | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def prefix = task.ext.prefix ?: "${meta.id}" | ||
| def amino_acid_properties = file("${moduleDir}/assets/amino_acid_properties.tsv") | ||
| //template 'amino_acid_histogram.py' | ||
| def sql = "INSTALL parquet; LOAD parquet; COPY (WITH p AS (SELECT * FROM read_parquet('${parquet}/*.parquet')), s AS (SELECT unnest(string_to_array(sequence, '')) AS aa FROM p), h AS (SELECT unnest(map_entries(histogram(aa))) AS kv FROM s), e AS (SELECT * from read_csv_auto('${amino_acid_properties}')) SELECT '${prefix}' AS id, h.kv['value'] AS count, e.* FROM h JOIN e ON h.kv['key'] = e.one_letter_symbol) TO '${prefix}.histogram.tsv' (HEADER, DELIMITER '\t')" | ||
| """ | ||
| duckdb :memory: "$sql" | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| duckdb: \$( duckdb --version | cut -f 1 -d " " ) | ||
| END_VERSIONS | ||
| """ | ||
| } |
34 changes: 34 additions & 0 deletions
34
modules/local/duckdb/aminoacidhistogram/resources/usr/bin/create_amino_acid_properties.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # | ||
| # See https://en.wikipedia.org/wiki/Amino_acid | ||
|
|
||
| cat <<END_PROPERTIES > amino_acid_properties.tsv | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤢 |
||
| amino_acid three_letter_symbol one_letter_symbol class chemical_polarity net_charge hydropathy_index molecular_mass abundance_in_proteins standard_genetic_coding hydrophobic aromatic aliphatic small hydrophilic positively_charged negatively_charged | ||
| Alanine Ala A Aliphatic Nonpolar Neutral 1.8 89.094 8.76 GCN FALSE FALSE FALSE TRUE FALSE FALSE FALSE | ||
| Arginine Arg R Fixed cation Basic polar Positive −4.5 174.203 5.78 MGR, CGY FALSE FALSE FALSE FALSE TRUE TRUE FALSE | ||
| Asparagine Asn N Amide Polar Neutral −3.5 132.119 3.93 AAY FALSE FALSE FALSE FALSE TRUE FALSE FALSE | ||
| Aspartate Asp D Anion Brønsted base Negative −3.5 133.104 5.49 GAY FALSE FALSE FALSE FALSE TRUE FALSE TRUE | ||
| Cysteine Cys C Thiol Brønsted acid Neutral 2.5 121.154 1.38 UGY FALSE FALSE FALSE FALSE FALSE FALSE FALSE | ||
| Glutamine Gln Q Amide Polar Neutral −3.5 146.146 3.9 CAR FALSE FALSE FALSE FALSE TRUE FALSE FALSE | ||
| Glutamate Glu E Anion Brønsted base Negative −3.5 147.131 6.32 GAR FALSE FALSE FALSE FALSE TRUE FALSE TRUE | ||
| Glycine Gly G Aliphatic Nonpolar Neutral −0.4 75.067 7.03 GGN FALSE FALSE FALSE TRUE FALSE FALSE FALSE | ||
| Histidine His H Cationic Brønsted acid and base Positive, 10% Neutral, 90% −3.2 155.156 2.26 CAY FALSE TRUE FALSE FALSE TRUE TRUE FALSE | ||
| Isoleucine Ile I Aliphatic Nonpolar Neutral 4.5 131.175 5.49 AUH TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Leucine Leu L Aliphatic Nonpolar Neutral 3.8 131.175 9.68 YUR, CUY TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Lysine Lys K Cation Brønsted acid Positive −3.9 146.189 5.19 AAR FALSE FALSE FALSE FALSE TRUE TRUE FALSE | ||
| Methionine Met M Thioether Nonpolar Neutral 1.9 149.208 2.32 AUG TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Phenylalanine Phe F Aromatic Nonpolar Neutral 2.8 165.192 3.87 UUY TRUE TRUE FALSE FALSE FALSE FALSE FALSE | ||
| Proline Pro P Cyclic Nonpolar Neutral −1.6 115.132 5.02 CCN FALSE FALSE FALSE TRUE FALSE FALSE FALSE | ||
| Serine Ser S Hydroxylic Polar Neutral −0.8 105.093 7.14 UCN, AGY FALSE FALSE FALSE TRUE TRUE FALSE FALSE | ||
| Threonine Thr T Hydroxylic Polar Neutral −0.7 119.119 5.53 ACN FALSE FALSE FALSE FALSE TRUE FALSE FALSE | ||
| Tryptophan Trp W Aromatic Nonpolar Neutral −0.9 204.228 1.25 UGG TRUE TRUE FALSE FALSE FALSE FALSE FALSE | ||
| Tyrosine Tyr Y Aromatic Brønsted acid Neutral −1.3 181.191 2.91 UAY TRUE TRUE FALSE FALSE FALSE FALSE FALSE | ||
| Valine Val V Aliphatic Nonpolar Neutral 4.2 117.148 6.73 GUN TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Selenocysteine Sec U 168.064 | ||
| Pyrrolysine Pyl O 255.313 | ||
| Any/unknown Xaa X | ||
| Asparagine or aspartate Asx B | ||
| Glutamine or glutamate Glx Z | ||
| Leucine or isoleucine Xle J | ||
| END_PROPERTIES | ||
27 changes: 27 additions & 0 deletions
27
modules/local/eider/aminoacidhistogram/assets/amino_acid_properties.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| amino_acid three_letter_symbol one_letter_symbol class chemical_polarity net_charge hydropathy_index molecular_mass abundance_in_proteins standard_genetic_coding hydrophobic aromatic aliphatic small hydrophilic positively_charged negatively_charged | ||
| Alanine Ala A Aliphatic Nonpolar Neutral 1.8 89.094 8.76 GCN FALSE FALSE FALSE TRUE FALSE FALSE FALSE | ||
| Arginine Arg R Fixed cation Basic polar Positive −4.5 174.203 5.78 MGR, CGY FALSE FALSE FALSE FALSE TRUE TRUE FALSE | ||
| Asparagine Asn N Amide Polar Neutral −3.5 132.119 3.93 AAY FALSE FALSE FALSE FALSE TRUE FALSE FALSE | ||
| Aspartate Asp D Anion Brønsted base Negative −3.5 133.104 5.49 GAY FALSE FALSE FALSE FALSE TRUE FALSE TRUE | ||
| Cysteine Cys C Thiol Brønsted acid Neutral 2.5 121.154 1.38 UGY FALSE FALSE FALSE FALSE FALSE FALSE FALSE | ||
| Glutamine Gln Q Amide Polar Neutral −3.5 146.146 3.9 CAR FALSE FALSE FALSE FALSE TRUE FALSE FALSE | ||
| Glutamate Glu E Anion Brønsted base Negative −3.5 147.131 6.32 GAR FALSE FALSE FALSE FALSE TRUE FALSE TRUE | ||
| Glycine Gly G Aliphatic Nonpolar Neutral −0.4 75.067 7.03 GGN FALSE FALSE FALSE TRUE FALSE FALSE FALSE | ||
| Histidine His H Cationic Brønsted acid and base Positive, 10% Neutral, 90% −3.2 155.156 2.26 CAY FALSE TRUE FALSE FALSE TRUE TRUE FALSE | ||
| Isoleucine Ile I Aliphatic Nonpolar Neutral 4.5 131.175 5.49 AUH TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Leucine Leu L Aliphatic Nonpolar Neutral 3.8 131.175 9.68 YUR, CUY TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Lysine Lys K Cation Brønsted acid Positive −3.9 146.189 5.19 AAR FALSE FALSE FALSE FALSE TRUE TRUE FALSE | ||
| Methionine Met M Thioether Nonpolar Neutral 1.9 149.208 2.32 AUG TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Phenylalanine Phe F Aromatic Nonpolar Neutral 2.8 165.192 3.87 UUY TRUE TRUE FALSE FALSE FALSE FALSE FALSE | ||
| Proline Pro P Cyclic Nonpolar Neutral −1.6 115.132 5.02 CCN FALSE FALSE FALSE TRUE FALSE FALSE FALSE | ||
| Serine Ser S Hydroxylic Polar Neutral −0.8 105.093 7.14 UCN, AGY FALSE FALSE FALSE TRUE TRUE FALSE FALSE | ||
| Threonine Thr T Hydroxylic Polar Neutral −0.7 119.119 5.53 ACN FALSE FALSE FALSE FALSE TRUE FALSE FALSE | ||
| Tryptophan Trp W Aromatic Nonpolar Neutral −0.9 204.228 1.25 UGG TRUE TRUE FALSE FALSE FALSE FALSE FALSE | ||
| Tyrosine Tyr Y Aromatic Brønsted acid Neutral −1.3 181.191 2.91 UAY TRUE TRUE FALSE FALSE FALSE FALSE FALSE | ||
| Valine Val V Aliphatic Nonpolar Neutral 4.2 117.148 6.73 GUN TRUE FALSE TRUE FALSE FALSE FALSE FALSE | ||
| Selenocysteine Sec U 168.064 | ||
| Pyrrolysine Pyl O 255.313 | ||
| Any/unknown Xaa X | ||
| Asparagine or aspartate Asx B | ||
| Glutamine or glutamate Glx Z | ||
| Leucine or isoleucine Xle J |
41 changes: 41 additions & 0 deletions
41
modules/local/eider/aminoacidhistogram/assets/query_template.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| COPY ( | ||
| WITH p AS ( | ||
| SELECT * FROM read_parquet('${parquet}/*.parquet') | ||
| ), | ||
| s AS ( | ||
| SELECT unnest(string_to_array(sequence, '')) AS aa FROM p | ||
| ), | ||
| h AS ( | ||
| SELECT unnest(map_entries(histogram(aa))) AS kv FROM s | ||
| ), | ||
| e AS ( | ||
| SELECT * from read_csv_auto('${amino_acid_properties}') | ||
| ) | ||
| SELECT | ||
| '${prefix}' AS id, | ||
| h.kv['value'] AS count, | ||
| e.amino_acid, | ||
| e.one_letter_symbol, | ||
| e.three_letter_symbol, | ||
| e.class, | ||
| e.chemical_polarity, | ||
| e.net_charge, | ||
| e.hydropathy_index, | ||
| e.molecular_mass, | ||
| e.abundance_in_proteins, | ||
| e.standard_genetic_coding, | ||
| e.hydrophobic, | ||
| e.aromatic, | ||
| e.aliphatic, | ||
| e.small, | ||
| e.hydrophilic, | ||
| e.positively_charged, | ||
| e.negatively_charged | ||
| FROM | ||
| h | ||
| JOIN | ||
| e | ||
| ON | ||
| h.kv['key'] = e.one_letter_symbol | ||
| ) | ||
| TO '${prefix}.histogram.tsv' (HEADER, DELIMITER '\t') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json | ||
| channels: | ||
| - conda-forge | ||
| - bioconda | ||
| dependencies: | ||
| - bioconda::eider=0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| process EIDER_AMINOACIDHISTOGRAM { | ||
| tag "${meta.id}" | ||
| label 'process_medium' | ||
|
|
||
| conda "${moduleDir}/environment.yml" | ||
| container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
| 'https://depot.galaxyproject.org/singularity/eider:0.1--hdfd78af_0' : | ||
| 'biocontainers/eider:0.1--hdfd78af_0' }" | ||
|
|
||
| input: | ||
| tuple val(meta), path(parquet) | ||
|
|
||
| output: | ||
| tuple val(meta), path("*.histogram.tsv"), emit: histogram | ||
| path "versions.yml" , emit: versions | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
| def prefix = task.ext.prefix ?: "${meta.id}" | ||
| def amino_acid_properties = file("${moduleDir}/assets/amino_acid_properties.tsv") | ||
| def query_template = file("${moduleDir}/assets/query_template.sql") | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These do not stage when running with |
||
| """ | ||
| eider \ | ||
| $args \ | ||
| --verbose \ | ||
| --skip-history \ | ||
| --parameters prefix=${prefix} \ | ||
| --parameters amino_acid_properties=${amino_acid_properties} \ | ||
| --query-path ${query_template} | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| eider: \$(eider --version 2>&1 | grep -o 'eider .*' | cut -f2 -d ' ') | ||
| END_VERSIONS | ||
| """ | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| name: eider_aminoacidhistogram | ||
| description: Build amino acid histogram from protein sequences | ||
| keywords: | ||
| - duckdb | ||
| - parquet | ||
| - sql | ||
| - query | ||
| tools: | ||
| - eider: | ||
| description: | | ||
| Command line bioinformatics tools for DuckDB. | ||
| homepage: https://github.com/heuermh/eider | ||
| documentation: https://github.com/heuermh/eider | ||
| licence: ["Apache-2.0"] | ||
| identifier: "" | ||
| input: | ||
| - - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| - parquet: | ||
| type: directory | ||
| description: | | ||
| Directory of protein sequences in Parquet format | ||
| pattern: "*.parquet" | ||
| output: | ||
| - histogram: | ||
| - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| - "*.tsv": | ||
| type: file | ||
| description: | | ||
| Amino acid histogram in tab separated values (TSV) text format | ||
| pattern: "*.{tsv}" | ||
| - versions: | ||
| - versions.yml: | ||
| type: file | ||
| description: File containing software versions | ||
| pattern: "versions.yml" | ||
| authors: | ||
| - "@heuermh" | ||
| maintainers: | ||
| - "@heuermh" |
Binary file added
BIN
+2.72 KB
modules/local/eider/aminoacidhistogram/tests/assets/test.parquet/part-0-1.parquet
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is the best config file for this?