snp-dists
Link to section 'Introduction' of 'snp-dists' Introduction
Snp-dists is a tool to convert a FASTA alignment to SNP distance matrix.
Docker hub: https://hub.docker.com/r/staphb/snp-dists
Home page: https://github.com/tseemann/snp-dists
Link to section 'Versions' of 'snp-dists' Versions
- 0.8.2
Link to section 'Commands' of 'snp-dists' Commands
- snp-dists
Link to section 'Module' of 'snp-dists' Module
You can load the modules by:
module load biocontainers
module load snp-dists
Link to section 'Example job' of 'snp-dists' Example job
Using #!/bin/sh -l
as shebang in the slurm job script will cause the failure of some biocontainer modules. Please use #!/bin/bash
instead.
To run snp-dists on our clusters:
#!/bin/bash
#SBATCH -A myallocation # Allocation name
#SBATCH -t 1:00:00
#SBATCH -N 1
#SBATCH -n 1
#SBATCH --job-name=snp-dists
#SBATCH --mail-type=FAIL,BEGIN,END
#SBATCH --error=%x-%J-%u.err
#SBATCH --output=%x-%J-%u.out
module --force purge
ml biocontainers snp-dists
snp-dists test/good.aln > distances.tab