-
Notifications
You must be signed in to change notification settings - Fork 5
Multiple tweaks #13
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
Multiple tweaks #13
Conversation
JoseEspinosa
left a comment
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.
Awesome! 🚀
Only some small questions/suggestions
| @@ -1,5 +1,8 @@ | |||
| #!/usr/bin/env python3 | |||
|
|
|||
| # Written by Igor Trujnara, released under the MIT license | |||
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.
Not sure if this is needed in each single script since the repository already has the MIT license and your attribution could be found in the README
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.
The checklist mentions this, and I saw some pipelines (e.g. rnaseq) do this, so I put those notes there just in case
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.
Fair enough
| TREATMENT_REP3,AEG588A6_S6_L003_R1_001.fastq.gz, | ||
| TREATMENT_REP3,AEG588A6_S6_L004_R1_001.fastq.gz, | ||
| id,query | ||
| BicD2,Q8TD16 |
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.
Maybe show here that is also to provide a path to a FASTA file?
nextflow_schema.json
Outdated
| "fa_icon": "fas fa-database" | ||
| }, | ||
| "use_inspector": { | ||
| "skip_inspector": { |
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 would rename it to --skip_orthoinspector
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.
Renamed, along with other related params. I have not renamed the modules and channels, as they are not user-facing anyway and the names are already long enough. Let me know if this is fine.
| ch_fasta = ch_seqinfo.map { [it[0], []] } | ||
|
|
||
| if(params.skip_downstream) { | ||
| ch_seqhits = ch_seqinfo.map { [it[0], []] } |
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.
Sorry, probably I am missing something but why creating all these empty channels?
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.
These are there to ensure that the channels are populated even if the steps that normally generate them are skipped. If this is not done, the report module will not run with downstream analysis turned off, even partially. Is there a more nf-core-idiomatic way to achieve this?
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
JoseEspinosa
left a comment
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.
Awesome! 🎸
PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.README.mdis updated (including new tool citations and authors/contributors).