-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix unite urls #766
Fix unite urls #766
Conversation
|
Great! |
I did, but only with |
Thats also a mystery to me, I can look into that, but unfortunately not immediately. |
See Slack message. |
modules/local/qiime2_ancom_tax.nf
Outdated
@@ -43,7 +43,7 @@ process QIIME2_ANCOM_TAX { | |||
--to-tsv | |||
|
|||
if [ \$(grep -v '^#' -c ${table.baseName}-level-${taxlevel}.feature-table.tsv) -lt 2 ]; then | |||
echo ${taxlevel} > ancom/\"WARNING Summing your data at taxonomic level ${taxlevel} produced less than two rows (taxa), ANCOM can't proceed -- did you specify a bad reference taxonomy?\".txt | |||
echo ${taxlevel} > ancom/"${table.baseName}_WARNING_Summing_your_data_at_taxonomic_level_${taxlevel}_produced_less_than_two_rows_(taxa)_ANCOM_cant_proceed_--_did_you_specify_a_bad_reference_taxonomy.txt" |
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.
Prepending ${table.baseName}
unfortunately defeats its purpose, because the warning wont be picked up by
QIIME2_ANCOM_TAX.out.ancom.subscribe { if ( it.baseName[0].toString().startsWith("WARNING") ) log.warn it.baseName[0].toString().replace("WARNING ","QIIME2_ANCOM_TAX: ") } |
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.
Right, I'll put it after the WARNING
.
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.
it.baseName[0].toString().replace("WARNING ","QIIME2_ANCOM_TAX: ")
will still not work, because its now WARNING_
instead of WARNING
(mind the space), correct? Other than that the PR seem fine to me.
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.
OK, I reverted most of this, just keeping the table.baseName
in the filename. (I don't think we have a test case for this any more, since I corrected the Sintax urls.)
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.
Great, thanks!
@nf-core-bot fix linting |
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).Urls for Unite databases updated, plus addition of some newly released versions.
I added a test for ITS sequences with DADA taxonomy, but they take a lot of memory so I didn't add to what's automatically run.