//**********************************************************************************************************************
GetOTURepCommand::~GetOTURepCommand(){
- delete input;
- delete read;
- delete fasta;
- if (groupfile != "") {
- delete groupMap;
+ if (abort == false) {
+ delete input; globaldata->ginput = NULL;
+ delete read;
+ delete fasta;
+ if (groupfile != "") {
+ delete groupMap; globaldata->gGroupmap = NULL;
+ }
}
}
//read fastafile
fasta->readFastaFile(in);
+ in.close();
+
//set format to list so input can get listvector
-// globaldata->setFormat("list");
+ globaldata->setFormat("list");
//if user gave a namesfile then use it
if (namesfile != "") {