Python Virtual Environments#
We recommend you use virtual enviornments packages inside the standard library to manage your dependencies. This can be done using the following commands :
1. module load compiler/anaconda3
2. python -m venv <ENV_NAME>
3. source <ENV_NAME>/bin/activate
4. pip install <PACKAGENAME>
This allows you to efficiently manage, and version control the python based packages you are using inside your user space.
Currently, we provide a script to set-up your python environment for BIC(Indel-classification tasks related to Biology).
The BIC script allows you to setup a python environment with all the required packages for your BIC workflow.
In order to set-up the environment, run the bash script from your terminal using command .\storage\bic.sh
; you'll have to stay at your system in order to provide permissions
for every package being installed.
In rare cases, some packages might fail to install due to change in conda repositories. You can either try manually installing these packages via conda
or pip
via the commands below
or get in touch with us. Currently the script installs following packages:
-
Snakemake: conda install -c bioconda snakemake
2.
#Nextflow: wget https://github.com/nextflow-io/nextflow/releases/download/v22.04.4/nextflow chmod +x nextflow
-
Bamtools: conda install -c bioconda bamtools
Bcftools: conda install -c bioconda bcftools
Barrnap: conda install -c barrnap
Bedtools: conda install -c bioconda bedtools
Bowtie2: conda install -c bioconda bowtie2
Bwa: conda install -c bioconda bwa
Cap3: conda install -c bioconda cap3
Cd-hit: conda install -c bioconda cd-hit
Circus: conda install -c conda-forge circus
Clustalw: conda install -c bioconda clustalw
Cufflinks: pip install cufflinks
Fasta3: conda install -c bioconda fasta3
Blast: conda install -c bioconda blast
Orfipy: conda install -c bioconda orfipy
Perl: conda install -c conda-forge perl
Pfam_scan: conda install -c bioconda pfam_scan
Plink: conda install -c bioconda plink
Fastqc: conda install -c bioconda fastqc
HiSat2: conda install -c bioconda hisat2
Hmmer: conda install -c bioconda/label/cf201901 hmmer
Kmergenie: conda install -c bioconda kmergenie
Quast: conda install -c bioconda quast
R: conda install -c conda-forge r
Repeatmasker: conda install -c bioconda repeatmasker
Rmblast: conda install -c bioconda rmblast
Rsem: conda install -c bioconda rsem
Samtools: conda install -c bioconda samtools
SeqKit: conda install -c bioconda seqkit
Saopaligner: conda install -c bioconda soapaligner
Soapdenovo2: conda install -c bioconda soapdenovo2
Sortmerna: conda install -c bioconda sortmerna
Spades: conda install -c bioconda spades
Sra-tools: conda install -c bioconda sra-tools
StringTie: conda install -c bioconda stringtie
Structure: conda install -c bioconda structure
Jellyfish: conda install -c conda-forge jellyfish
Trimmomatic: conda install -c bioconda trimmomatic
Trinity: conda install -c bioconda trinity
Velvet: conda install -c bioconda velvet
VcfTools: conda install -c bioconda vcftools
Megahit: conda install -c bioconda megahit
Diamond: conda install -c bioconda diamond
QuickMerge: conda install -c conda-forge -c bioconda quickmerge
OR:
git clone https://github.com/mahulchak/quickmerge cd quickmerge bash make_merger.sh cd .. username=$(whoami) export PATH=/home/$username/quickmerge:/home/$username/quickmerge/MUMmer3.23:$PATH
46.
#VCF2CNA: git clone https://github.com/XCLab/VCF2CNA cd VCF2CNA bash extract.sh
Note : Remember to activate the virtual environment inside your job.sh file submitted to qsub.