Note:
ssh $USER@core.cluster.france-bioinformatique.fr
where $USER will be replaced by your username. The password you enter won’t be visible on the the screen, for obvious security reasons. If you register your public ket with core.cluster.france-bioinformatique.fr, no password will be required.
pwd
## /shared/mfs/data/home/cyrildw
#{r setup, include=FALSE} #knitr::opts_chunk$set(echo = TRUE) #
mkdir -p fairbio
Use FileZilla :
core.cluster.france-bioinformatique.fr
.your login
.your password
.22
. Click on Quick connection
Move your smk
and yml
file form your local computer to the fairbio folder on the clusterThe data used for the snakemake tutorial are available on Zenodo. Go to zenodo.org and copy.paste the link. Download the data archive using wget
wget -O FAIR_Bioinfo_data.tar.gz https://zenodo.org/record/3997237/files/FAIR_FAIR_Bioinfo_data.tar.gz?download=1
tar -xzvf FAIR_Bioinfo_data.tar.gz
module load snakemake fastqc bowtie2 samtools subread
srun --cpu=12 snakemake --jobs $SLURM_CPUS_PER_TASK -s ex2_o6.smk --configfile ex2_o1.yml
Drawback : Wait for 12 cores to be available on the same CPU node
rm -r Result Tmp FastQC Logs
snakemake --cluster "sbatch" --jobs=20 -s ex2_o6.smk --configfile ex2_o1.yml
Drawback : no control over workflow execution (you can’t stop it)
Distributed Ressource Managment Application API
rm -r Result Tmp FastQC Logs
snakemake --drmaa --jobs=20 -s ex2_o6.smk --configfile ex2_o1.yml
WorkflowError:
Error loading drmaa support:
Could not find drmaa library. Please specify its full path using the environment variable DRMAA_LIBRARY_PATH
module load slurm-drmaa
echo $DRMAA_LIBRARY_PATH
snakemake --drmaa --jobs=20 -s ex2_o6.smk --configfile ex2_o1.yml
Request an IFB account
https://my.cluster.france-bioinformatique.fr/
Community support
https://community.france-bioinformatique.fr/
Learn SLURM in 5 minutes
https://asciinema.org/a/275233
IFB Core Cluster Documentation