grape-nf icon indicating copy to clipboard operation
grape-nf copied to clipboard

Enhancement: bioconda?

Open karl616 opened this issue 7 years ago • 2 comments

Hi, I spent some time adding missing software versions to bioconda, which I have learned to know as an easy way to set up/install bioinoformatic software. I'm still running tests, but I think it seems to work just fine.

  1. If you want I can provide an environment file
  2. If yes, I still have to add the legacy versions of kentUtils and wanted to ask which tools are used. I have identified bedGraphToBigWig, gtfToGenePred and genePredToBed. Did I miss any?

All recipes provided by bioconda is also provided as docker/singularity containers through biocontainers. There are also possibilities to generate multitool containers. Not sure if it is interesting, but it would relieve you of providing the docker images.

karl616 avatar Mar 09 '18 13:03 karl616

Hi Karl,

I am sorry for the late reply but I did not see this message at all...

Your proposal sounds interesting, even more since there are plans to directly support bioconda in Nextflow (nextflow-io/nextflow#493).

For now we could test by using this workaround.

I would really appreciate if you share the bioconda environment file. About kentUtils, I can confirm the required tools are the ones you identified (BTW, at some point only bedGraphToBigWig will be needed).

Thanks

emi80 avatar Apr 06 '18 09:04 emi80

Yes, that looks very interesting.

For now we could test by using this workaround.

I think that is what I'm doing momentarily:

~/miniconda2/bin/conda create env -f grape-nf_environment.yaml.gz source ~/miniconda2/bin/activate grape-nf nextflow run -qs 1 -without-docker -w $outputFolder/work grape-nf --index $outputFolder/readIndex.tsv --genome $genomeFasta --annotation $transcriptAnnotation --steps mapping,bigwig,quantification --genomeIndex $genomeIndex $extraOptions source ~/miniconda2/bin/deactivate

This works with the attached environment:

grape-nf_environment.yaml.gz

This is a complete environment with all dependencies. Secondly, I wasn't able to add gtfToGenePred and genePredToBed with the correct versions. I tried to add them to bioconda, but get a compile error I'm not able to solve. The environment also contains nextflow; something that could also be put to question. Either how, it is a place to start.

karl616 avatar Apr 10 '18 07:04 karl616