build_database_storage

classmethod DatabaseOTL.build_database_storage(storage_hdf5_fp, taxonomy_map_csv_fp, tree_newick_fp, stamp_dict, force=False, chunksize=500, delimiter='|', **kwargs)[source]

Factory method to build new database hdf5

Parameters
  • storage_hdf5_fp (str) – Output path for hdf5

  • taxonomy_map_csv_fp (str) – Path to taxonomy file

  • tree_newick_fp (str) – Path to FASTA sequences file

  • stamp_dict (dict) – Dictionary with metadata that will be stamped to the storage

  • force (bool) – Force output file overwrite

  • chunksize (int) – Sequence/Alignment data processing chunk size. Longer chunks are faster to process but require more memory.

  • delimiter (str) – Taxonomy map delimiter

  • **kwargs – Compatibility.

  • kwargs (Any) –

Returns

Return type

None if file was created successfully.