Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Nei-Saitou neighbor-joining algorithm for phylogeny construction/inference. Neighbor joining is a bottom-up (agglomerative) clustering method for the creation of phylogenetic/evolutionary trees.

NotificationsYou must be signed in to change notification settings

anicksaha/neighbor_joining

Repository files navigation

Nei-Saitouneighbor-joining algorithm for phylogeny construction.

Prereq:

  • Python 2.7
  • R, Packages - “ape” and “RColorBrewer”
  • install.packages(c('ape','RColorBrewer'))

How to Run?

  • python main.py hw3.fna

This generates the following files:

  1. genetic_distances.txt
  2. edges.txt
  3. tree.txt
  4. bootstrap.txt

All the above files are in the foldersubmission.

Visualize

For visualization:

  • Rscript scripts/hw3-plot-newick.r tree.txt hw3-tip-labels.txt
  • Rscript scripts/hw3-plot-edges.r edges.txt hw3-tip-labels.txt

For bonus visualization:

  • Rscript scripts/hw3-plot-edges.r edges.txt hw3-tip-labels.txt bootstrap.txt

About

Nei-Saitou neighbor-joining algorithm for phylogeny construction/inference. Neighbor joining is a bottom-up (agglomerative) clustering method for the creation of phylogenetic/evolutionary trees.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp