Git Product home page Git Product logo

plastz's Introduction

PLastZ

Easy to use Parallel Lastz script

Requirements:

  • python 3.x (3.7.7 tested)
  • Biopython
  • samtools
  • lastz

Installation (Bioconda recommended)

conda create -n plastz
conda activate plastz
conda install biopython lastz samtools

Using requirements.txt

conda create -n plastz --file requirements.txt

Quick start

Any alignment:

python PlastZ.py <query> <target> <outdir> --lastz-options <"quoted string"> --processes <INT>

Self-alignments:

python PlastZ.py <query> <query> <outdir> --lastz-options <"quoted string"> --processes <INT>

Exemple:

python PlastZ.py reads.fa reference.fa read_aligned/plastz_out -p 10 \
  -lo="--format=general:ngap,nmismatch,name1,size1,length1,start1,end1,name2,size2,length2,start2,end2,identity"

Warning:

Depending on the output format, multiple headers may be found in the output single alignement file!

Self alignments with Plastz may result differently from the command lastz query\[multiple\] --self

This script only launches many parallel Lastz alignments, using it with many sequences will help improve runtime but is still not as efficient as using another multithreaded software.

plastz's People

Contributors

antoineho avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

georgebgm

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.