Sage-Bionetworks/synapsebridgehelpers

Name: synapsebridgehelpers

Owner: Sage Bionetworks

Description: null

Created: 2017-05-12 16:36:43.0

Updated: 2017-08-15 20:43:57.0

Pushed: 2017-09-21 17:39:10.0

Homepage: null

Size: 54

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

synapsebridgeHelpers

This package contains helper functions for dealing with data in Synapse that has been generated from bridge apps.

The goal is to provide

Finding data for specific set of individuals

Individuals are identified by healthCodes in bridge but can optionally be associated with a externalId. But since the externalId doesn't have to be associated with every record (e.g. if the recordId is assigned after data has been contributed) we provide ways of identifying the healthCodes associated with an externalId anywhere in a list of tables.

rt synapseclient, synapsebridgehelpers
= synapseclient.login()

es = synapsebridgehelpers.get_tables(syn, 'syn3270406')
p = synapsebridgehelpers.externalIds2healthCodes(syn, tables['table.id'])

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.