Git Product home page Git Product logo

syntenyplotter's Introduction

syntenyPlotteR

R package to draw synteny plots in three different styles

This package has been developed by Joana Damas ([email protected]) and Marta Farré ([email protected])

To install:

devtools::install_github("marta-fb/syntenyPlotteR")

Input file

Please provide a file with the synteny blocks information, following this format, separated by tabs.

DO NOT include a header line

  • chr - chromosome of reference species -- it ONLY accepts numbers
  • start - start of block in reference species
  • end - end of block in reference species
  • tarChr - chromosome of target species
  • tarSt - start of block in target species
  • tarEnd - end of block in target species
  • orient - orientation of the block (1 or -1)
  • tarSpecies - name of the target species

Evolution Highway style

Usage

draw.eh("input file","output file name",chromosomeRange)

  • outputName - name of output file
  • chromosomeRange - range of chromosome numbers in reference species.

Example:

library(syntenyPlotteR)

draw.eh("syntenicBlocks_oneChromosome_severalSps.txt","testOut",1:1)

alt text

inferCARs style

Usage

library(syntenyPlotteR)
draw.ideogram("syntenicBlocks.txt", "reference_chr_size", "target_chr_size")

  • reference_chr_size Lenghts of reference chromosomes, scaffolds or contigs. Format: ID Length
  • target_chr_size Lenghts of target chromosomes, scaffolds or contigs. Format: ID Length

Example output:

alt text

Linear pairwise style

Usage

library(syntenyPlotteR)
draw.pairwise("syntenicBlocks.txt", "outputFileName", "reference_chr_size", "target_chr_size", "refName", "tarName")

  • outputFilename: Name of the output file
  • target_chr_size: Lenghts of target chromosomes, scaffolds or contigs. Format: ID Length
  • reference_chr_size: Lenghts of reference chromosomes, scaffolds or contigs. Format: ID Length
  • refName: name of the reference genome
  • tarName: name of the target genome

Example output:

alt text

To come soon:

  1. Update vignette
  2. Preprint in Biorxiv

Citation:

While we're preparing the publication, please cite:
Farré M, Kim J, et al. Evolution of gene regulation in ruminants differs between evolutionary breakpoint regions and homologous synteny blocks. Genome Research 2019 Apr;29(4):576-589

syntenyplotter's People

Contributors

marta-fb 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.