Hi, I have a question regarding test data for the...
# modules
o
Hi, I have a question regarding test data for the pVACseq module I'm working on for nf-core. To test it properly, I need a VEP-annotated VCF using custom plugins . So far, I've tried two options: 1. A custom VCF I created with a single mutation that produces all output channels - this works well. 2. The nf-core test data, but: • The provided
vep_cache
is empty, so VEP annotation technically runs but doesn’t generate meaningful output, so pVACseq also dont produce any output. • I had to write a separate module to download custom VEP plugins. Would it be better to use my working custom VCF or adapt the nf-core test data, knowing it won't produce output? Also, a second question: The tool depends on GitHub packages not available on PyPI, so the
environment.yml
includes:
Copy code
- pip:
    - tensorflow==2.15.1
    - pvactools==5.3.1
    - git+<https://github.com/griffithlab/bigmhc.git#egg=bigmhc>
    - git+<https://github.com/griffithlab/deepimmuno.git#egg=deepimmuno>
    - mhcflurry==2.0.6
What is the recommended way to handle this to comply with nf-core guidelines?
m
For vep, check the current tests, they use the download command in setup to populate vep_cache
For the custom plugins, indeed our current implementation does not handle it for now. I'd be happy to talk more cc @Nicolas Vannieuwkerke
n
It should work if you provide a custom docker container with the plugin in it, right?
m
Interesting idea
o
You are correct, it is possible to download vep cache, however the tool works only for human, so I need human vep cache, which will be 20-30GB just for the test There is existing image for the tool, so it is provided in the module. Should I just not provide conda environment?
m
You can use the wave-cli to build containers for that conda and have it on the Seqera registry
o
Thank you for suggestion, I did not know about this option, I will check it
f
It should be possible to only extract the parts of a vep cache you need for your variants, see https://github.com/nf-core/test-datasets/blob/raredisease/reference/vep_cache_and_plugins.tar.gz for example.
👀 1
s
Do we not have a VEP annotated VCF file in the test-datasets at all? If not, I think adding a small one is fine
o
I looked into
wave-cli
, and since it's a new tool for me, I just wanted to clarify: does it generate containers? I already have a container provided by the tool developers, so I don't need to build a new one. My goal is simply to add support for running the tool via a Conda environment as well
m
Yes, it generates a container ( either docker or singularity depending on settings ), and puts it on a host registry ( the community registry if you use
--freeze
)