-
Notifications
You must be signed in to change notification settings - Fork 3
Exporting and publishing data
krassowski edited this page Feb 15, 2017
·
19 revisions
Activate the virtual environment and enter website
directory
source virtual_environment/bin/activate
cd website
Check what is available for export. To see categories type:
./manage.py export --help
To see what is available in mutations
category use:
./manage.py export mutations --help
Run following command to export mutations from TCGA dataset:
./manage.py export mutations --source cancer
You can restrict mutations to these which appear in primary isoforms only:
./manage.py export mutations --source cancer --only_primary_isoforms
When the process is finished you will see a message with location of the output file.
First move the file to a dictionary which is hosted publicly:
mkdir -p static/exported
mv exported/<name_of_exported_file> static/exported/<name_of_exported_file>
Then login to the CMS and add appropriate link to "Downloads" page.