Comments (2)
Hi Alan,
Sorry that you are running into trouble. That docker image can't easily be used in that way, sadly--it's meant only to distribute our binary non-Python dependencies (because they can be a colossal pain to compile).
The way it's meant to be run is to install the python bits of Cactus in a virtual environment (e.g. pip install --upgrade .; pip install toil
, but see the README for details), then run Cactus from there. That Python pipeline will then create a new Singularity/Docker container any time it needs to run one of our C/C++ binaries. (If that sounds a bit strange and convoluted, well, it totally is--but virtually 100% of our use cases require running on a large cluster of some sort, coordinated by the Python bits, and the Docker isolation would often royally mess up the interaction between the Python coordinator and the batch system.)
That said, nothing would prevent creating a Docker container that contains the Python code as well, which would basically just involve following the steps from the README within the Dockerfile. If you really do need to run everything within a single Docker container, I'd be happy to help you with creating that type of image.
from cactus.
Thanks, Joel. That really cleared things up; I was able to run the example to completion.
When the README mentioned Docker, I (falsely) assumed the image contained the virtual environment. Reading it again, it makes so much more sense now! Anyways, all's well that ends well; I still didn't have to build the binaries, which is what I was really trying to accomplish.
from cactus.
Related Issues (20)
- How to keep large AMBIGUOUS contig in pangenome graph HOT 3
- The accelerator {'count': 1, 'kind': 'gpu', 'api': 'cuda', 'brand': 'nvidia'} could not be provided (Singularity container ) HOT 3
- Running the docker image in Singularity HOT 1
- Why it seems lastz works only use one core HOT 2
- RuntimeError: can't start new thread HOT 9
- Adjusting config.xml to allow multifurcations HOT 4
- Question about final gfa files from Minigraph-Cactus HOT 1
- system-specified memory limit or not? HOT 4
- vcf-bubwave does not raise error when it fails HOT 17
- Good practice for Reference-Mapped Short Read Genomes? HOT 2
- raise RuntimeError("{}Command {} exited {}: {}".format(sigill_msg, call, process.returncode, out)) HOT 2
- vcf location problem in Minigraph catus HOT 1
- ValueError in redMasking.py due to invalid literal for int() with base 10 HOT 2
- How to find halLiftover from cactus install? HOT 1
- maybe the "path" do not exist in the gfa ?
- Large variation in run time and data recovery of cactus-hal2maf when switching reference genomes HOT 1
- Cactus-pangenome fails at make_vcf step only on real data HOT 3
- create phylogenetic tree with the alignment maf format HOT 7
- Multiple fasta input, single sample in vcf HOT 2
- Long Running Time and High Memory Consumption for `paffy` in `cactus-blast` HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cactus.