Code Monkey home page Code Monkey logo

echinoid_phylogeny's Introduction

Open Educational Resource (OER)

Construct a phylogenetic tree from morphological character data

Target audience: University students (BSc) inn Earth Sciences or Biology

Discipline: Earth sciences, geoscience, Evolutionary biology

Usage

The exercise assumes that you have a character matrix in .xlsx format. The first column are names of taxa. You can run the script in Python/Phylogenetic_tree.py to import this matrix into Python, use scikit-bio to create a tree using the neighbor-joining method and save the tree in the Newick format.

The script assumes that there is a matrix.xlsx file in the same folder as the script, so in Python. You can copy your matrix into that folder and make sure it's called matrix.xlsx or change the path in the script.

The script saves a tree file called tree.newick in the same folder. You can view this filed using many software packages for phylogenetic analyses, as well as online using ETE's TreeViewer.

Running instructions

Option 1: Running in a virtual environment using poetry

Activate the virtual environment by typing the following in your terminal:

poetry install

after that you can type:

poetry run python Python/Phylogenetic_tree.py

*** TBC: add options for users not familiar with venvs ***

How to contribute

If you would like to contribute to this OER, please see CONTRIBUTING.md.

License

Please see LICENSE.md

Author

Emilia Jarochowska
Utrecht University
email: e.b.jarochowska [at] uu.nl
Web page: www.uu.nl/staff/EBJarochowska
ORCID: 0000-0001-8937-9405

Niklas Hohmann
Utrecht University
email: n.h.hohmann [at] uu.nl
Web page: www.uu.nl/staff/NHohmann
ORCID: 0000-0003-1559-1838

Copyright

Copyright 2024 Utrecht University

echinoid_phylogeny's People

Contributors

emiliajarochowska avatar niklashohmann avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.