Giter VIP home page Giter VIP logo

geco2's Introduction

Conda License: GPL v3

GeCo2

Compress and analyze genomic sequences. As a compression tool, GeCo2 is able to provide additional compression gains over several top specific tools, while as an analysis tool, GeCo2 is able to determine absolute measures, namely for many distance computations, and local measures, such as the information content contained in each element, providing a way to quantify and locate specific genomic events. GeCo2 can afford:
  • reference-free compression
  • referential compression
    • relative compression
    • conditional compression

INSTALLATION

Conda

Install Miniconda, then run the following:

conda install -y -c bioconda geco2

Otherwise, CMake is needed for installation (http://www.cmake.org/). You can download it directly from http://www.cmake.org/cmake/resources/software.html or use an appropriate packet manager. In the following instructions we show the procedure to install, compile and run GeCo2:

STEP 1

Download, install and resolve conflicts.

Linux

#sudo apt-get install cmake git
git clone https://github.com/pratas/geco2.git
cd geco2/src/
cmake .
make

Alternatively, you can install (without cmake and only for linux) using

wget https://github.com/pratas/geco2/archive/master.zip
unzip master.zip
cd geco2-master/src/
mv Makefile.linux Makefile
make

macOS

Install brew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

only if you do not have it. After type:

brew install cmake
brew install wget
brew install gcc48
wget https://github.com/pratas/geco2/archive/master.zip
unzip master.zip
cd geco2-master/src/
cmake .
make

With some versions you might need to create a link to cc or gcc (after the brew install gcc48 command), namely

sudo mv /usr/bin/gcc /usr/bin/gcc-old   # gcc backup
sudo mv /usr/bin/cc /usr/bin/cc-old     # cc backup
sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
sudo ln -s /usr/bin/gcc-4.8 /usr/bin/cc

In some versions, the gcc48 is installed over /usr/local/bin, therefore you might need to substitute the last two commands by the following two:

sudo ln -s /usr/local/bin/gcc-4.8 /usr/bin/gcc
sudo ln -s /usr/local/bin/gcc-4.8 /usr/bin/cc

Windows

In windows use cygwin (https://www.cygwin.com/) and make sure that it is included in the installation: cmake, make, zcat, unzip, wget, tr, grep (and any dependencies). If you install the complete cygwin packet then all these will be installed. After, all steps will be the same as in Linux.

EXECUTION

Run GeCo2

Run GeCo2 using (lazy) level 5:

./GeCo2 -v -l 5 File.seq

PARAMETERS

To see the possible options type

./GeCo2

or

./GeCo2 -h

If you are not interested in setting the template for each model, then use the levels mode. To see the possible levels type:

./GeCo2 -s

CITATION

On using this software/method please cite:

Pratas, Diogo, Morteza Hosseini, and Armando J. Pinho. "GeCo2: An Optimized Tool for Lossless Compression and Analysis of DNA Sequences." International Conference on Practical Applications of Computational Biology & Bioinformatics. Springer, Cham, 2019.

NEW FEATURES IN VERSION 2

  1. Specific Gamma for each model;
  2. Specific Cache-hash sizes;
  3. Mode to allow to run with inverted repeats only;
  4. New interface layout (ascii);
  5. New approximate power function;
  6. Optimized functions;
  7. New 15 pre-computed modes for reference-free compression;

ISSUES

For any issue let us know at issues link.

LICENSE

GPL v3.

For more information:

http://www.gnu.org/licenses/gpl-3.0.html

geco2's People

Contributors

pratas avatar smortezah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

uarod ieeta-pt

geco2's Issues

Don't put compiled binaries in the repo

Hello,

Please avoid putting the compiled binaries in the repo.
You can use the Releases page of the project to distribute pre-compiled version of GeCo2.

Best regards.

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.