You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,18 +32,49 @@ This package contains both R, Python and cli tools. These are tools or packages
32
32
33
33
One of the features of the `aacrgenie` package is that is provides a local validation tool that GENIE data contributors and install and use to validate their files locally prior to uploading to Synapse.
34
34
35
+
36
+
### Setting up your environment
37
+
38
+
These instructions will install all the necessary components for you to run the validator locally on all of your files, including the Synapse client.
39
+
40
+
1. Create a virtual environment using package manager of your choice (e.g: `conda`, `pipenv`)
41
+
42
+
2. Install the genie package
43
+
35
44
```
36
45
pip install aacrgenie
46
+
```
47
+
48
+
3. Verify the installation
49
+
50
+
```
37
51
genie -v
38
52
```
39
53
40
-
This will install all the necessary components for you to run the validator locally on all of your files, including the Synapse client. Please view the help to see how to run to validator.
54
+
4. Set up authentication with Synapse through the [local .synapseConfig](https://python-docs.synapse.org/tutorials/authentication/#use-synapseconfig) or using an [environment variable](https://python-docs.synapse.org/tutorials/authentication/#use-environment-variable)
55
+
56
+
### Running the validator
57
+
58
+
Get help of all available commands
41
59
42
60
```
43
61
genie validate -h
62
+
```
63
+
64
+
### Example commands
65
+
66
+
Running validator on clinical file
67
+
68
+
```
44
69
genie validate data_clinical_supp_SAGE.txt SAGE
45
70
```
46
71
72
+
Running validator on cna file. **Note** that the flag `--nosymbol-check` is **REQUIRED** when running the validator for cna files because you would need access to an internal bed database table without it. For DEVELOPERS this is not required.
0 commit comments