Article ID: 1519 - Last Modified: October 11, 2012
How do I delete records from a Phase database for molecules that are defined in a structure file?
If the titles of the structures in the structure file are the same as those in the database, you can use the following steps:
- Create a file of titles from the structure file. For example, if you have a Maestro file in which the titles are defined by the property
s_m_title, you can use the following command:
$SCHRODINGER/utilities/proplister -noheader -p s_m_title filename -o titles.txt
For other structure file formats or title properties, choose the appropriate property name for the-poption. To find out what the property names in the file are, use the-loption:
$SCHRODINGER/utilities/proplister -l filename
When you have the file of titles, check it to ensure that there is no white space before the first character of the title. If there is, edit the file to remove it. - Create a subset file from the titles:
$SCHRODINGER/phase_database database subset -titles titles.txt -osub subset - Delete the records from the database:
$SCHRODINGER/phase_database database delete -isub subset
If you are still using the old database format, you can create the subset file and delete the records as follows:
$SCHRODINGER/utilities/phasedb_subset -db database -titles titles.txt
-out subset
$SCHRODINGER/utilities/phasedb_manage -db database -delete -records
subset_phase.inp
If you need additional help, please email us at help@schrodinger.com.
Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles

