misa

mixed sample analysis

https://github.com/balabanmetin/misa

Science Score: 23.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 8 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    3 of 6 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

mixed sample analysis

Basic Info
  • Host: GitHub
  • Owner: balabanmetin
  • Language: Python
  • Default Branch: master
  • Size: 90.8 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md


Summary

MISA stands for MIxed Sample Analysis tool and addresses the problem of phylogenetic double placement of mix (of two) DNA sequences into an already existing reference tree. MISA is a command-line tool and it can run on Linux, Mac OSX, and Windows.


Publication


Requirements

  1. Python: Version >= 3.0

Installation on Linux, Mac OSX, or Windows

Install MISA using the following command in the command-line:

pip install misa


Getting Started with MISA

For listing all options, run the following command:

run_misa.py -h


Input & Output Specification

Input reference (backbone) tree must be in newick format. MISA can perform placements based on a distance table. Distance table between the query and reference sequences can be computed using https://github.com/shahab-sarmashghi/Skmer. These distances can be based on assemblies or unassembled bag of reads (genome skims).

Input a distance matrix

The format for distance matrix is a tab delimited csv file with column and row headers. Rows should represent query sequences and columns should represent reference sequences. You can find an example reference dataset with backbone phylogenetic tree under data/backbone.nwk and distance matrix for one query mixed sequence under data/dist.mat. After cloning this repository, you can run MISA on the example distance matrix and backbone tree by running the following command:

run_misa.py -d <path_to_this_repo>/data/dist.mat -t <path_to_this_repo>/data/backbone.nwk

Output

Output is a jplace file containing placement results for all queries. For more information about jplace files, please refer to Matsen et. al. (2012) https://doi.org/10.1371/journal.pone.0031009. The output file can be specified using -o command. When output file is not specified, the result will be printed to the standard output.

! IMPORTANT NOTE !

Backbone tree provided to MISA has to have its branch lengths estimated using a distance based method such as minimum evolution. This is a requirement for getting good results. We recommend FastTree2 for re-estimating branch lengths if the backbone tree is estimated using Maximum Likelihood based methods (e.g. RAxML, PASTA). Until we support re-estimation of branch lengths within MISA, we are expecting the user to run the following FastTree2 command explicitly before performing any placement:

FastTreeMP -nosupport -nt -nome -noml -log tree.log -intree backbone.nwk < ref.fa > minimum_evo_backbone.nwk

Then perform placement on the new tree:

run_misa.py -d dist.mat -t minimum_evo_backbone.nwk


(Alternative) Installation from github

If you want to install MISA from the github repository, MISA has the following dependencies which can be retrieved from pip:

  1. treeswift
  2. numpy
  3. scipy

To install a dependency, for example scipy, run pip3 install scipy.

Clone the repository and change directory:

git clone https://github.com/balabanmetin/misa.git && cd misa


Data resources used in the publication

The data used in our publication is available on GitHub https://github.com/balabanmetin/misa-data

Owner

  • Login: balabanmetin
  • Kind: user

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 29
  • Total Committers: 6
  • Avg Commits per committer: 4.833
  • Development Distribution Score (DDS): 0.69
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Metin Balaban b****n@t****u 9
Metin Balaban m****n@M****m 7
Metin Balaban m****n@M****l 6
Metin Balaban m****a@c****r 3
Metin Balaban m****n@w****u 2
balabanmetin b****n@u****u 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • smirarab (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 36 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 1
  • Total maintainers: 1
pypi.org: misa

MISA: a mixed samples analysis tool

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 36 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Stargazers count: 25.0%
Average: 29.6%
Forks count: 29.8%
Downloads: 61.7%
Maintainers (1)
Last synced: 11 months ago

Dependencies

setup.py pypi
  • numpy *
  • scipy *
  • treeswift *