Knowledge Base

Article ID: 889 - Last Modified:

Is there a way of making a random selection of compounds from my database from the command line? Can it be done by specifying the number of compounds rather than the percentage?

This cannot be done directly. However, the utilities sdsubset and maesubset support arbitrary selection of compounds. You could then write a small script or program to generate random numbers in the desired range, and write them to a text file, which can then be used as input to these utilities with the -n option. The output from the utilities is the desired random subset.

You can make a random selection of compounds in Maestro.

Back to Search Results

Was this information helpful?

What can we do to improve this information?

To ask a question or get help, please submit a support ticket or email us at
Knowledge Base Search

Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles