Skip to content

Commit 7059687

Browse files
committed
Updated docs
1 parent 91ee42d commit 7059687

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
# regdriver
2-
regDriver detect functional somatic mutaionts
2+
regDriver to detect functional somatic mutaionts
3+
4+
## Required tools and modules
5+
6+
The following packages are required to run the regDriver method:
7+
- Python 2.7: we recommend installing it from anaconda.com
8+
- bedtools v25.9
9+
- pybedtools (v0.7.8): for processing the annotation data files (e.g. conda install pybedtools=0.7.8 -c bioconda)
10+
- The following python packages are also required to run the helper modules:
11+
- requests
12+
- userlib
13+
- numpy
14+
15+
16+
## Run the regDriver
17+
18+
```python regDriver.py regDriver_params.conf```
19+
20+
21+
A copy of the regDriver_params.conf file that contains all parameters and options for the file can be found above
22+

regDriver.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
import shutil
2121

2222
def usage():
23-
return "***Usage***\n python regDriver.py [param=value] regDriver_params.conf_file (priority is given to the command line arguments then the input params file"
23+
print("***Usage***\n python regDriver.py [param=value] regDriver_params.conf_file (priority is given to the command line arguments then the input params file)")
24+
sys.exit(0)
2425

2526
def map_cellNames_to_originTypes(originType_cell_dict_input_file):
2627

@@ -459,11 +460,10 @@ def get_value(str):
459460
if __name__ == '__main__':
460461

461462
params = get_params(sys.argv)
462-
print("Given params")
463-
print(params)
464463
if len(params.keys())==0:
465464
usage()
466-
sys.exit(0)
465+
print("Given params", params)
466+
467467
run_training = get_value(params['run_training_arg'])
468468
take_abs_entropy_diff = get_value(params['take_abs_entropy_diff_arg'])
469469
use_gene_expression_for_scoring = get_value(params['use_gene_expression_for_scoring_arg'])

0 commit comments

Comments
 (0)