GithubHelp home page GithubHelp logo

hiuyu / trumpet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skyhorsetomoon/trumpet

0.0 0.0 0.0 2.43 MB

The package is designed for visualization of quality assessment of methylated RNA immunoprecipitation sequencing data.

R 100.00%

trumpet's Introduction

Trumpet: an R package for transcriptome-guided quality assessment of m6A-seq data

this is not the original one. just a personal modification

Motivation: Methylated RNA immunoprecipitation sequencing (m6A-seq or MeRIP-seq) has been extensively used for profiling transcriptome-wide distribution of RNA N6-MethylAdenosine methylation. However, due to the intrinsic properties of RNA molecule and the intricate procedures of this technique, m6A-seq data often suffers from various flaws. A convenient and comprehensive tool is solely needed to assess the quality of m6A-seq data to ensure it is suitable for subsequent analysis.

Results: From a technical perspective, m6A-seq can be considered as a marriage of ChIP-seq and RNA-seq; hence, by effectively combing the data quality assessment metrics of the two techniques, we developed the Trumpet R package for evaluation of m6A-seq data quality. Trumpet package takes the aligned BAM files from m6A-seq data together with transcriptome information as inputs to generate a quality assessment report in HTML format.

Installation Instructions

The Trumpet package can be installed by the following R commands:

devtools::install_github("skyhorsetomoon/Trumpet")

library(Trumpet)

Usage Example

The following command code will show how to use this package and generate the assessment report in HTML format.

Input the samples to be evaluated in BAM files and generate the assessment report directly.

Collect the path of all the aligned MeRIP-seq data files in BAM format.

f1 <- system.file("extdata", "IP1.bam", package="Trumpet")

f2 <- system.file("extdata", "IP2.bam", package="Trumpet")

f3 <- system.file("extdata", "IP3.bam", package="Trumpet")

f4 <- system.file("extdata", "IP4.bam", package="Trumpet")

f5 <- system.file("extdata", "Input1.bam", package="Trumpet")

f6 <- system.file("extdata", "Input2.bam", package="Trumpet")

f7 <- system.file("extdata", "Input3.bam", package="Trumpet")

f8 <- system.file("extdata", "treated_IP1.bam", package="Trumpet")

f9 <- system.file("extdata", "treated_Input1.bam", package="Trumpet")

ip_bam <- c(f1,f2,f3,f4)

input_bam <- c(f5,f6,f7)

contrast_ip_bam <- c(f8)

contrast_input_bam <- c(f9)

We use GTF file in the following example.

gtf <- system.file("extdata", "hg19toy.gtf", package="Trumpet")

We can call the main function to generate the assessment report under current working directory.

trumpet_report <- Trumpet_report(IP_BAM = ip_bam, Input_BAM = input_bam, contrast_IP_BAM = contrast_ip_bam, contrast_Input_BAM = contrast_input_bam, condition1 = "untreated", condition2 = "treat, GENE_ANNO_GTF = gtf)

It can be opened with a web browser or with the following R command.

browseURL("Trumpet_report.html")

trumpet's People

Contributors

skyhorsetomoon avatar hiuyu 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.