rnaglib.utils.download_graphs¶
- rnaglib.utils.download_graphs(redundancy='nr', version='1.0.0', annotated=False, chop=False, overwrite=False, data_root=None, verbose=False, get_pdbs=False, debug=False)[source]¶
Based on the options, get the right data from the latest release and put it in download_dir.
- Parameters:
redundancy – Whether to include all RNAs or just a non-redundant set as defined by BGSU
annotated – Whether to include graphlet annotations in the graphs. This will also create a hashing directory and table
overwrite – To overwrite existing data
download_dir – Where to save this data. Defaults to ~/.rnaglib/
store_pdbs – Whether to store assocaited PDBs in ~/.rnaglib/structures
- Returns:
the path of the data along with its hashing.