Giter VIP home page Giter VIP logo

bgreat's Introduction

Bgreat

De Bruijn Graph Read Mapping Tool

Warning : This repo is no longer maintained. If you are interested by such tool see https://github.com/Malfoy/BGREAT2

Compilation

$make

Usage

$bgreat -r read_files -k k_value -g unitig_file -m n_missmatch -t n_thread -p path_file -o no_overlap_file
-a not_aligned_file

You can give multiple fasta file in input by separating the file names with a coma

$./bgreat -r reads.fa,reads2.fa -k 4 -g unitig.fa

If you use fastq files (with no splited line) use the -q option

The default value are:

The k value of your De Bruijn graph "k_value":31

The file containing your unitigs "unitig_file": unitig.fa

The number of missmatches allowed in the alignment "n_missmatch_allowed": 2

The number of thread used for mapping "n_thread": 1

The paths ouput file "path_file": paths

The output file with read without overlap, that may be mapped by a regular aligner on large unitigs "no_overlap_file": noOverlap.fa

The outputfile with read that have an overlap but could not be mapped by BGREAT "not_aligned_file": notAligned.fa

Graph computation

We propose the following method to compute the unitigs from a set of reads:

Unitig computation with BCALM2 (see https://github.com/GATB/bcalm) :

&./bcalm -in reads.fa -k 31 -abundance 3
&./bglue -in unitigs.h5 -k 31

Output

You can try

$./bgreat -r reads.fa -k 4 -g unitig.fa

The Output file will look like something like this

1miss

0.1.2.

nomiss

0.3.4.-6.

The first integer is the starting position of the read in the first unitig.

The other integers are the unitig numbers in the order they appear in the read, the minus sign mean that the reverse complement of the unitig should be used.

bgreat's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bgreat's Issues

Issues with Map.py

  1. Name too general
  2. subprocess.call(['./BGREAT',k,readFile,unitigFile,'2','1']) but binary is called "bgreat" and you can assume it will be in the PATH when packaged
  3. subprocess.call(['./getBigUnitig',unitigFile,'big.fa',readsize]) but binary is called "getLargeUnitigs" and in PATH when packaged

Tag an official release?

It would be great if you could tag an official (pre) release, even if 0.1 or something.

This would make it easier to put into LinuxBrew packaging system.

Thanks!

Confused with the programme

I finished running BGREAT and end up with a path file
How can i use GGmap to utilise path file which is from BGREAT? Do you example of using GGmap?

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.