- Install dependencies:
pip install pygsheets
pip install pandas
-
Ask for ENCODE account credentials and client_secret file (client_secret_xxxx.json) allowing scripts to use Google API.
-
Authorize scripts to access Google Drive/Sheets for particular account:
import pygsheets
gc = pygsheets.authorize(outh_file='client_secret_xxxx.json')
# Follow OAuth procedure.
Drop resulting sheets.googleapis.com-python.json in home folder (or specify path with --apikey argument).
- Run mapping and IDR report:
$ python mapping_report.py --key www --assembly GRCh38 --create_google_sheet
$ python idr_report_experiments.py --all --key www --assembly GRCh38 --create_google_sheet
Note --released
, which only shows results for released experiments, will bypass need for --key
and DNAnexus credentials.
- Examine results posted to Google Sheets.