Skip to content

Commit fa7371a

Browse files
committed
docs: Update backend docs for DNAnexus, and update script for updating docs.
1 parent faf2cc9 commit fa7371a

2 files changed

Lines changed: 52 additions & 54 deletions

File tree

docs/backend-dnanexus.md

Lines changed: 50 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@
22

33
The PacBio Human WGS Variant Pipeline is an analysis workflow for PacBio HiFi human whole genome sequencing data, with joint calling for related samples.
44

5-
Templates and instructions for how to submit the `family` input on the DNAnexus platform are provided in the [Example JSON Documents](#example-json-documents) and [Submitting to DNAnexus](#submitting-to-dnanexus) sections below.
5+
Templates and instructions for how to submit the `Family struct` input on the DNAnexus platform are provided in the [Example JSON Documents](#example-json-documents) and [Submitting to DNAnexus](#submitting-to-dnanexus) sections below.
66

77
## Inputs
88

99
The workflow has the following inputs:
1010

1111
| Type | Name | Description | Notes |
1212
| ---- | ---- | ----------- | ----- |
13-
| Struct | family | Family struct describing samples, relationships, and unaligned BAM paths. | See below for more information |
14-
| String | phenotypes | [Human Phenotype Ontology](https://hpo.jax.org/) (HPO) phenotypes associated with the affected proband. | For example, if the proband has seizures and hypotonia, then the `phenotypes` string might be `"HP:0001250,HP:0001252"`. |
15-
| File | trgt_tandem_repeat_bed | BED file containing repeat coordinates and information about the repeat structure | The default file should be sufficient for most use cases |
16-
| Integer | glnexus_mem_gb | Override GLnexus memory request (GB) | Optional. Should only be specified if GLnexus step fails. |
17-
| Integer | pbsv_call_mem_gb | Override PBSV call memory request (GB) | Optional. Should only be specified if PBSV step fails. |
18-
| Boolean | run_tertiary | Whether to run tertiary analysis for small variants and structural variants | Default: `true` |
13+
| File chooser | Family struct | One or more files corresponding to the sample data described in your Family struct JSON below. |
14+
| File chooser | TRGT Tandem Repeat Definitions | BED file containing repeat coordinates and information about the repeat structure. | The default file should be sufficient for most use cases. |
15+
| Struct | Family struct | Family struct JSON describing samples, relationships, and unaligned BAM paths. | See below for more information. |
16+
| Integer | GLnexus memory override | Override GLnexus memory request (GB) | Optional. Should only be specified if GLnexus step fails. |
17+
| Integer | PBSV memory override | Override PBSV call memory request (GB) | Optional. Should only be specified if PBSV step fails. |
18+
| String | Phenotypes | [Human Phenotype Ontology](https://hpo.jax.org/) Comma-delimited string of (HPO) phenotypes associated with the affected proband. | For example, if the proband has seizures and hypotonia, then the `phenotypes` string would be `HP:0001250,HP:0001252`. |
19+
| Boolean | Run tertiary analysis | Whether to run tertiary analysis for small variants and structural variants | Default: `true` |
1920

2021
## Family Struct Syntax
2122

22-
The `Family` input for the HiFi-human-WGS-WDL workflow is a JSON document that contains the samples for the family. The same struct is used for a single sample or trio, with the single sample case having only one entry in the `samples` array.
23+
The `Family` input for the HiFi-human-WGS-WDL workflow is a JSON document that contains the samples for the family. The same struct syntax is used for a single sample or trio, with the single sample case having only one entry in the `samples` array.
2324

2425
### Structs and Field Descriptions
2526

@@ -85,52 +86,50 @@ In this example, the optional `sex` field is not specified, so tools will defaul
8586

8687
```json
8788
{
88-
"family": {
89-
"family_id": "AJTRIO",
90-
"samples": [
91-
{
92-
"sample_id": "HG002",
93-
"hifi_reads": [
94-
{
95-
"$dnanexus_link": {
96-
"id": "file-xxxx",
97-
"project": "project-xxxx"
98-
}
89+
"family_id": "AJTRIO",
90+
"samples": [
91+
{
92+
"sample_id": "HG002",
93+
"hifi_reads": [
94+
{
95+
"$dnanexus_link": {
96+
"id": "file-xxxx",
97+
"project": "project-xxxx"
9998
}
100-
],
101-
"affected": true,
102-
"sex": "MALE",
103-
"father_id": "HG003",
104-
"mother_id": "HG004"
105-
},
106-
{
107-
"sample_id": "HG003",
108-
"hifi_reads": [
109-
{
110-
"$dnanexus_link": {
111-
"id": "file-xxxx",
112-
"project": "project-xxxx"
113-
}
99+
}
100+
],
101+
"affected": true,
102+
"sex": "MALE",
103+
"father_id": "HG003",
104+
"mother_id": "HG004"
105+
},
106+
{
107+
"sample_id": "HG003",
108+
"hifi_reads": [
109+
{
110+
"$dnanexus_link": {
111+
"id": "file-xxxx",
112+
"project": "project-xxxx"
114113
}
115-
],
116-
"affected": false,
117-
"sex": "MALE"
118-
},
119-
{
120-
"sample_id": "HG004",
121-
"hifi_reads": [
122-
{
123-
"$dnanexus_link": {
124-
"id": "file-xxxx",
125-
"project": "project-xxxx"
126-
}
114+
}
115+
],
116+
"affected": false,
117+
"sex": "MALE"
118+
},
119+
{
120+
"sample_id": "HG004",
121+
"hifi_reads": [
122+
{
123+
"$dnanexus_link": {
124+
"id": "file-xxxx",
125+
"project": "project-xxxx"
127126
}
128-
],
129-
"affected": false,
130-
"sex": "FEMALE"
131-
}
132-
]
133-
}
127+
}
128+
],
129+
"affected": false,
130+
"sex": "FEMALE"
131+
}
132+
]
134133
}
135134
```
136135

scripts/update_docs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ set -e
33

44
# create a README.md file from the Home.md file in the wiki directory
55
# with correct relative links
6-
sed 's!(\./!(./docs/!g;s!\.\./\.\.!../../..!g;' "$1"/Home.md > README.md
7-
cp "$1"/*.md docs/
8-
rm docs/Home.md docs/_Sidebar.md
6+
sed 's!(\./docs/!(./!g;s!\.\./\.\./\.\.!../..!g;' README.md > "$1"/Home.md
7+
cp docs/*.md "$1"/

0 commit comments

Comments
 (0)