Skip to content

Commit

Permalink
Update readme inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aisha-D committed Mar 16, 2021
1 parent 54f7dc8 commit 041769c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# eggd_somalier_relate2multiqc

## What does this app do?
Reformats the output of somalier relate to append predicted sex
and reorder columns to present data in MultiQC report
Reformats the output of somalier relate to append predicted sex, add a matching column to state whether sample's predicted sex is a true or false match to reported sex. The app also reorders columns to present data clearly in MultiQC report.

![Image of workflow](https://github.com/eastgenomics/eggd_somalier_relate2multiqc/blob/dev/Somalier_relate2multiqc_workflow.jpg)

## What are the inputs?
* somalier.samples.tsv
* Thresholds to predict sex from x_het
* Thresholds to predict sex from x_het
* female = 45, male = 1 for geminini(dias) samples


## What are the outputs?

* Multiqc_somalier.samples.tsv


## Where is this app applicable?
If you want to add predicted sex column and present data in MultiQC.
If you want to add predicted sex column and present data in MultiQC report.


### This app was made by EMEE GLH
Binary file modified Somalier_relate2multiqc_workflow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions dxapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,38 @@
"inputSpec": [
{
"name": "somalier_input",
"label": "Somalier samples tsv file",
"class": "file",
"optional": false,
"patterns": [
"*.samples.tsv"
],
"help": "Output file from somalier, default name: somalier.samples.tsv"
"help": "Output file from somalier relate, default name: somalier.samples.tsv"
},
{
"name": "f",
"label": "Female",
"name": "female_threshold",
"label": "Female Threshold",
"class": "int",
"optional": true,
"optional": false,
"help": "A integer value for het calls threshold for females. Default is 45"
},
{
"name": "m",
"label": "Male",
"name": "male_threshold",
"label": "Male Threshold",
"class": "int",
"optional": true,
"optional": false,
"help": "A integer value for het calls threshold for males. Default is 1"
}
],
"outputSpec": [
{
"name": "somalier_output",
"name": "modified_somalier_output",
"label": "Modified somalier samples tsv output",
"class": "file",
"patterns": [
"*.samples.tsv"
],
"help": ""
"help": "Modified somalier sample tsv file with corrected column ordering and appended predicted sex column and true/false reported to predicted sex column."
}
],
"runSpec": {
Expand Down

0 comments on commit 041769c

Please sign in to comment.