Installing InSilicoSeq¶
Using pip¶
To install InSilicoSeq, type the following in your terminal:
pip3 install InSilicoSeq
It will install InSilicoSeq as well as the following dependencies:
- biopython
- joblib
- numpy
- pysam
- scipy
Other installation options¶
- If you can’t / don’t want to use python3:
pip install InSilicoSeq
- Upgrading InSilicoSeq to the latest version:
pip3 install --upgrade InSilicoSeq
- If you don’t have administration rights on your machine:
pip3 install --user InSilicoSeq
- if you wish to install InSilicoSeq at a custom location (i.e with a module system):
prefix="/path/to/install/prefix"
pip3 install --install-option="--prefix=/$prefix" InSilicoSeq
then add $prefix/bin
to your PATH
, and
$prefix/lib/pythonX.X/site-packages
to your PYTHONPATH
(replacing
pythonX.X with your python version)
Using docker¶
If you wish to use InSilicoSeq using docker
docker pull hadrieng/insilicoseq:1.3.0
To use InSilicoSeq with docker, you need to provide a volume to the docker run
command.
Given with the -v
option, the volume is your way of exchanging data (in this case, your input and output files) with the docker container.
docker run -v /Users/hadrien/data:/mnt/data -it --rm \
hadrieng/insilicoseq:1.3.0 iss generate \
--genomes /mnt/data/genomes.fasta -m miseq \
-o /mnt/data/reads
The above command will mount the local folder /Users/hadrien/data
onto /mnt/data
on the docker side.
The output reads will be located in /Users/hadrien/data
when InSilicoSeq has finished running.