-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix fastANI module #9583
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
Fix fastANI module #9583
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
cc1141a
feat: updated fastANI module to include proper reference and query fi…
8d54dba
refactor: modified input/output options for fastANI and added stub test
fd58eb3
chore: updated meta.yml
7269f2e
Merge branch 'nf-core:master' into master
Ethan-Hetrick ae6a3c1
fix: corrected meta.yml
07024b8
fix: corrected file formats
b454c82
fix: added newline
c0979e1
fix: attempt 2 at fixing whitespaces
49bbc99
fix: attempt 3 at fixing whitespaces
4162446
fix: formatting
03ceb91
Update modules/nf-core/fastani/meta.yml
Ethan-Hetrick 1b184c3
Update modules/nf-core/fastani/tests/main.nf.test
Ethan-Hetrick b2f8b66
Update modules/nf-core/fastani/main.nf
Ethan-Hetrick cd935a6
Update modules/nf-core/fastani/main.nf
Ethan-Hetrick e3fab37
Merge branch 'nf-core:master' into master
Ethan-Hetrick bd45cca
reverted changes to prefixes to properly accommodate a multi-way comp…
b60c343
Renamed test to be more descriptive
fe47276
Fixed whitespaces
b064fed
ran nf-test
979d31f
refactor: updated how tool version was output
86afed3
Merge branch 'master' into master
Ethan-Hetrick 2c8c451
Update modules/nf-core/fastani/main.nf
Ethan-Hetrick d9f4922
fix: removed redundant tags in nf test script
c1fb69a
refactor: added new version syntax to stub as well
7df07cd
fix: fixed snapshot to capture new version syntax
75801b9
feature: added all v all mode test
8c8f5fa
chore: updated meta.yml to clarify input priority
523e1dd
chore: fixed whitespaces
9d1c320
chore: fixed whitespaces
1c042d6
fix: addressed nf-core lint errors and updated fastani version
e28e09a
Update modules/nf-core/fastani/tests/main.nf.test
Ethan-Hetrick 154f08b
Merge branch 'master' into master
Ethan-Hetrick 349844e
fix: removed accidental commit
d9023c5
fix: corrected improper version capture
43d6ed3
chore: update snapshot
fe9795c
feature: made it to where query and reference lists contain both genomes
2b4f0d0
Update modules/nf-core/fastani/meta.yml
Ethan-Hetrick 8d4e36f
Update modules/nf-core/fastani/meta.yml
Ethan-Hetrick f37e8bb
Update modules/nf-core/fastani/meta.yml
Ethan-Hetrick 08c9c26
Update modules/nf-core/fastani/main.nf
Ethan-Hetrick 3945985
Update modules/nf-core/fastani/meta.yml
Ethan-Hetrick c762a36
Update modules/nf-core/fastani/meta.yml
Ethan-Hetrick 09bf7ad
chore: cleanup directives at top of nf.test
00098ca
feature: added line count check for all v all mode
3f5a987
chore: removed obsolete nf-tests
28a3b06
Merge branch 'master' into master
vagkaratzas 2f05707
Updated assert blocks
8ea9033
Merge branch 'master' of https://github.com/Ethan-Hetrick/modules
3d3542a
Fixed a minor syntax flaw causing nf-test to fail and updated snapshot
dd00b88
Merge branch 'master' into master
vagkaratzas 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,4 @@ channels: | |
| - conda-forge | ||
| - bioconda | ||
| dependencies: | ||
| - bioconda::fastani=1.32 | ||
| - bioconda::fastani=1.34 | ||
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 |
|---|---|---|
| @@ -1,55 +1,119 @@ | ||
| name: fastani | ||
| description: Alignment-free computation of average nucleotide Identity (ANI) | ||
| description: Alignment-free computation of Average Nucleotide Identity (ANI) | ||
| keywords: | ||
| - genome | ||
| - fasta | ||
| - ANI | ||
| tools: | ||
| - fastani: | ||
| description: FastANI is developed for fast alignment-free computation of whole-genome | ||
| Average Nucleotide Identity (ANI). | ||
| description: FastANI is developed for fast alignment-free computation of | ||
| whole-genome Average Nucleotide Identity (ANI). | ||
| homepage: https://github.com/ParBLiSS/FastANI | ||
| documentation: https://github.com/ParBLiSS/FastANI | ||
| tool_dev_url: https://github.com/ParBLiSS/FastANI | ||
| doi: 10.1038/s41467-018-07641-9 | ||
| licence: ["Apache-2.0"] | ||
| licence: | ||
| - "Apache-2.0" | ||
| identifier: biotools:fastani | ||
| input: | ||
| - - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| e.g. [ id:'test' ] | ||
| - query: | ||
| type: file | ||
| description: Fasta file(s) to be queried | ||
| pattern: "*.fasta" | ||
| ontologies: [] | ||
|
Ethan-Hetrick marked this conversation as resolved.
|
||
| - reference: | ||
| description: Fasta file to be used as the query. If provided, ql will be | ||
| ignored. | ||
| pattern: "*.{fasta,fna,fa}" | ||
| ontologies: | ||
| - edam: http://edamontology.org/format_1929 # FASTA | ||
| - - meta2: | ||
| type: map | ||
| description: Groovy Map containing sample information for the reference | ||
| - reference: | ||
| type: file | ||
| description: Fasta file to be used as the reference. If provided, rl will | ||
| be ignored. | ||
| pattern: "*.{fasta,fna,fa}" | ||
| ontologies: | ||
| - edam: http://edamontology.org/format_1929 # FASTA | ||
| - ql: | ||
| type: file | ||
| description: File containing a list of query fasta paths. query input takes | ||
| precedence over this list if both are provided. | ||
| pattern: "*.txt" | ||
| ontologies: | ||
| - edam: "http://edamontology.org/format_2330" | ||
| - rl: | ||
| type: file | ||
| description: Fasta file(s) to be used as reference for the query | ||
| pattern: "*.fasta" | ||
| ontologies: [] | ||
| description: File containing a list of reference fasta paths. reference | ||
| input takes precedence over this list if both are provided. | ||
| pattern: "*.txt" | ||
| ontologies: | ||
| - edam: "http://edamontology.org/format_2330" # Textual format | ||
| output: | ||
| ani: | ||
| - - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test', single_end:false ] | ||
| - "*.ani.txt": | ||
| e.g. [ id:'test' ] | ||
| - "*.txt": | ||
| type: file | ||
| description: Results of the query | ||
| pattern: "*.ani.txt" | ||
| ontologies: [] | ||
| description: ANI results file | ||
| pattern: "*.txt" | ||
| ontologies: | ||
| - edam: "http://edamontology.org/format_2330" # Textual format | ||
| visual: | ||
| - - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test' ] | ||
| - "*.visual": | ||
| type: file | ||
| optional: true | ||
| description: FastANI visualization output | ||
| pattern: "*.visual" | ||
| ontologies: | ||
| - edam: "http://edamontology.org/format_3475" # TSV | ||
| matrix: | ||
| - - meta: | ||
| type: map | ||
| description: | | ||
| Groovy Map containing sample information | ||
| e.g. [ id:'test' ] | ||
| - "*.matrix": | ||
| type: file | ||
| optional: true | ||
| description: ANI matrix output | ||
| ontologies: | ||
| - edam: "http://edamontology.org/format_3033" | ||
| versions_fastani: | ||
| - - ${task.process}: | ||
| type: string | ||
| description: The name of the process | ||
| - fastani: | ||
| type: string | ||
| description: The name of the tool | ||
| - fastANI --version 2>&1 | head -1 | sed "s/version\ //": | ||
| type: eval | ||
| description: The expression to obtain the version of the tool | ||
| topics: | ||
| versions: | ||
| - versions.yml: | ||
| type: file | ||
| description: File containing software versions | ||
| pattern: "versions.yml" | ||
| ontologies: | ||
| - edam: http://edamontology.org/format_3750 # YAML | ||
| - - ${task.process}: | ||
| type: string | ||
| description: The name of the process | ||
| - fastani: | ||
| type: string | ||
| description: The name of the tool | ||
| - fastANI --version 2>&1 | head -1 | sed "s/version\ //": | ||
| type: eval | ||
| description: The expression to obtain the version of the tool | ||
| authors: | ||
| - "@abhi18av" | ||
| - "@Ethan-Hetrick" | ||
| maintainers: | ||
| - "@abhi18av" | ||
| - "@Ethan-Hetrick" | ||
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
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.
Uh oh!
There was an error while loading. Please reload this page.