Repository navigation
Feature/euks support #104
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
base: dev
Are you sure you want to change the base?
Feature/euks support #104
Changes from all commits
d2986ba
5d912a6
8258791
033c2e6
fae4014
65e2f7a
f785c58
a877682
04765a9
e541c48
9b96c39
2c025df
1180521
4f630e8
99efe85
a1d1c85
685905b
35bf5dc
d86daa6
316a933
6680da6
4718f18
eb6c999
b113d16
aaf9a14
70bf911
bae8270
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,7 +79,7 @@ | |
| "stats_generation_software": { | ||
| "type": "string", | ||
| "default": null, | ||
| "description": "Tool, including version, that was used to calculate completeness and contamination, e.g. CheckM2_v1.0.0", | ||
| "description": "Tool, including version, that was used to calculate completeness and contamination, e.g. CheckM2_v1.0.0. Several tools are separated by `;`, e.g. busco_v6.1.0;eukcc_v2.2.0. If the pipeline runs additional tools for this genome, they are appended to the provided value.", | ||
| "meta": ["stats_generation_software"] | ||
| }, | ||
| "completeness": { | ||
|
|
@@ -165,7 +165,7 @@ | |
| } | ||
| ], | ||
| "default": null, | ||
| "description": "Presence or absence of the 23S, 16S, and 5S rRNA genes and at least 18 tRNAs. This is used for MISAG/MIMAG assembly quality classification. Options: 'true' or 'false'", | ||
| "description": "Presence or absence of the 23S, 16S, and 5S rRNA genes (prokaryotes) or the 28S, 18S, 5.8S and 5S rRNA genes (eukaryotes) and at least 18 tRNAs. This is used for MISAG/MIMAG assembly quality classification. Options: true or false.", | ||
|
Contributor
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. 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. I asked in the past, criteria for euks are not as well defined, since they are so difficult to assemble. Many people assume the same criteria as proks, some other decrease thresholds, but I think things might be changing soon and ENA might not have a precise answer
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. my AI friends told me to just say |
||
| "meta": ["RNA_presence"] | ||
| }, | ||
| "NCBI_lineage": { | ||
|
|
||
|
KateSakharova marked this conversation as resolved.
Resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| process { withName: 'BUSCO_BUSCO' { container = 'modules/nf-core/busco/busco/.conda-lock/linux_amd64-bd-6d1f7006d91892b3_1.txt' } } | ||
| process { withName: 'MULTIQC' { conda = 'modules/nf-core/multiqc/.conda-lock/linux_amd64-bd-c17fb751507e9dfc_1.txt' } } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| process { withName: 'BUSCO_BUSCO' { container = 'community.wave.seqera.io/library/busco:6.1.0--6d1f7006d91892b3' } } | ||
| process { withName: 'MULTIQC' { container = 'community.wave.seqera.io/library/multiqc:1.35--c17fb751507e9dfc' } } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| process { withName: 'BUSCO_BUSCO' { container = 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/96/963bad66c10646cf0adb1967cc462ad04d02789ddbfae4fbb94182291dbddf8c/data' } } | ||
| process { withName: 'MULTIQC' { container = 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c8/c8e346f4f6080eadf1253505e6ff09ef004454fc18e8d672006fd7b222cc412e/data' } } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| process { withName: 'BUSCO_BUSCO' { container = 'oras://community.wave.seqera.io/library/busco:6.1.0--c7528d5825eb19b5' } } | ||
| process { withName: 'MULTIQC' { container = 'oras://community.wave.seqera.io/library/multiqc:1.35--c680f2aea25ccec2' } } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,6 +43,7 @@ process { | |
| } | ||
|
|
||
| withName: 'CATPACK_BINS' { | ||
| ext.args = '--no_stars' | ||
| publishDir = [ | ||
| path: { "${params.outdir}/${params.mode}/${meta.id}/taxonomy" }, | ||
| mode: params.publish_dir_mode, | ||
|
|
@@ -67,7 +68,7 @@ process { | |
| ] | ||
| } | ||
|
|
||
| withName: 'RENAME_FASTA_FOR_CATPACK|CAT_DB_UNTAR' { | ||
| withName: 'RENAME_FASTA_FOR_CATPACK|CAT_DB_UNTAR|DB_UNTAR' { | ||
| publishDir = [ | ||
| enabled: false | ||
| ] | ||
|
|
@@ -86,6 +87,7 @@ process { | |
| } | ||
|
|
||
| withName: 'TRNASCANSE' { | ||
| ext.args = { [euk: '-E', arc: '-A', bac: '-B'].get(meta.domain, '-G') } | ||
|
Contributor
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. What is -G?
Collaborator
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. Without @Ge94
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. |
||
| publishDir = [ | ||
| path: { "${params.outdir}/${params.mode}/${meta.id}/rna/trnascanse" }, | ||
| mode: params.publish_dir_mode, | ||
|
|
@@ -103,6 +105,39 @@ process { | |
| // GENOME QUALITY ASSESSMENT SUBWORKFLOW | ||
| // | ||
|
|
||
| withName: BUSCO_BUSCO { | ||
| tag = { "${meta.domain}-${meta.id}" } | ||
| ext.args = params.busco_db ? '--offline' : '' | ||
| publishDir = [ | ||
| [ | ||
| path: { "${params.outdir}/${params.mode}/${meta.id}/busco/${meta.domain}-${meta.id}" }, | ||
| mode: params.publish_dir_mode, | ||
| pattern: "*{.txt,.json,.log}", | ||
| ], | ||
| [ | ||
| path: { "${params.outdir}/${params.mode}/${meta.id}/busco" }, | ||
| mode: params.publish_dir_mode, | ||
| overwrite: false, | ||
| pattern: "busco_downloads/lineages/*", | ||
| enabled: params.save_busco_db, | ||
| ], | ||
| ] | ||
| } | ||
|
|
||
| withName: 'EUKCC_SINGLE' { | ||
| publishDir = [ | ||
| path: { "${params.outdir}/${params.mode}/${meta.id}/eukcc" }, | ||
| mode: params.publish_dir_mode, | ||
| pattern: "*_eukcc_results/eukcc.tsv", | ||
| ] | ||
| } | ||
|
|
||
| withName: 'GUNZIP_FASTA' { | ||
| publishDir = [ | ||
| enabled: false | ||
| ] | ||
| } | ||
|
|
||
| withName: 'CHECKM2_PREDICT' { | ||
| publishDir = [ | ||
| path: { "${params.outdir}/${params.mode}/${meta.id}/checkm2" }, | ||
|
|
||

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.
Ouch, I wonder if this can cause weird-looking metadata 🤔
Probably not, because the only case when we append is when eukcc is calculated in addition to busco, right?
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.
or it can be the case when user has
completenessand specified thetool, but nocontamination. We will have to calculate contamination and basically leave both tools in metadata