Skip to content
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

POC of new meta.yml structure and ontologies #5867

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 50 additions & 45 deletions modules/nf-core/atlas/splitmerge/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,58 +7,63 @@ keywords:
- read group
tools:
- "atlas":
description: "ATLAS, a suite of methods to accurately genotype and estimate genetic diversity"
description: "ATLAS, a suite of methods to accurately genotype and estimate genetic
diversity"
homepage: "https://bitbucket.org/wegmannlab/atlas/wiki/Home"
documentation: "https://bitbucket.org/wegmannlab/atlas/wiki/Home"
tool_dev_url: "https://bitbucket.org/wegmannlab/atlas"
doi: "10.1101/105346"
licence: "['GPL v3']"
licence: ["GPL v3"]
identifier: biotools:atlas_db
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should just be atlas, not atlas_db in this case: https://bio.tools/atlas

input:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- bam:
type: file
description: Single input BAM file.
pattern: "*.bam"
- bai:
type: file
description: The BAI file for the input BAM file
pattern: "*.bai"
- read_group_setting:
type: file
description: |
TXT file containing the split and merge settings for
each readgroup. Each line consist of one readgroup,
single/double identifier and the maximum cycle number
of the sequencer. e.g. "RG1 single 100"
pattern: "*.txt"
- blacklist:
type: file
description: |
blacklist.txt (optional), A txt file with blacklisted read names
that should be ignored and just written to file, each on a new line
pattern: "*.txt"
- - meta:
type: map
ewels marked this conversation as resolved.
Show resolved Hide resolved
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- bam:
type: file
description: Single input BAM file.
pattern: "*.bam"
- bai:
type: file
description: The BAI file for the input BAM file
pattern: "*.bai"
- read_group_settings:
type: file
description: |
TXT file containing the split and merge settings for
each readgroup. Each line consist of one readgroup,
single/double identifier and the maximum cycle number
of the sequencer. e.g. "RG1 single 100"
pattern: "*.txt"
- blacklist:
type: file
description: |
blacklist.txt (optional), A txt file with blacklisted read names
that should be ignored and just written to file, each on a new line
pattern: "*.txt"
output:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- data:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- "*_mergedReads.bam":
SPPearce marked this conversation as resolved.
Show resolved Hide resolved
type: file
description: A BAM file with suffix_mergedReads.bam
pattern: "*_mergedReads.bam"
- "*.txt.gz":
type: file
description: A file listing all reads that were filtered out in the merging
process with suffix_ignoredReads.txt.gz
pattern: "*.txt.gz"
- versions:
type: file
description: File containing software versions
pattern: "versions.yml"
- bam:
type: file
description: A BAM file with suffix_mergedReads.bam
pattern: "*_mergedReads.bam"
- filelist:
type: file
description: A file listing all reads that were filtered out in the merging process with suffix_ignoredReads.txt.gz
pattern: "*.txt.gz"
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
authors:
- "@merszym"
maintainers:
Expand Down
5 changes: 3 additions & 2 deletions modules/nf-core/bwa/mem/environment.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: bwa_mem

channels:
- conda-forge
- bioconda
- defaults

dependencies:
- bwa=0.7.18
# renovate: datasource=conda depName=bioconda/samtools
- samtools=1.20
- htslib=1.20.0
- samtools=1.20
116 changes: 74 additions & 42 deletions modules/nf-core/bwa/mem/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,55 +17,87 @@ tools:
documentation: https://bio-bwa.sourceforge.net/bwa.shtml
arxiv: arXiv:1303.3997
licence: ["GPL-3.0-or-later"]
identifier: "biotools:bwa"
input:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- reads:
type: file
description: |
List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively.
- meta2:
type: map
description: |
Groovy Map containing reference information.
e.g. [ id:'test', single_end:false ]
- index:
type: file
description: BWA genome index files
pattern: "Directory containing BWA index *.{amb,ann,bwt,pac,sa}"
- fasta:
type: file
description: Reference genome in FASTA format
pattern: "*.{fasta,fa}"
- sort_bam:
type: boolean
description: use samtools sort (true) or samtools view (false)
pattern: "true or false"
- - meta:
type: map
description: |
Groovy Map containing sample information
e.g. [ id:'test', single_end:false ]
- reads:
type: file
description: |
List of input FastQ files of size 1 and 2 for single-end and paired-end data,
respectively.
ontologies:
- edam: http://edamontology.org/format_1930
- - meta2:
type: map
description: |
Groovy Map containing reference information.
e.g. [ id:'test', single_end:false ]
- index:
type: file
description: BWA genome index files. Directory containing BWA index *.{amb,ann,bwt,pac,sa}
- - meta3:
type: map
description: |
Groovy Map containing reference information.
e.g. [ id:'test', single_end:false ]
- fasta:
type: file
description: Reference genome in FASTA format
pattern: "*.{fasta,fa}"
ontologies:
- edam: http://edamontology.org/format_1929
- - sort_bam:
type: boolean
description: use samtools sort (true) or samtools view (false)
pattern: "true or false"
ontologies:
- edam: http://edamontology.org/format_2572
output:
- bam:
type: file
description: Output BAM file containing read alignments
pattern: "*.{bam}"
- meta:
type: map
description: Groovy map
- "*.bam":
type: file
description: Output BAM file containing read alignments
pattern: "*.{bam}"
ontologies:
- edam: http://edamontology.org/format_2572
- cram:
type: file
description: Output CRAM file containing read alignments
pattern: "*.{cram}"
- meta:
type: map
description: Groovy map
- "*.cram":
type: file
description: Output CRAM file containing read alignments
pattern: "*.{cram}"
ontologies:
- edam: http://edamontology.org/format_3462
- csi:
type: file
description: Optional index file for BAM file
pattern: "*.{csi}"
- meta:
type: map
description: Groovy map
- "*.csi":
type: file
description: Optional index file for BAM file
pattern: "*.{csi}"
- crai:
type: file
description: Optional index file for CRAM file
pattern: "*.{crai}"
- meta:
type: map
description: Groovy map
- "*.crai":
type: file
description: Optional index file for CRAM file
pattern: "*.{crai}"
- versions:
type: file
description: File containing software versions
pattern: "versions.yml"
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
authors:
- "@drpatelh"
- "@jeremy1805"
Expand Down
Loading
Loading