flotilla.datapackage module

Functions to deal with creation and loading of datapackages

flotilla.datapackage.check_if_already_downloaded(url, datapackage_name=None, download_dir='/home/travis/flotilla_projects')[source]

If a url filename has already been downloaded, don’t download it again.

Parameters:

url : str

HTTP url of a file you want to downlaod

Returns:

filename : str

Location of the file on your system

flotilla.datapackage.datapackage_url_to_dict(datapackage_url)[source]
flotilla.datapackage.make_study_datapackage(study_name, metadata, expression_data=None, splicing_data=None, spikein_data=None, mapping_stats_data=None, title='', sources='', license=None, species=None, flotilla_dir='/home/travis/flotilla_projects', metadata_kws=None, expression_kws=None, splicing_kws=None, spikein_kws=None, mapping_stats_kws=None, version=None, expression_feature_kws=None, expression_feature_data=None, splicing_feature_data=None, splicing_feature_kws=None, gene_ontology=None, supplemental_kws=None, host='https://s3-us-west-2.amazonaws.com/', host_destination='flotilla-projects/')[source]

Example code for making a datapackage for a Study

flotilla.datapackage.name_to_resource(datapackage, name)[source]

Get resource with specified name in the datapackage

Olga B. Botvinnik is funded by the NDSEG fellowship and is a NumFOCUS John Hunter Technology Fellow.
Michael T. Lovci was partially funded by a fellowship from Genentech.
Partially funded by NIH grants NS075449 and HG004659 and CIRM grants RB4-06045 and TR3-05676 to Gene Yeo.