-
Notifications
You must be signed in to change notification settings - Fork 22
Fix linting and local sbwf #293
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f0a6180
Update contributing docs
LouisLeNezet b2a7324
Update meta.yml for local modules
LouisLeNezet 8b2d1e4
Add test for local sbwf
LouisLeNezet 4f62f71
Remove unused sbwf
LouisLeNezet fe1e0f8
Fix linting
LouisLeNezet 8525555
Fix initialisation sbwf
LouisLeNezet 4e3626f
Update changelog
LouisLeNezet b157d81
Update changelog
LouisLeNezet b1dc382
Reset linting
LouisLeNezet bb653eb
Fix citation
LouisLeNezet 46ca7d0
Fix back initialisation process
LouisLeNezet fa97120
Fix panel_id checks
LouisLeNezet 7ae70ef
Update snapshot
LouisLeNezet 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
Some comments aren't visible on the classic Files Changed page.
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
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
This file was deleted.
Oops, something went wrong.
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,61 @@ | ||
| name: addcolumns | ||
| description: Add metadata information to an existing file as additional columns | ||
| keywords: | ||
| - columns | ||
| - metadata | ||
| - awk | ||
| tools: | ||
| - gawk: | ||
| description: "GNU awk" | ||
| homepage: "https://www.gnu.org/software/gawk/" | ||
| documentation: "https://www.gnu.org/software/gawk/manual/" | ||
| tool_dev_url: "https://www.gnu.org/prep/ftp.html" | ||
| licence: | ||
| - "GPL v3" | ||
| identifier: "" | ||
| input: | ||
| - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| The following keys are added in additional columns to the input file. | ||
| e.g. [ id:'test', depth:1, gparray:'illumina', tools:'glimpse', panel:'1000G' ] | ||
| - input: | ||
| type: file | ||
| description: Textual format file | ||
| output: | ||
| txt: | ||
| - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| - txt: | ||
| type: file | ||
| description: Resulting file with additional columns containing the metadata information | ||
| pattern: "*.txt" | ||
| versions_gawk: | ||
| - - ${task.process}: | ||
| type: string | ||
| description: The name of the process | ||
| - gawk: | ||
| type: string | ||
| description: The name of the tool | ||
| - awk -Wversion | sed '1!d; s/.*Awk //; s/,.*//': | ||
| type: eval | ||
| description: The expression to obtain the version of the tool | ||
| topics: | ||
| versions: | ||
| - - ${task.process}: | ||
| type: string | ||
| description: The name of the process | ||
| - gawk: | ||
| type: string | ||
| description: The name of the tool | ||
| - awk -Wversion | sed '1!d; s/.*Awk //; s/,.*//': | ||
| type: eval | ||
| description: The expression to obtain the version of the tool | ||
| authors: | ||
| - "@louislenezet" | ||
| maintainers: | ||
| - "@louislenezet" |
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,51 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/subworkflows/yaml-schema.json | ||
| name: "PREPARE_GENOME" | ||
| description: | | ||
| Subworkflow to prepare the reference genome for imputation. | ||
| This includes indexing the genome and preparing the necessary files. | ||
| keywords: | ||
| - genome | ||
| - reference | ||
| - indexing | ||
| components: | ||
| - samtools/faidx | ||
| input: | ||
| - genome: | ||
| type: string | ||
| description: Reference genome name | ||
| - fasta_path: | ||
| type: file | ||
| description: Reference genome FASTA file | ||
| pattern: "*.{fa,fasta,fa.gz,fasta.gz}" | ||
| - fasta_index_path: | ||
| type: file | ||
| description: Reference genome FASTA index file | ||
| pattern: "*.{fai,faidx}" | ||
| - fasta_gzi_path: | ||
| type: file | ||
| description: Reference genome FASTA gzi index file (optional) | ||
| pattern: "*.gzi" | ||
| output: | ||
| - ch_fasta_fai_gzi: | ||
| type: channel | ||
| description: Channel containing the reference genome FASTA file, its index and gzi index if present | ||
| structure: | ||
| - meta: | ||
| type: map | ||
| description: Metadata map that will be combined with the input data map | ||
| - fasta: | ||
| type: file | ||
| description: Reference genome FASTA file | ||
| pattern: "*.{fa,fasta,fa.gz,fasta.gz}" | ||
| - fai: | ||
| type: file | ||
| description: Reference genome FASTA index file | ||
| pattern: "*.{fai,faidx}" | ||
| - gzi: | ||
| type: file | ||
| description: Reference genome FASTA gzi index file (optional) | ||
| pattern: "*.gzi" | ||
| authors: | ||
| - "@louislenezet" | ||
| maintainers: | ||
| - "@louislenezet" |
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.
I don't understand the decision of having a
prepare_genomesubworkflow. What was the issue before with how things were done? Thanks.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.
This was a recommendation from Maxime to take out the genome indexing out of the local phaseimpute utils sbwf.
I agree that the sbwf is a bit trivial, but the "complex" channel handling make it fit from my point of view as a local sbwf.