#------------------- GenBank XML ( 10/ 4/04) -------------------------- # Note: This menu requires the script SHound.fixGenBank.py. # SHoundGetGenBankffList omits '//' characters from the end # of GenBank entries. Since these characters are required to # indicate the end of an entry, SHound.fixGenBank.py adds them # to the SHound output. When SHound is fixed, this script # can be deleted. item: GenBank XML file from GI itemmethod: python $BIRCH/script/flat2list.py in1 in1.nam; (leash -mn SHoundGetXMLSeqEntry -mpf in1.nam -of in1.xml; rm in1.nam; $WHERE) & itemhelp:doc/dGDE/README.Leash arg:WHERE arglabel:WHERE TO SEND OUTPUT argtype:chooser # If GenBank file, read directly, otherwise, convert to GenBank. # Need to fix Bluejay. Filename must be a fully qualified path. #argchoice:Bluejay:(readseq -fXML -o=in1.xml in1.gen; bluejay file://in1.xml; rm in1.*)& argchoice:Textedit window:($GDE_TEXTEDIT in1.xml;rm in1.*) & argchoice:Output file:mv in1.xml $OUTFILE; echo ' SEQHOUND - GET completed' argvalue:0 arg:OUTFILE arglabel:Output file name argtype:text in:in1 informat:flat