-
Notifications
You must be signed in to change notification settings - Fork 954
add nirvana #9633
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?
add nirvana #9633
Conversation
|
LGTM, only fix linter complains :) |
|
Somehow the Singularity container does not work. It has Nirvana not in the path and is missing some dotnet symlink :confused_husky: not sure why, given that both the conda recipe and docker container work |
maxulysse
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.
LGTM
|
I wanted to suggest using the galaxy container, but there is none. Also not on quay. But why is nirvana in bioconda but not quay/galaxy 🤔 |
| input: | ||
| tuple val(meta), path(vcf) | ||
| tuple val(meta2), path(reference) | ||
| tuple val(meta3), path(cache), val(cache_prefix) |
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.
Is the cache_prefix a path or a specific string within the path?
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.
If the data looks like this:
❯ tree
.
├── Cache
│ └── SARS-CoV-2
│ ├── SARS-CoV-2.polyphen.ndb
│ ├── SARS-CoV-2.sift.ndb
│ └── SARS-CoV-2.transcripts.ndb
├── References
│ └── SARS-CoV-2.ASM985889v3.dat
└── SupplementaryAnnotation
└── SARS-CoV-2
├── SARS-COV-2_AllFreq.nsa
├── SARS-COV-2_AllFreq.nsa.idx
├── SARS-COV-2_AllFreq.nsa.schema
├── SARS-CoV-2_ProteinDomains.nsi
└── SARS-CoV-2_ProteinDomains.nsi.schema
then the cache is ./Cache/SARS-CoV-2/ and thecache_prefix is SARS-CoV-2 (here the one that is the prefix of the filename), so it overall is resolved to ./Cache/SARS-CoV-2/SARS-CoV-2.
I am not certain we can enforce people to match the prefix on the actual files with the folder name. I have not seen more Nirvana caches to check how this normally looks like. Alternatively, we could possible stage in the files and somehow extract the cache prefix to build the path, but it feels brittle
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.
Alternatively, we could possible stage in the files and somehow extract the cache prefix to build the path, but it feels brittle
I think we should do this at the workflow level, so I'm fine with this.
Co-authored-by: Adam Talbot <12817534+adamrtalbot@users.noreply.github.com>
requires nf-core/test-datasets#1830
This PR adds Nirvana, an annotation tool developped by Illumina
PR checklist
Closes #XXX
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda