Genome Assembly tools

Bioinformatics tools which we used in Genome assembly and Annotation, BI601(2+1)

1.FASTQC:
 STEPS:
  1. download fastqc sourcecode form internet.
  2. open terminal and move to the fastaq folder.
  3. give executable permissions to all executables.
    •   e.g., chmod +x fastqc
  4. now type,
    •     ./fastaqc    
  5. it will open the window to feed fastq file as input.
  6. it will display various quality parameters of the data.

Usage:
  quality control for high throughput sequence data
 FastQC aims to provide a simple way to do some quality control checks on
 raw sequence data coming from high throughput sequencing pipelines. It
 provides a modular set of analyses which you can use to give a quick
 impression of whether your data has any problems of which you should
 be aware before doing any further analysis.

 The main functions of FastQC are,
  * Import of data from BAM, SAM or FastQ files (any variant)
  * Providing a quick overview to tell you in which areas there may
    be problems
  * Summary graphs and tables to quickly assess your data
  * Export of results to an HTML based permanent report
  * Offline operation to allow automated generation of reports without
    running the interactive application

2.Trimmomatic:

STEPS:

  1. download sourcecode with binaries.
  2. open the terminal in folder loacation.
  3. give executable permissions to all binaries.
  4. Input file:SRA data (i.e., file.fasta)
  5. now use the following command.,
    •  java -jar trimmomatic-0.36.jar SE -phred33 sra_data.fastq fastaq ILLUMINACLIP:adapters/TruSeq3-SE:2:30:10 LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36


USAGE:
 flexible read trimming tool for Illumina NGS data
 Trimmomatic performs a variety of useful trimming tasks for illumina
 paired-end and single ended data.The selection of trimming steps and
 their associated parameters are supplied on the command line.

 The current trimming steps are: 
  * ILLUMINACLIP: Cut adapter and other illumina-specific sequences from
    the read.
  * SLIDINGWINDOW: Perform a sliding window trimming, cutting once thes
    average quality within the window falls below a threshold.
  * LEADING: Cut bases off the start of a read, if below a threshold quality
  * TRAILING: Cut bases off the end of a read, if below a threshold quality
  * CROP: Cut the read to a specified length
  * HEADCROP: Cut the specified number of bases from the start of the read
  * MINLENGTH: Drop the read if it is below a specified length
  * TOPHRED33: Convert quality scores to Phred-33
  * TOPHRED64: Convert quality scores to Phred-64
 It works with FASTQ (using phred + 33 or phred + 64 quality scores,
 depending on the Illumina pipeline used), either uncompressed or
 gzipp'ed FASTQ. Use of gzip format is determined based on the .gz
 extension.

3.Kmergenie:

STEPS:

  1. download sourcecode.
  2. install prerequisites r-base,c++ and zlibc using following commands.
    •  sudo apt-get install r-base
    •  sudo apt-get install c++
    •  wget http://www.zlib.net/zlib-1.2.3.tar.gz.
    •  sudo apt-get install zlibc 
  3. now follow these steps to install
    • make 
    • make install
  4.  now use the following command to get the results.,
    • ./kmergenie sra_data.fastq


Note:download fastx like fastq for trimming.


USAGE:
KmerGenie estimates the best k-mer length for genome de novo assembly. Given a set of reads, KmerGenie first computes the k-mer abundance histogram for many values of k. Then, for each value of k, it predicts the number of distinct genomic k-mers in the dataset, and returns the k-mer length which maximizes this number. Experiments show that KmerGenie's choices lead to assemblies that are close to the best possible over all k-mer lengths.
KmerGenie predictions can be applied to single-k genome assemblers (e.g. Velvet, SOAPdenovo 2, ABySS, Minia). However, multi-k genome assemblers (e.g. SPAdes, IDBA) generally perform better with default parameters (using multiple k values), rather than the single best k predicted by KmerGenie. 



4.MIRA:

STEPS:
  1. download sourcecode for MIRA for genome assembly
  2. open the terminal in folder.
  3. give executable permissions to all binaries.
  4. craeate file.conf file using vi or gedit text editor containing following content.
project = my_first_assembly

job = genome,denovo,accurate

parameters = -GE:not=4

readgroup = first_job
data =/g/mira_4.0.2_linux-gnu_x86_64_static/bin/sra_data.fastq

technology = solexa
    5.now use the command,
    •  ./mira file.conf


USAGE:
Description-en: Whole Genome Shotgun and EST Sequence Assembler
 The mira genome fragment assembler is a specialised assembler for
 sequencing projects classified as 'hard' due to high number of similar
 repeats. For expressed sequence tags (ESTs) transcripts, miraEST is
 specialised on reconstructing pristine mRNA transcripts while
 detecting and classifying single nucleotide polymorphisms (SNP)
 occurring in different variations thereof.
 
 The assembler is routinely used for such various tasks as mutation
 detection in different cell types, similarity analysis of transcripts
 between organisms, and pristine assembly of sequences from various
 sources for oligo design in clinical microarray experiments.

 The package provides the following executables:
 Binaries provided: 

  * mira: for assembly of genome sequences
  * miramem: estimating memory needed to assemble projects. Realised through
    link to mira.
  * convert_project: for converting project file types into other types
  * caf2fasta, caf2gbf, caf2text, caf2html, gbf2caf and gbf2fasta are some
    frequently used file converters (realised through links to convert_project)
  * scftool: set of tools useful when working with SCF trace files
  * fastatool: set of tools useful when working with FASTA trace files

 Scripts provided: 
  * fasta2frag: fragmenting sequences into smaller, overlapping
    subsequences. Useful for simulating shotgun sequences. Can create
    subsequences in both directions (/default) and also paired-end sequences.
  * fastaselect: given a FASTA file (and possibly a FASTA quality file) and
    a file with names of reads, select the sequences from the input FASTA (and
    quality file) and writes them to an output FASTA
  * fastqselect: like fastaselect, only for FASTQ
  * fixACE4consed: Consed has a bug which incapacitates it from reading
    consensus tags in ACE files written by the MIRA assembler (and possibly
    other programs). This script massages an ACE file so that consed can read
    the consensus tags.


5.Abyss:

STEPS:

  1. download source code with binaries.
  2. open the terminal in folder.  (or)
  3.  install abysss using the command.,
    • sudo apt-get install abyss
  4. use the following command...
    • abyss-pe k=25 name=test in='test-data/reads1.fastq test-data/reads2.fastq'

USAGE: 
 de novo, parallel, sequence assembler for short reads
 ABySS is a de novo, parallel, sequence assembler that is designed for
 short reads. It may be used to assemble genome or transcriptome
 sequence data. Parallelization is achieved using MPI, OpenMP and
 pthread.


 6.QUAST:

STEPS:

  1. download sourcecode with binaries.
  2. unzip the folder.
  3. open terminal in the folder.
  4. give executable permissions to all binaries.
  5. now, command for quality check is,
    • ./quast.py contigs_1.fasta -o quality_check
  6. now command for gene prediction is,
    •  ./quast.py sequences_from_ncbi.fasta -f -o ncbi_gene_pred

USAGE:




7. VELVET:

STEPS:
  1. download sourcecode.
  2. open the terminal in folder location.
  3. type ls  to check for make file.
  4. if make file is there and if it is not in green colour make it executable by using the command,
    •     chmod +x makefile
  5. now type make
  6. now again type ls and search for following executable files. i.e.,
    •     velveth        velvetg
  7. to know the function of these executables use the following commands respectively.
    •     ./velveth
    •     ./velvetg
  8. INPUT: paired fastq files.
  9. now use the following command to get the kmer size.
    •     ./velveth output 40 -fastq -shortPaired -fastq -separate test_data/
  10. now to get the contigs use the following command.
    •     ./velvetg output
Note: we can install velvet by using the following command
    •     sudo apt-get install velvet

 USAGE:
 Velvet is a de novo genomic assembler specially designed for short read
 sequencing technologies, such as Solexa or 454, developed by Daniel Zerbino and
 Ewan Birney at the European Bioinformatics Institute (EMBL-EBI), near
 Cambridge, in the United Kingdom.

 Velvet currently takes in short read sequences, removes errors then produces
 high quality unique contigs. It then uses paired read information, if
 available, to retrieve the repeated areas between contigs.

 8.JELLYFISH:
 

STEPS:
1. run k-mergenie for SRA data to get optimum k-mer size.

2. use the following code
  a. jellyfish count -t 8 -m 47 -s 64 -o 49_mer_out SRA_data.fastq
(now it has generated 49_mer_out )

  b. jellyfish histo -o 49_mer_out.histo 49_mer_out

(where 49_mer_out is the output file obtained in (a) )

3.now we have to get coverage by using R software.
the code us as follows,
  
   data<-read.table("G:/Bioinformatics_tools/jellyfish/49_mer_out.histo")
   data
   plot(data[,1:2], type='1')

4.now graph will be generated with the optimum coverage.

USAGE:
 

 count k-mers in DNA sequences
 JELLYFISH is a tool for fast, memory-efficient counting of k-mers in
 DNA. A k-mer is a substring of length k, and counting the occurrences
 of all such substrings is a central step in many analyses of DNA
 sequence. JELLYFISH can count k-mers using an order of magnitude less
 memory and an order of magnitude faster than other k-mer counting
 packages by using an efficient encoding of a hash table and by
 exploiting the "compare-and-swap" CPU instruction to increase
 parallelism.

 JELLYFISH is a command-line program that reads FASTA and multi-FASTA
 files containing DNA sequences. It outputs its k-mer counts in an
 binary format, which can be translated into a human-readable text
 format using the "jellyfish dump" command.

9. RAY:

STEPS:
1.open LINUX terminal.
2. install appropriate mirror of openmpi using,
    sudo apt-get install mpich
3.install Ray software using,
    sudo apt-get install Ray
4.we need the SRA_file.fastq as input.
5.use the folowing syntax to get the output
   mpiexec Ray -n 1 -o test -s path of input file -k 49

for further help regarding the usage of softwares use following commands,
  •    mpiexec -help
  •    Ray -help

USAGE: 
 de novo genome assemblies of next-gen sequencing data
 Ray is a parallel software that computes de novo genome assemblies with
 next-generation sequencing data.
 Ray is written in C++ and can run in parallel on numerous interconnected
 computers using the message-passing interface (MPI) standard.
 Included:
  - Ray de novo assembly of single genomes
  - Ray Méta de novo assembly of metagenomes
  - Ray Communities microbe abundance + taxonomic profiling
  - Ray Ontologies gene ontology profiling

 10. Platanus:


STEPS:
  1. download binary file for platanus and place it in the folder platanus
  2. open the terminal in platanus folder.
  3. use the command ./platanus  to see the usage options.
USAGE:
Platanus is a de novo assembler designed to assemble high-throughput data.
It can handle highly heterozygotic samples. The following is the assembly
outline. First, it constructs contigs using the algorithm based on de Bruijn
graph. Second, the order of contigs is determined according to paired-end
(mate-pair) data and constructs scaffolds. Finally, paired-end reads localized
on gaps in scaffolds are assembled and gaps are closed.

Note:
  1. you can also install the package  with Ubuntu terminal using the command,
    • sudo apt-get install pkgname
  2. the information for the tools provided in this page is  may be a particular usage of the tool or its brief overview, for detailed information you please refer its web page or read the README file  which comes along with source code.
  3. once in few months you update the packages using the command
    • sudo apt-get update and
    • sudo apt-get upgrade
  4. to see  the information about any package before installing use the following command,
    • apt-cache show pkgname
  5. to see the all installed packages in the system use this command
    • sudo apt list --installed
 


Reference:
  • the help information for a tool in Ubuntu terminal.

Comments

Popular posts from this blog

Courses and important Links