https://github.com/apetkau/mab_mabscessus

The MAB MLST Scheme for Mycobacterium absecssus

https://github.com/apetkau/mab_mabscessus

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

The MAB MLST Scheme for Mycobacterium absecssus

Basic Info
  • Host: GitHub
  • Owner: apetkau
  • License: apache-2.0
  • Default Branch: master
  • Homepage:
  • Size: 255 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of mwuzinski/mab_mabscessus
Created over 6 years ago · Last pushed over 6 years ago

https://github.com/apetkau/mab_mabscessus/blob/master/

# MAB MLST Scheme for Mycobacterium absecssus

This repository contains a novel 15 gene MLST scheme for *Mycobacterium absecssus*.

# Citation

> Wuzinski M, Bak AK, Petkau A, Demczuk WH, Soualhine H, Sharma MK. [A multilocus sequence typing scheme for Mycobacteriumabscessus complex (MABmultilocus sequence typing) using wholegenome sequencing data](http://www.ijmyco.org/tocd.asp?2019/8/3/273/266485/0). *Int J Mycobacteriol* 2019;8:27380. doi:[10.4103/ijmy.ijmy_106_19](https://doi.org/10.4103/ijmy.ijmy_106_19).

# Usage

Please see the [Installation][installation] instructions below for how to get this scheme setup before continuing with the below steps.

## Command-line MLST

To use this scheme with the [mlst][] software, please do the following.

```bash
mlst --scheme mab_mabscessus input/*.fasta > output.txt
```

You will likely have to set the scheme explicitly `--scheme mab_mabscessus` as other schemes in PubMLST may match your input files. The final output file will look something like:

```
input/SRR6388757.fasta  mab_mabscessus  49  hsp(1)  erm(1)   rrl(1)  rrs(1)  arr(8)  argH(4)  cya(5)  gnd(1)  murC(2)  pta(10)  purH(2)  rpoB(1)  gyrA(8)   gyrB(7)   recA(9)
input/SRR6388758.fasta  mab_mabscessus  43  hsp(1)  erm(14)  rrl(1)  rrs(1)  arr(6)  argH(1)  cya(4)  gnd(3)  murC(2)  pta(2)   purH(4)  rpoB(1)  gyrA(15)  gyrB(14)  recA(1)
```

See the [Installation][installation] documentation below for how to get this scheme installed.

## Galaxy

To use this scheme with [Galaxy][galaxy] and the [Galaxy MLST Tool][galaxy-mlst]  please set the scheme to `mab_mabscessus` and run the tool on your genomes.

1. Running the Tool

    ![galaxy-mlst-tool.png][]

2. Output

    ![galaxy-output.png][]

# Installation

## Command-line MLST

To use with Torsten's [mlst][] software please copy the contents of this repository to to `db/pubmlst/` and run `mlst/scripts/mlst-make_blast_db` (see instructions at ). The scheme will be named **mab_mabsecssus** in the `mlst` software.

### Finding the `db/pubmlst/` directory

To find the `db/pubmlst/` directory you can run `mlst --help` and look for the information on the **--datadir** option. For example:

```
mlst --help
...
PATHS
  --blastdb [X]     BLAST database (default '/home/CSCScience.ca/apetkau/miniconda3/envs/mlst/db/blast/mlst.fa')
  --datadir [X]     PubMLST data (default '/home/CSCScience.ca/apetkau/miniconda3/envs/mlst/db/pubmlst')
```

Here, I can see that the full path to `db/pubmlst` directory is `/home/CSCScience.ca/apetkau/miniconda3/envs/mlst/db/pubmlst`.

### Installing the scheme

Once you've found the full path to `db/pubmlst` you can install the scheme with the following commands:

```bash
cd db/pubmlst/

git clone https://github.com/phac-nml/mab_mabscessus.git

../../scripts/mlst-make_blast_db
```

You can verify it's installed by running:

```bash
mlst --longlist|grep mab_mabscessus
mab_mabscessus  hsp     erm     rrl     rrs     arr     argH    cya     gnd     murC    pta     purH    rpoB    gyrA    gyrB    recA
```

## Galaxy

To make use of this scheme using the [Galaxy][galaxy] version of the MLST tool you can do the following.

### 1. Install MLST in Galaxy

Please install the [Galaxy MLST Tool][galaxy-mlst] in Galaxy.

### 2. Install this MLST scheme

To install a new MLST scheme you will have to find the location that the MLST tool is installed using [conda][] by Galaxy. By default, the Galaxy version of conda is in `galaxy/database/dependencies/_conda` (if this does not exist, please check the `galaxy/config/galaxy.yml` file for the location of conda).

Once you've found this directory, please first add the `conda` binary to your `PATH` and activate the `conda` environment containing MLST.

```bash
cd /path/to/galaxy/_conda/bin

# add bin/ directory to PATH containing conda
export PATH=`pwd`:$PATH

# Activate __mlst@2.15.1 environment (or whichever version got installed by Galaxy)
source activate __mlst@2.15.1
```

Now, change to the `db/pubmlst` directory that got installed by conda for the `mlst` program.

```bash
# cd to __mlst@2.15.1 or whichever version is installed in Galaxy
cd /path/to/galaxy/_conda/envs/__mlst@2.15.1/db/pubmlst
```

Now, you can install the MLST scheme:

```bash
git clone https://github.com/phac-nml/mab_mabscessus.git

# Make the new BLAST databases
../../scripts/mlst-make_blast_db
```

### 3. Verify scheme is installed

To verify the scheme is installed you can run the Galaxy **MLST List** tool:

![galaxy-mlst-list.png][]

You should see **mab_mabscessus** in the output if it is properly installed.

[installation]: #installation
[mlst]: https://github.com/tseemann/mlst
[conda]: https://bioconda.github.io/
[galaxy]: https://galaxyproject.org/
[galaxy-mlst]: https://toolshed.g2.bx.psu.edu/view/iuc/mlst/1f5641a52664
[galaxy-mlst-list.png]: doc/images/galaxy-mlst-list.png
[galaxy-mlst-tool.png]: doc/images/galaxy-mlst-tools.png
[galaxy-output.png]: doc/images/galaxy-output.png

Owner

  • Name: Aaron Petkau
  • Login: apetkau
  • Kind: user
  • Company: Public Health Agency of Canada

Bioinformatician with the Public Health Agency of Canada.

GitHub Events

Total
Last Year