Code Monkey home page Code Monkey logo

msgen's Introduction

msgen - R functions for interfacing with the Microsoft Genomics service on Azure

Colby T. Ford, Ph.D.

msgen icon

Description

The Microsoft Genomics service in Azure can power genome sequencing using a cloud implementation of the Burrows-Wheeler Aligner (BWA) and the Genome Analysis Toolkit (GATK) for secondary analysis. The pipeline can take in multiple FASTQ and BAM files and provides alignment and variant outputs. The msgen package provides an interface to use the service from within R.


R Package Installation

You can install the latest stable version from GitHub using the following command:

remotes::install_github("colbyford/msgen")
library(msgen)

Usage

Submit a workflow

submit_workflow(subscription_key = "04afabfc...",
                region = "eastus",
                process = "snapgatk",
                reference = "b37m1",
                description = "Submission from cford/msgen R package.",
                input_storage_account_name = "mygenomicsstorage",
                input_storage_account_key= "6GyBAbvgw5sqo2...",
                input_container_name = "myinputdata",
                blob_name_1 = "chr21_1.fq.gz",
                blob_name_2 = "chr21_2.fq.gz",
                output_container_name = "myoutputdata")

List all your workflows

list_workflows(subscription_key = "04afabfc...",
               region = "eastus")

Check the status of your workflow

get_workflow_status(subscription_key = "04afabfc...",
                    region = "eastus",
                    workflow_id = "12g3c5a...")

Cancel a workflow

cancel_workflow(subscription_key = "04afabfc...",
                region = "eastus",
                workflow_id = "12g3c5a...")

Links

License

This open source R package/project is licensed under the Apache 2.0 License - see the LICENSE file for details

Note: The Microsoft Genomics service, Azure, and the msgen Python command-line interface are all Copyright (c) Microsoft Corporation. All rights reserved.

msgen's People

Contributors

colbyford avatar

Stargazers

 avatar

Watchers

 avatar  avatar

msgen's Issues

`list` is a reserved word in R

The list function is conflicting with the base R list function.

Considerations:

  • Is the base R list function used enough to cause issues?
  • Should this function's name be changed to list_jobs?
  • If so, should all other functions be renamed to include *_job(s) in the name?

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.