-
Notifications
You must be signed in to change notification settings - Fork 953
Update amulety modules #9674
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: master
Are you sure you want to change the base?
Update amulety modules #9674
Conversation
Joon-Klaps
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.
There are some rules on deprecating modules. https://nf-co.re/docs/guidelines/components/module_deprecation
Think it might be better to make a amulety2? What do you think?
|
Ah thanks, I wasn't aware of this. I don't think it's needed to use AMULETY2, since the deprecated commands are no longer available. Instead of deleting the old modules I will deprecate them. |
|
Hi @Joon-Klaps I've deprecated the old modules now instead of just removing them. Let me know if the PR now looks good to you when you have a minute |
Joon-Klaps
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.
Minor suggestions, everything else looks good to me!
| - chain: | ||
| type: string | ||
| description: | | ||
| The chain to use for the embeddings. Can be either 'H' (high diversity chain: BCR heavy or TCR beta or delta), | ||
| 'L' (low diversity chain: BCR light or TCR alpha or gamma) or 'HL' (BCR heavy + light, and TCR alpha + beta or gamma + delta). |
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.
| - chain: | |
| type: string | |
| description: | | |
| The chain to use for the embeddings. Can be either 'H' (high diversity chain: BCR heavy or TCR beta or delta), | |
| 'L' (low diversity chain: BCR light or TCR alpha or gamma) or 'HL' (BCR heavy + light, and TCR alpha + beta or gamma + delta). | |
| - chain: | |
| type: string | |
| description: | | |
| The chain to use for the embeddings. Can be either 'H' (high diversity chain: BCR heavy or TCR beta or delta), | |
| 'L' (low diversity chain: BCR light or TCR alpha or gamma) or 'HL' (BCR heavy + light, and TCR alpha + beta or gamma + delta). | |
| enum: ['L', 'H', 'HL'] |
| type: file | ||
| description: TSV with embeddings of BCR or TCR amino acid sequences. | ||
| pattern: "*.tsv" | ||
|
|
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.
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
| def prefix = task.ext.prefix ?: "${meta.id}" |
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.
You don't suspect a filename clash, as both input and output files are tsv files? If so, here is the suggestion
| def prefix = task.ext.prefix ?: "${meta.id}" | |
| def prefix = task.ext.prefix ?: "${meta.id}" | |
| if ("${tsv}" == "${prefix}.tsv") error "Input and output names are the same, use \"task.ext.prefix\" to disambiguate!" | |
| """ | ||
|
|
||
| stub: | ||
| def prefix = task.ext.prefix ?: "${meta.id}" |
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.
| def prefix = task.ext.prefix ?: "${meta.id}" | |
| def prefix = task.ext.prefix ?: "${meta.id}" | |
| if ("${input}" == "${prefix}") error "Input and output names are the same, use \"task.ext.prefix\" to disambiguate!" | |
Update amulety modules: in amulety>=2.0 the command syntax and subcommands have changed and I updated the nf-core modules are accordingly.