Read more about mintyper here:
https://academic.oup.com/biomethods/article/6/1/bpab008/6243723
Mintyper is a tool designed to quickly estimate a distance matrix from a set of input sequencing reads. It can take both short read from Illumina's sequencing platforms and long reads from Oxford Nanopore's platform.
Mintyper requires the following dependencies:
git clone https://github.com/mbhallgren/mintyper
cd mintyper
conda env create -f environment.yml -n mintyper
conda activate mintyper
git clone https://github.com/MBHallgren/MINTyper.git
cd mintyper
python3 scripts/install_dependencies.py
The easiest way to install mintyper is using pip:
pip install mintyper
git clone https://github.com/MBHallgren/MINTyper.git
cd mintyper
python3 setup.py install
Mintyper provides two options: Either the user can give a single fasta file as reference sequence by using the -ref argument, or a whole KMA indexed database can be used with the -db argument.
A guide for indexing a given database correctly can be found at https://bitbucket.org/genomicepidemiology/kma/src/master/
A database of complete bacterial genomes can be downloaded with:
wget https://cge.food.dtu.dk/services/MINTyper/bac_species_db.tar.gz .
mintyper --illumina /path/to/illlumina_files/* --nanopore /path/to/nanopore_files/* --db /path/to/database --output output_folder_name
The output consists of a distance matrix in relaxed phylip format (distmatrix.phy), a list of template candidates (Template_kma_results.spa), the chosen template sequence (template_sequence.fasta), the combined VCF file of all analyzed reads (Combined.vcf.gz), a newick file of the generated phylogenetic tree (outtree.newick), a cluster file (Optional, only outputted if -cluster_length > 0) and a logfile. Additionally, a data folder containing the consensus sequences, the individual VCFs and alignment files is created.
Copyright (c) 2021, Malte Hallgren, Technical University of Denmark All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
As of April 2023 IQtree and FastTree are no longer supported automatically. If you wish to use these programs, please install them manually and use the multiple alignment as input.