Re: Get mol2 file from obminimize

View: New views
1 Messages — Rating Filter:   Alert me  

Re: Get mol2 file from obminimize

by Izhar Wallach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems there is a hidden flag for that. Use -o filename.mol2 to get the output in a different format.
It is just not mentioned in the usage output for some reason...

From obminimize.ccp:
...
if (strncmp(option.c_str(), "-o", 2) == 0) {
        oext = argv[i] + 2;
        if(!*oext) {
          oext = argv[++i]; //space left after -o: use next argument
          ifile++;
        }

        format_out = conv.FindFormat(oext);
        ifile++;
  }
 ...

-
Izhar

> But the terminal output geometry from obminimize is always in PDB
> format, isn't it?!


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@...
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss