Skip to content

Instantly share code, notes, and snippets.

View jeneaadams's full-sized avatar

Jenea I. Adams jeneaadams

View GitHub Profile
@jeneaadams
jeneaadams / sort_files_cavatica.py
Last active December 6, 2022 13:35
Python script using the Cavatica API to group local files into a specific folder in a Cavatica project
"""python script using the cavatica api to group certain files into a specific folder in a cavatica project.
Can be used to sort local files from upstream analysis into individual folders for downstream analysis with other tools within Cavatica.
Learn more about the cavtaica API at: https://github.com/kids-first/kf-cavatica-python-tools
or https://sevenbridges-python.readthedocs.io/en/latest/quickstart/"""
import sevenbridges as sbg
import argparse
import pandas as pd