Rename FragMaps Directory
Users may wish to rename their SILCS FragMaps directory. This can be achieved conveniently using the following command:
Use an unused destination and simple sibling directory names. Renaming moves
the original tree and updates its viewing files, but not saved mapsdir
paths in other projects; retain the generated backup.
$SILCSBIODIR/utils/rename_fragmaps_directory.sh <current_fragmapsdir> <new_fragmapsdir> \
<current_protname> <new_protname>
Required parameters:
Path to original SILCS FragMaps directory (
<current_fragmapsdir>)Path to renamed SILCS FragMaps directory (
<new_fragmapsdir>)
Optional parameters:
Name of original protein PDB file (
<current_protname>)Name of renamed protein PDB file (
<new_protname>)
Examples:
$SILCSBIODIR/utils/rename_fragmaps_directory.sh silcs_fragmaps_1abc silcs_fragmaps_2xyz
$SILCSBIODIR/utils/rename_fragmaps_directory.sh silcs_fragmaps_1abc silcs_fragmaps_2xyz 1abc_fixed 2xyz_fixed
Input/output contract
This operation changes names, not coordinates or grid values. It takes an
existing bundle and a new bundle name; optional protein arguments are naming
stems without .pdb. It creates <original-directory>_backup.tgz, renames
matching files, updates view_maps* references, and moves the original tree
to the new directory. It does not update other projects’ saved mapsdir
paths. See CLI Inputs, Outputs, and Workflow Handoffs.
Use simple sibling directory names, verify that the destination is unused, and inspect the renamed PDB, map stems, and viewing scripts before using the bundle. Keep the backup until downstream tools have read the new bundle successfully.