-
Notifications
You must be signed in to change notification settings - Fork 0
Run Automatically Docker
Saulo edited this page Apr 13, 2016
·
4 revisions
#Automatically - Docker Cnidaria can be run completely automatically using the Make system.
mkdir data
2. Create one folder to each of your samples. The name of the sample will be the name of the folder. be wise.
mkdir data/sample1 && cp <YOUR ORIGINAL DATA FOLDER 1>/*.fastq.gz data/sample1/
mkdir data/sample2 && cp <YOUR ORIGINAL DATA FOLDER 2>/*.fastq.gz data/sample2/
- The extensions allowed are
.fq.gz .fastq.gz .fastq .fasta.gz .fa.gz .fasta .fa
The command to be run inside the virtual machine
#!/bin/bash
set -xeu
make
Caller of do.sh
#!/bin/bash
set -xeu
docker run --rm -it --name cnidaria_running -v $PWD/data:/home/cnidaria/cnidaria/data/data -v $PWD/out:/home/cnidaria/cnidaria/data/out sauloal/cnidaria_full data/do.sh
clean all files
#!/bin/bash
set -xeu
rm data/*/*.{jf,timming} || true
find data/ -type d -exec chmod 777 {} \;
rm -rf out || true
mkdir out || true
chmod 777 out
bash clean.sh
5. change data/do.sh for different outputs (Check Automatically for options)
bash run.sh
This project is maintained by sauloal
<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script> <script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-5291039-10"); pageTracker._trackPageview(); } catch(err) {}</script>