Skip to content

Commit a1b64d5

Browse files
authored
Merge pull request #1 from getwilds/guidelines-tf
Updating ww-vc-trio to comply with WILDS guidelines
2 parents 68f6528 + b5a470a commit a1b64d5

10 files changed

+340
-109
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, caste, color, religion, or sexual
10+
identity and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the overall
26+
community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at [email protected].
63+
All complaints will be reviewed and investigated promptly and fairly.
64+
65+
All community leaders are obligated to respect the privacy and security of the
66+
reporter of any incident.
67+
68+
## Enforcement Guidelines
69+
70+
Community leaders will follow these Community Impact Guidelines in determining
71+
the consequences for any action they deem in violation of this Code of Conduct:
72+
73+
### 1. Correction
74+
75+
**Community Impact**: Use of inappropriate language or other behavior deemed
76+
unprofessional or unwelcome in the community.
77+
78+
**Consequence**: A private, written warning from community leaders, providing
79+
clarity around the nature of the violation and an explanation of why the
80+
behavior was inappropriate. A public apology may be requested.
81+
82+
### 2. Warning
83+
84+
**Community Impact**: A violation through a single incident or series of
85+
actions.
86+
87+
**Consequence**: A warning with consequences for continued behavior. No
88+
interaction with the people involved, including unsolicited interaction with
89+
those enforcing the Code of Conduct, for a specified period of time. This
90+
includes avoiding interactions in community spaces as well as external channels
91+
like social media. Violating these terms may lead to a temporary or permanent
92+
ban.
93+
94+
### 3. Temporary Ban
95+
96+
**Community Impact**: A serious violation of community standards, including
97+
sustained inappropriate behavior.
98+
99+
**Consequence**: A temporary ban from any sort of interaction or public
100+
communication with the community for a specified period of time. No public or
101+
private interaction with the people involved, including unsolicited interaction
102+
with those enforcing the Code of Conduct, is allowed during this period.
103+
Violating these terms may lead to a permanent ban.
104+
105+
### 4. Permanent Ban
106+
107+
**Community Impact**: Demonstrating a pattern of violation of community
108+
standards, including sustained inappropriate behavior, harassment of an
109+
individual, or aggression toward or disparagement of classes of individuals.
110+
111+
**Consequence**: A permanent ban from any sort of public interaction within the
112+
community.
113+
114+
## Attribution
115+
116+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
117+
version 2.1, available at
118+
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.
119+
120+
Community Impact Guidelines were inspired by
121+
[Mozilla's code of conduct enforcement ladder][https://github.com/mozilla/inclusion].
122+
123+
For answers to common questions about this code of conduct, see the FAQ at
124+
<https://www.contributor-covenant.org/faq>. Translations are available at <https://www.contributor-covenant.org/translations>.
125+
126+
[homepage]: https://www.contributor-covenant.org

.github/CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing
2+
3+
This outlines how to propose a change to the ww-vc-trio workflow repository.
4+
For more detailed info about contributing to this, and other WILDS projects, please see the
5+
[**WILDS Contributing Guide**](https://getwilds.org/guide/).
6+
7+
## Fixing typos/docs changes
8+
9+
You can fix typos, spelling mistakes, or grammatical errors in the documentation directly using the GitHub web interface, as long as the changes are made in the _source_ file.
10+
11+
## Bigger changes
12+
13+
If you want to make a bigger change, it's a good idea to first file an issue and make sure someone from the team agrees that it’s needed.
14+
15+
If you’ve found a bug, please file an issue that illustrates the bug with a minimal
16+
reproducible example.
17+
18+
### Pull request process
19+
20+
* Fork the package and clone onto your computer
21+
* Create a Git branch for your pull request (PR)
22+
* Make your changes, commit to git, and then create a pull request.
23+
* The title of your PR should briefly describe the change.
24+
* The body of your PR should contain `Fixes #issue-number`.
25+
* For user-facing changes, add a bullet to the changelog file if there is one.
26+
27+
### Code style
28+
29+
* New code for WDL repositories should follow our [style guide](https://getwilds.org/guide/wdlconfig.html).
30+
31+
## Code of Conduct
32+
33+
Please note that this project is released with a
34+
[Contributor Code of Conduct](.github/CODE_OF_CONDUCT.md). By contributing to this
35+
project you agree to abide by its terms.

.github/ISSUE_TEMPLATE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: Bug report or feature request
3+
about: Describe a bug you've seen or make a case for a new feature
4+
---
5+
6+
Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, email us at [email protected].
7+
8+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--- Provide a general summary of your changes in the Title above -->
2+
3+
## Description
4+
<!--- Describe your changes -->
5+
6+
## Related Issue
7+
<!--- if this closes an issue make sure include e.g., "fix #4"
8+
or similar - or if just relates to an issue make sure to mention
9+
it like "#4" -->
10+
11+
## Example
12+
<!--- if introducing a new feature or changing behavior of existing
13+
methods/functions, include a brief example if possible -->
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: WOMtool Validation of WDL Script
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
permissions:
8+
contents: read
9+
packages: write
10+
11+
jobs:
12+
womtoolval:
13+
runs-on: ubuntu-latest
14+
steps:
15+
-
16+
name: Checkout
17+
uses: actions/checkout@v4
18+
-
19+
name: Set Up Java
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: '21'
24+
-
25+
name: Pull WOMtool Jarfile
26+
run: wget -q https://github.com/broadinstitute/cromwell/releases/download/86/womtool-86.jar
27+
-
28+
name: Validate WDL Scripts
29+
run: java -jar womtool-86.jar validate *.wdl -i *-inputs.json
30+
31+
32+

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
11
# ww-vc-trio
2-
Variant calling WDL workflow using a trio of variant callers and analyzing consensus among them
2+
[![Project Status: Experimental – Useable, some support, not open to feedback, unstable API.](https://getwilds.org/badges/badges/experimental.svg)](https://getwilds.org/badges/#experimental)
3+
4+
This WILDS WDL workflow takes samples through a standard alignment protocol and identifies variants using a trio of well-established variant callers. Finally, the workflow narrows it down to variants of confidence by analyzing consensus amongst the three variant callers.
5+
6+
## Usage
7+
8+
For Fred Hutch users that are new to WDL, we recommend using [PROOF](https://sciwiki.fredhutch.org/dasldemos/proof-how-to/) to submit this workflow directly to the on-premise HPC cluster, as it simplifies interaction with Cromwell and provides a user-friendly front-end for job submission and tracking. For users outside of Fred Hutch or more advanced users who would like to run the workflow locally, command line execution is relatively straightforward:
9+
```
10+
java -jar cromwell-86.jar run ww-vc-trio.wdl \
11+
--inputs ww-vc-trio-inputs.json \
12+
--options ww-vc-trio-options.json
13+
```
14+
Although Cromwell is demonstrated here, this pipeline is not specific to Cromwell and can be run using whichever WDL execution method you prefer ([miniwdl](https://github.com/chanzuckerberg/miniwdl), [Terra](https://terra.bio/), [HealthOmics](https://docs.aws.amazon.com/omics/latest/dev/workflows.html), etc.).
15+
16+
## Support
17+
18+
For questions, bugs, and/or feature requests, reach out to the Fred Hutch Data Science Lab (DaSL) at [email protected], or open an issue on our [issue tracker](https://github.com/getwilds/ww-vc-trio/issues).
19+
20+
## Contributing
21+
22+
If you would like to contribute to this WILDS WDL workflow, see our [contribution guidelines](.github/CONTRIBUTING.md) as well out our [WILDS Contributor Guide](https://getwilds.org/guide/) for more details.
23+
24+
## License
25+
26+
Distributed under the MIT License. See `LICENSE` for details.

batch_file.tsv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
omics_sample_name molecular_id bamLocation
2+
TESTDATA TEST /path_to_inputs/smallTestData.unmapped.bam

ww-vc-trio-inputs.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@
2222
"ww_vc_trio.af_only_gnomad": "/path_to_references/af-only-gnomad.raw.sites.b37.vcf.gz",
2323
"ww_vc_trio.af_only_gnomad_index": "/path_to_references/af-only-gnomad.raw.sites.b37.vcf.gz.tbi",
2424
"ww_vc_trio.annovar_protocols": "refGene,knownGene,cosmic70,esp6500siv2_all,clinvar_20180603,gnomad211_exome",
25-
"ww_vc_trio.annovar_operation": "g,f,f,f,f,f",
26-
"ww_vc_trio.githubRepoURL": "https://github.com/FredHutch/tg-wdl-consensusVariants.git",
27-
"ww_vc_trio.scriptPath": "tg-wdl-consensusVariants/unpaired/consensus-trio.R",
28-
"ww_vc_trio.githubTag": "v0.1.1"
25+
"ww_vc_trio.annovar_operation": "g,f,f,f,f,f"
2926
}

ww-vc-trio-options.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"workflow_failure_mode": "ContinueWhilePossible",
3+
"write_to_cache": true,
4+
"read_from_cache": true,
5+
"default_runtime_attributes": {
6+
"maxRetries": 1
7+
},
8+
"final_workflow_outputs_dir": "test-output/",
9+
"use_relative_output_paths": true
10+
}

0 commit comments

Comments
 (0)