Skip to content

drvenki/reportgen

 
 

Repository files navigation

reportgen

Build Status

reportgen creates beautiful reports from clinseq data.

Coverage Status

Setup

git clone https://bitbucket.org/twhitington/reportgen.git
pip install ./reportgen

Run

# Example execution with some dummy input files:
cat << EOF > meta.json
{
    "personnummer": "19501010-1234",
    "blood_sample_id": 123456,
    "tumor_sample_id": 123456,
    "blood_sample_date": "2016-04-29",
    "tumor_sample_date": "2016-05-20",
    "doctor": "Dr Namn Namnsson",
    "doctor_address": "Onkologimottagningen\nStora Lasaretet\n123 45 Stadsby"
}
EOF

FIXME: THIS EXAMPLE IS WRONG; CONFORM WITH DEFINITION
cat << EOF > report.json
{
    "PI3K_pathway": "Mutation class A",
    "MSI_status": "MSS/MSI-L",
    "KRAS": ["Mutated", "G12D"],
    "BRAF": ["Not mutated", null],
    "NRAS": ["Not determined", null]
}
EOF

reportgen meta.json report.json

BNF definition of metadata and genomic report JSON files:

Metadata:

XXX

Genomic report:

::= {[,]} # NOTE: I mean a comma-separated list, zero or more elements ::= "msiReport" : | "alasscaReport" : | "simpleSomaticMutationsReport" : ::= {} ::= "MSS/MSI-L" | "MSI-H" | ::= {} ::= "A" | "B" | ::= "NotDetermined" ::= "NotMutated" ::= "Mutated" ::= { : } ::= "ENSG"[0-9]{11} ::= [ | | , ] ::= {[ : ,]} # NOTE: I mean a comma-separated list, zero or more elements ::= # Not defined exactly yet. Some e.g.s: "KRAS_COMMON", "KRAS_UNCOMMON", "BRAF_COMMON" ::= [A-Z][0-9]+[A-Z] | [0-9]+

Contact

  • Tom Whitington
  • Daniel Klevebring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.2%
  • TeX 14.8%