Knowledge Base

Article ID: 241 - Last Modified: May 5, 2011

Is there a way for maesubset to skip the N last structures?

Not directly. The following simple bash script should do what you want (you can name it maesubskiplast.sh, for example):

#! /bin/bash
END=$((`grep f_m_ct $1| wc -l` - $2))
$SCHRODINGER/utilities/maesubset $1 -n 1:$END


The usage would be:

maesubskiplast.sh file.mae N

where N is the number of structures to skip at the end.

Keywords: maesubset, skip, structures

Back to Search Results

Was this information helpful?

What can we do to improve this information?


If you need additional help, please email us at help@schrodinger.com.
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