The config Module
This helps configure the DANSy workspace especially when looking for default data structures.
- dansy.config.create_DANSy_dirs(target_dir)[source]
Checks and/or creates a DANSY_DATA folder in the provided directory that DANSy will look at for any general data.
- Parameters:
- target_dir: str
The directory where the DANSy data folder should be generated in and/or checked for the existence of
- dansy.config.update_proteome_version(version, default=True)[source]
Updates the proteome reference file version that will be used for analysis (i.e. imported for DANSy to use).
- Parameters:
- version: str
The suffix (or full name) of the file(s) for the default reference files that dansy will look at.
- default: bool (optional)
Whether the change in version is to be kept as the new default version used afterwards