Comments (3)
It's the same issue with RepeatModeler
singularity exec instance://repeatmodeler RepeatModeler -database ${SPECIES} -pa ${SLURM_CPUS_ON_NODE} -LTRStruct
from tetools.
Describe the bug
Hi,I cannot change the default output directory when mounting the image in singularity. It will always write to home. There should be an option to specify the output directory and/or the working directory. LOCAL is the local scratch directory. Even though I specifically try to overide the home directory, it will always write to the home directory. Please advice
This doesn't sound right: by default, BuildDatabase
and RepeatModeler
should both write their output to the current working directory.
To Reproduce
CWD=$(pwd) cp repeatmodeler.sif ${LOCAL} cp ${MYFASTA} ${LOCAL} cd ${LOCAL} export HOME=${LOCAL} HOME=${LOCAL} MOUNTDIR=/data singularity instance start --bind $(pwd):${MOUNTDIR} repeatmodeler.sif repeatmodeler SPECIES=myspecies singularity exec instance://repeatmodeler export HOME=${MOUNTDIR} singularity exec instance://repeatmodeler BuildDatabase -name ${SPECIES} ${MOUNTDIR}/$MYFASTA
singularity instance
looks unnecessary for this task since there is no process that needs to be run in the background; is there some other advantage to it? It is difficult for me to follow along and guess which variables or working directories will be set when using instance
, and that singularity exec export
command is incorrect. This simpler script should be able to accomplish the same, without singularity instance
:
cp repeatmodeler.sif ${LOCAL}
cp ${MYFASTA} ${LOCAL}/genome.fa
cd ${LOCAL}
SPECIES=myspecies
singularity exec repeatmodeler.sif BuildDatabase -name ${SPECIES} genome.fa
singularity exec repeatmodeler.sif RepeatModeler -database ${SPECIES} -pa ${SLURM_CPUS_ON_NODE} -LTRStruct
By default singularity exec
should mount the current directory and run the program there, and both BuildDatabase
and RepeatModeler
will write to it. If that doesn't work, for example if you have a different system configuration that doesn't mount the current directory by default, I recommend trying the --bind
, --env
, and/or --pwd
options manually (instead of singularity instance
).
from tetools.
Closing due to inactivity. Please feel free to re-open or open a new issue if you have further problems or questions!
from tetools.
Related Issues (20)
- > The combine is a very confusing place for us. What causes such a deviation?
- Feature request: Make the Docker image multi-platform HOT 8
- forksys: Program terminated by a signal 9. HOT 1
- addRepbase.pl: no such file
- reasonaTE "https://github.com/DerKevinRiehl/transposon_annotation_reasonaTE" HOT 1
- hangup error on round5 of RepeatModeler on singularity sif v1.8, v1.85 HOT 1
- Error running repeatmodeler in container HOT 2
- rmblast does not work in new docker image for TETools 1.86. HOT 2
- error of repeatmasker in container HOT 1
- Docker Image Cannot Run LTRStruct pipeline HOT 1
- Customizing RepeatMasker libraries: Absent HOT 2
- Problems configuring RepeatClasifier on docker. HOT 8
- Request: LTR_retriever update from version 2.9.0 HOT 1
- Bump version to 2.0 HOT 1
- Command line fasta file scaffolds_final.fa does not exist! HOT 2
- famdb.py: command not found HOT 2
- Taxonomy::new() needs a path for a famdb directory! HOT 6
- LTRPipeline : Error - could not open clusters.dat! HOT 2
- RepeatModeler BuildDatabase can not open file
- MAFFT failed while running RepeatModeler
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 tetools.