You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the following commands to reproduce this analysis:
26
+
```{bash}
27
+
snakemake get_ght_data # Downloads GH Torrent data from figshare. Be aware that the file is quite large, and downloading can take 1-2 hours.
28
+
29
+
snakemake run_analysis # Run our pipeline; generate embeddings, clusters, tsne graph, motif report, etc.
30
+
31
+
snakemake generate_images # Generate images of our most important findings.
32
+
```
33
+
34
+
To change parameters from the command line, simply put `--config param=value` after your snakemake call. For a full list of configurable parameters, see the `config.json` file in the root directory of this project.
35
+
For example, if you wanted to run the analysis with 5 workers instead of the default, run:
To get credentials file for GitHub Torrent Google Cloud (necessary for re-running the pipeline to generate images):
50
+
First, to get credentials file neccessary for pulling the GitHub Torrent from Google Cloud (necessary for re-generating images for our analysis):
36
51
37
-
- Follow the instructions here to create and download a credentials file: https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials
38
-
- Change the name of the file to `credentials_file.json` and put it in the root directory of the project (a sample file with the same name is included as a reference).
52
+
- Follow the instructions under 'Set up a service account' to create and download a credentials file: https://cloud.google.com/video-intelligence/docs/common/auth
53
+
- Change the name of the file to `credentials_file.json` and put it in the root directory of the project (a sample file with the name`credentials_file_EXAMPLE.json` is included as a reference).
0 commit comments