Coder Social home page Coder Social logo

etetools's Introduction

EteTools

This is a simple tool I've written to parse output from ETE3 evol and write summary CSV files. The tools uses BioPython to interface with the CodeML output files. Calculation of the LRT statistic has been based off the method used in the ETE3 evol software.

Required python modules

The tools requires the following non-standard python libraries.

How to use

EteTools has been designed to be used in a custom Nextflow pipeline, but can work on any output directory generated by ete evol. The tool parses the CodeML output file in each model directory to get key information. It then uses this information to:

  • Perform LRT statistics for all valid comparisons (comparisons the same as those from ETE3 evol)
  • Create concatenated summary tables for each model type
  • Report the sites under selection (BEB >= 0.99)

For usage examples, simply call the help page:

usage: eteTools.py [-h] [-m [MODELS ...]] /path/to/input /path/to/outdir

    # -------------------------------------------------------- #
    #                ETE3 Evol output-to-table                 #
    # -------------------------------------------------------- #

    This is a simple script that parses the output of ETE3 evol
    and returns a series of informative tables. This tool
    provides a little more flexibility than just using the std-
    out from the ETE3 evol tool.

    ------------------------------------------------------------


positional arguments:
  /path/to/input        Directory path to ETE3 evol results
  /path/to/outdir       Pipeline output directory

options:
  -h, --help            show this help message and exit

    Code written by Alastair J. Ludington
    University of Adelaide
    2022

Nextflow pipeline

I've implemented this tool in my nextflow pipeline that can be found here

etetools's People

Contributors

a-lud avatar

Watchers

 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.