Giter Site home page Giter Site logo

btl-mdreport's Introduction

#GENERAL USAGE

MdReport 2.0 Usage: MdReport [options]

-i, --setId The ID of the metrics/analysis/set entry. Must supply this or an entry file. -v, --version version Optional version string for the entry. -e, --entryFile If EntryCreator was used you may supply the entry file to pass along sampleId and version. -o, --outDir The directory to write the report to. -s, --sampleList A comma-separated list of sampleIds to include in the report. -r, --reporter Use one reporter preset from the following:List(SmartSeqReporter, LegacyReporter, CustomReporter) -d, --delimiter Specify delimiter. Default is comma. -f, --rdfFile Optional report definition file for custom reports. --help Prints this help text.

A tool for generating reports from MD.

  • If --sampleList is not provided, one will be queried from MD using setId
  • If --reporter is not specified, LegacyReporter will be used, which gets all metrics for the given samples.
  • If CustomReporter is used, an rdfFile must be supplied.

##PRESETS

usage examples: java -jar MdReport.jar -e C:\Dev\Scala\MDReport\src\test\resources\entrycreator.json -o C:\Dev\Scala\MdReport -r SmartSeqReporter -s "SSF1859B12_A375_AkiYoda,SSF1859A11_A375_AkiYoda"

For Custom Reports, supply an RDF file formatted as follows:

usage example: java -jar MdReport.jar -e C:\Dev\Scala\MDReport\src\test\resources\entrycreator.json -o C:\Dev\Scala\MdReport -r CustomReporter -f C:\Dev\Scala\MdReport\src\test\resources\rdf.tsv

RDF FILE FORMAT

\t<submodule.field, submodule.submodule.field ...> \t<submodule.field, submodule.submodule.field ...> ...

For example:

PicardAlignmentSummaryAnalysis PicardAlignmentSummaryMetrics.totalReads,PicardAlignmentSummaryMetrics.pfReads,PicardAlignmentSummaryMetrics.pctAdapter RnaSeqQcStats alignmentMetrics.AlignmentMetrics.mapped,alignmentMetrics.AlignmentMetrics.mappedPairs PicardReadGcMetrics meanGcContent

In the example above, RnaSeqQcStats is a top level module. It has several sub-modules, each which have their own fields. Above, we've specified that we want the 'mapped' and 'mappedPairs' fields from the alignmentMetrics submodule. PicardMreadGcMetrics does not have any submodules, so we've just specified in column 2 that we want the field meanGcContent.

Deploy Instructions

  1. Navigate to local MdReport directory via command line tool.
  2. execute 'sbt' then 'assembly'
  3. If unit tests pass, navigate to MdReport/target/scala-2.11/
  4. Copy MdReport-assembly-.jar to Unix filesystem.
  5. Move jar file to /cil/shed/apps/internal/MdReport/bin
  6. chmod 755 jar file
  7. In /cil/shed/apps/internal/MdReport:

>rm MdReport.jar

>ln -s /cil/shed/apps/internal/MdReport/bin/MdReport-assembly-2017.4.0.jar MdReport.jar

  1. Done!

btl-mdreport's People

Watchers

James Cloos avatar Paul Cao avatar  avatar michellec avatar Brian Maher avatar  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.