Skip to content

Instantly share code, notes, and snippets.

View Avantol13's full-sized avatar
🎹

Alexander VanTol Avantol13

🎹
  • CTDS - University of Chicago
View GitHub Profile
#!/usr/bin/env python
from gimpfu import *
# can run in python console with default values with:
# pdb.python_fu_export_eps("", "test23.eps", 0, 0)
def export_eps(folder, filename, width, height):
folder = folder or "F:\\_GoogleDrive\\Other Projects\\Board Games\\Food Game\\_cards"
width = width or 699.1
import argparse
import os
import sys
import sys
import logging
import asyncio
from gen3.tools import metadata
# TODO: Maybe this script to its own repo to be distributed properly
"""
Populate ACCESS User Management System with Datasets
Also generate commands for linking Gen3 Google Groups based on mapping file provided
* You need gen3 package so `pip install gen3`
* Download TSV of current production ACCESS list after logging in as Super Admin
* `generate_ACCESS_info` in `generate.py` to output a new `ACCESS_info.txt`
* A list of new/updated studies in the format like:
* phs_consent, authid, full_name
* Log into the commons, download an API key and set the filepath API_KEY_FILEPATH
"""
Script to get initial metadata for BDCat studies from Gen3 Graph and by scraping dbGaP.
Available tags:
Program
- TOPMed
- COVID 19
Study Registration
components:
schemas:
AggregatedResponses:
properties:
commonsA:
type: object
$ref: '#/components/schemas/AggregatedResponse'
commonsB:
type: object
$ref: '#/components/schemas/AggregatedResponse'