Giter Site home page Giter Site logo

fastz-release's Introduction

FastZ: Accelerating Gapped Whole GenomeAlignment on GPUs

This repo contains a proof of concept integration of FastZ with LASTZ version 1.04.06.

Software Requirements

  • nvidia cuda-toolkit 11.0
  • cmake 3.8 or higher
  • gcc and g++ 5.0 or higher
  • python3

Running

This code has only been tested on the plus strand using segment files that have been extracted from LASTZ.

    make
    ./lastz ce11_chrIV.fa cb4_chrIV.fa --gapped --nogfextend --strand=plus --segments=chr4_first_two_mill_seed_subset --format=maf --output=chr4_first_two_mill_seed_subset.maf
    python3 postprocess.py -i chr4_first_two_mill_seed_subset.maf

Output

FastZ currently only supports maf files. An example maf file is included named chr4_first_two_mill_seed_subset.maf.

An opensource interactive software called Gmaj can be used to view the output files.

A preview of the sample maf file is as below.

drawing

Parameters

Currently there are a defines in the src file FastZ.h which control various aspects of the code.

Important ones include.

MAXPROBSIZE - Largest alignment length observed across benchmarks, defaut = 30720
INSPSTREAMS - Number of streams across which the inspector kernel is launched, default = 32
INSTHREADS - Number of threads per inspector kernel launch, default = 128
INSPMEM - Float defining global memory for inspector, default 2.0 GB

Navigating the code

The following tree shows the folder and file structures for the standalone implementation.

├── LICENSE
├── README.md
└── fastz
    └── src
        ├── --default lastz src--
        ├── *.fa     # test fasta files
        ├── ce11_chrIV.fa     # example input fasta files
        ├── cb4_chrIV.fa      # example input fasta files
        ├── chr4_first_two_mill_seed_subset.maf # example output file
        ├── FastZ.h
        ├── FastZ.cu
        └── postprocess.py # post process script on the maf file

Citing FastZ

Sree Charan Gundabolu, T. N. Vijaykumar, and Mithuna Thottethodi. 2021. FastZ: accelerating gapped whole genome alignment on GPUs. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC '21). Association for Computing Machinery, New York, NY, USA, Article 8, 1–13. https://doi.org/10.1145/3458817.3476202

fastz-release's People

Contributors

181charan 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.