Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SooLee committed Jul 18, 2018
1 parent 8a6b62d commit bad2c15
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ TIBANNA_AWS_REGION # aws region (e.g. us-east-1)
AWS_ACCOUNT_NUMBER # aws account number
```

If you're using a forked repo or want to use a specific branch set the following variables accordingly and export them. If you're using default (4dn-dcic/tibanna, master), no need to set these variables.
```
export TIBANNA_REPO_NAME=4dn-dcic/tibanna
export TIBANNA_REPO_BRANCH=master
```

Then, set up user group and permission on AWS by using `invoke setup_tibanna_env`.
```
invoke setup_tibanna_env --buckets=<bucket1>,<bucket2>,... # add all the buckets your input/output files and log files will go to. The buckets must already exist.
Expand Down
4 changes: 2 additions & 2 deletions core/run_task_awsem/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"instance_type": "",
"copy_to_s3": true,
"launch_instance": true,
"password": "dragonfly",
"password": "",
"log_bucket": "tibanna-output",
"key_name": ""
"key_name": "4dn-encode"
}
}
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
NEGATIVE = 'https://gist.github.com/j1z0/bbed486d85fb4d64825065afbfb2e98f/raw/negative.txt'
AMI_ID_CWL_V1 = 'ami-31caa14e'
AMI_ID_CWL_DRAFT3 = 'ami-cfb14bb5'
TIBANNA_REPO_NAME = '4dn-dcic/tibanna'
TIBANNA_REPO_BRANCH = 'master'
TIBANNA_REPO_NAME = os.environ.get('TIBANNA_REPO_NAME', '4dn-dcic/tibanna')
TIBANNA_REPO_BRANCH = os.environ.get('TIBANNA_REPO_BRANCH', 'master')


def get_random_line_in_gist(url):
Expand Down

0 comments on commit bad2c15

Please sign in to comment.