A repo that includes code to automate the concatenation of google sheets into a single master google sheet. It includes a master extraction sheet, master sequencing sheet, and master sample sheet.
- Clone this repo
- Open terminal and navigate to repo
- install Conda environment and requirements (using
environment.yaml) - Get Google authentication credentials and dowload json file and save as
credentials.json. Must save it as this so.gitignorewill ignore it. Warning: DO NOT PUSH credentials to github. - Create
config.yamlfile in theconfigsfolder - Get the google authentication email address should be something like 'python-api@zalmanek-brynn.iam.gserviceaccount.com' and share each sheet you are wanting to concatenate with that email, including the destination sheet. This allows you to access them through the API.
- Run
main.py --config <path to config file> --creds <path to json credentials file>in the terminal. - Look at destination master sheet url and inspect for correctness.