-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from NBISweden/plugin
MultiQC plugin
- Loading branch information
Showing
23 changed files
with
658 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,3 @@ | ||
title: "BLR run report" | ||
intro_text: "This is a collection of results from the BLR pipeline. Go to our | ||
<a href=https://github.com/FrickTobias/BLR>github page</a> for more information." | ||
|
||
custom_data: | ||
phasing_stats: | ||
id: 'phasing_stats' | ||
section_name: 'Phasing metrics' | ||
description: '- Phasing statistics from HapCUP2 calculate_phasing_stats.py script.' | ||
plot_type: 'table' | ||
pconfig: | ||
id: 'phasing_stats' | ||
title: 'Phasing metrics table' | ||
scale: false | ||
share_key: false | ||
headers: | ||
'switch rate': | ||
title: 'Switch rate' | ||
description: 'switch errors as a fraction of possible positions for switch errors' | ||
format: '{:,.7f}' | ||
placement: 1 | ||
'mismatch rate': | ||
title: 'Mismatch rate' | ||
description: 'mismatch errors as a fraction of possible positions for mismatch errors' | ||
format: '{:,.7f}' | ||
placement: 2 | ||
'flat rate': | ||
title: 'Flat rate' | ||
description: 'flat errors as a fraction of possible positions for flat errors' | ||
format: '{:,.7f}' | ||
hidden: true | ||
'phased count': | ||
title: 'Phased count' | ||
description: 'count of total SNVs phased in the test haplotype' | ||
format: '{:,.0f}' | ||
placement: 3 | ||
AN50: | ||
title: 'AN50 (Mbp)' | ||
description: 'the AN50 metric of haplotype completeness' | ||
format: '{:,.3f}' | ||
hidden: true | ||
N50: | ||
title: 'N50 (Mbp)' | ||
description: 'the N50 metric of haplotype completeness' | ||
format: '{:,.3f}' | ||
placement: 4 | ||
'num snps max blk': | ||
title: 'SNPs in max blk' | ||
description: 'the fraction of SNVs in the largest (most variants phased) block' | ||
format: '{:,.0f}' | ||
placement: 5 | ||
|
||
|
||
sp: | ||
phasing_stats: | ||
fn: 'phasing_stats.tsv' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env python | ||
""" | ||
MultiQC command line options - we tie into the MultiQC | ||
core here and add some new command line parameters. | ||
See the Click documentation for more command line flag types: | ||
http://click.pocoo.org/5/ | ||
""" | ||
|
||
import click | ||
|
||
# Sets config.kwargs['disable_plugin'] to True if specified (will be False otherwise) | ||
disable_plugin = click.option( | ||
'--disable-blr-plugin', 'disable_plugin', | ||
is_flag=True, | ||
help="Disable the MultiQC BLR plugin on this run") |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from __future__ import absolute_import | ||
|
||
from .hapcut2 import MultiqcModule # noqa |
Oops, something went wrong.