public void setBlastProgram ( BlastProgramEnum program ) { if ( BlastProgramEnum . megablast != program ) { setAlignmentOption ( PROGRAM , program . name ( ) ) ; removeAlignmentOption ( MEGABLAST ) ; } else { setAlignmentOption ( PROGRAM , BlastProgramEnum . blastn . name ( ) ) ; setAlignmentOption ( MEGABLAST , "on" ) ; } }
Sets the program to be used with blastall