Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
concepts-processing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
meldb
concepts-processing
Commits
e2f32076
Commit
e2f32076
authored
2 months ago
by
mjbonifa
Browse files
Options
Downloads
Patches
Plain Diff
updated usage example to readme
parent
059c970f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+9
-10
9 additions, 10 deletions
README.md
with
9 additions
and
10 deletions
README.md
+
9
−
10
View file @
e2f32076
...
@@ -136,7 +136,6 @@ Please execute the following process:
...
@@ -136,7 +136,6 @@ Please execute the following process:
```bash
```bash
acmc omop install -f <path to downloaded OMOP zip file> -v <release version from email>
acmc omop install -f <path to downloaded OMOP zip file> -v <release version from email>
```
```
Here's a well-structured
**README.md**
example with the series of steps you provided:
---
---
...
@@ -146,7 +145,7 @@ Follow these steps to initialize and manage a phenotype using `acmc`. In this ex
...
@@ -146,7 +145,7 @@ Follow these steps to initialize and manage a phenotype using `acmc`. In this ex
1.
**Initialize a phenotype in the workspace**
1.
**Initialize a phenotype in the workspace**
Use the followijng acmc command to initialize the phenotype in a local Git repository:
Use the followijng
`
acmc
`
command to initialize the phenotype in a local Git repository:
```
bash
```
bash
acmc phen init
acmc phen init
...
@@ -154,7 +153,7 @@ acmc phen init
...
@@ -154,7 +153,7 @@ acmc phen init
2.
**Copy example medical code lists to the phenotype codes directory**
2.
**Copy example medical code lists to the phenotype codes directory**
From the command prompt, copy medical code lists
`/examples/codes`
to the phenotype code directory:
From the command prompt, copy medical code lists `/examples/codes`to the phenotype code directory:
```
bash
```
bash
cp
-r
./examples/codes/
*
./workspace/phen/codes
cp
-r
./examples/codes/
*
./workspace/phen/codes
...
@@ -162,7 +161,7 @@ cp -r ./examples/codes/* ./workspace/phen/codes
...
@@ -162,7 +161,7 @@ cp -r ./examples/codes/* ./workspace/phen/codes
3.
**Copy the example phenotype configuration file to the phenotype directory**
3.
**Copy the example phenotype configuration file to the phenotype directory**
From the command prompt, copy example phenotype configuration files
`/examples/config.json`
to the phenotype directory:
From the command prompt, copy example phenotype configuration files `/examples/config.json` to the phenotype directory:
```
bash
```
bash
cp
-r
./examples/config.json ./workspace/phen
cp
-r
./examples/config.json ./workspace/phen
...
@@ -170,7 +169,7 @@ cp -r ./examples/config.json ./workspace/phen
...
@@ -170,7 +169,7 @@ cp -r ./examples/config.json ./workspace/phen
4.
**Validate the phenotype configuration**
4.
**Validate the phenotype configuration**
Use the followijng acmc command to validate the phenotype configuration to ensure it's correct:
Use the followijng
`
acmc
`
command to validate the phenotype configuration to ensure it's correct:
```
bash
```
bash
acmc phen validate
acmc phen validate
...
@@ -178,7 +177,7 @@ acmc phen validate
...
@@ -178,7 +177,7 @@ acmc phen validate
5.
**Generate phenotype in read2 code format**
5.
**Generate phenotype in read2 code format**
Use the followijng acmc command to generate the phenotype in
`read2`
format:
Use the followijng
`
acmc
`
command to generate the phenotype in `read2` format:
```
bash
```
bash
acmc phen map
-t
read2
acmc phen map
-t
read2
...
@@ -186,7 +185,7 @@ acmc phen map -t read2
...
@@ -186,7 +185,7 @@ acmc phen map -t read2
6.
**Publish phenotype at an initial version**
6.
**Publish phenotype at an initial version**
Use the following
`acmc`
command to publish the phenotype at an initial version:
Use the following `acmc` command to publish the phenotype at an initial version:
```
bash
```
bash
acmc phen publish
acmc phen publish
...
@@ -202,7 +201,7 @@ acmc phen map -t snomed
...
@@ -202,7 +201,7 @@ acmc phen map -t snomed
8.
**Get a copy of the previous version from the repo**
8.
**Get a copy of the previous version from the repo**
Use the following
`acmc`
command to retrieve a copy of the previous version (
`v1.0.3`
) from the repository:
Use the following `acmc` command to retrieve a copy of the previous version (`v1.0.3`) from the repository:
```
bash
```
bash
acmc phen copy
-v
v1.0.3
acmc phen copy
-v
v1.0.3
...
@@ -210,7 +209,7 @@ acmc phen copy -v v1.0.3
...
@@ -210,7 +209,7 @@ acmc phen copy -v v1.0.3
9.
**Compare the previous version `v1.0.3` with the latest version**
9.
**Compare the previous version `v1.0.3` with the latest version**
Use the following
`acmc`
command to compare the previous version (
`v1.0.3`
) with the latest version in the repository:
Use the following `acmc` command to compare the previous version (`v1.0.3`) with the latest version in the repository:
```
bash
```
bash
python acmc.py phen diff
-old
./workspace/v1.0.3/
python acmc.py phen diff
-old
./workspace/v1.0.3/
...
@@ -218,7 +217,7 @@ python acmc.py phen diff -old ./workspace/v1.0.3/
...
@@ -218,7 +217,7 @@ python acmc.py phen diff -old ./workspace/v1.0.3/
10.
**Publish the phenotype at the next version**
10.
**Publish the phenotype at the next version**
Use the following
`acmc`
command to publish the phenotype at the next version:
Use the following `acmc` command to publish the phenotype at the next version:
```
bash
```
bash
acmc phen publish
acmc phen publish
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment