------------------- Ancestors ( 4/10/06) -------------------------- item:Get All Taxonomy Ancestors itemmethod: python $BIRCH/script/flat2list.py in1 in1.nam; leash.listarray in1.nam in1.flat taxid -mn SHoundGetAllTaxAncestors; rm in1.nam; $WHERE itemhelp:doc/dGDE/SeqHound_API_Functions.html#SHoundGetAllTaxAncestors itemopen:browser.csh in:in1 informat:flat insave: arg:WHERE arglabel:Send output to argtype:chooser # Problem with Linux-Intel version of GDE (doesn't affect Solaris): # If we declare an 'out' file, then it must always exist, # even if we don't use it. Otherwise, gde will look for the file # after it is done, and crash. argchoice:New GDE window:echo '' > out1; (dgde in1.flat; $RM_CMD -f in1*)& argchoice:Current GDE window:mv in1.flat out1; rm in1* argchoice:Output file:echo '' > out1; mv in1.flat $OUTFILE; rm in1*; echo ' Get SHoundGetAllTaxAncestors completed' argvalue:0 arg:OUTFILE arglabel:Output file name argtype:text out:out1 outformat:flat