[Biojava-l] Using Blast2HTML
David Bourgais
david.bourgais at bioxpr.be
Mon Jun 26 15:18:02 UTC 2006
Hello
I would like to implement the Blast2HTML class.
But this method failed suring compilation :
public HTMLRenderer configureBlastN( PrintWriter poOut ) {
SimpleAlignmentStyler oStyler = new SimpleAlignmentStyler
( SimpleAlignmentStyler.SHOW_ALL );
String oRed = "FFA2A2";
oStyler.addStyle( "-", oRed );
oStyler.addStyle( "N", oRed );
oStyler.addStyle( "A", oRed );
oStyler.addStyle( "T", oRed );
oStyler.addStyle( "C", oRed );
oStyler.addStyle( "G", oRed );
AlignmentMarker oAlignmentMarker = new AlignmentMarker
( new ColourCommand() {
public boolean isColoured
( String poFirst, String poSecond ) {
if ( poFirst.equals( poSecond ) ) {
return false;
} else {
return true;
}
}
} // end ColourCommand
, oStyler
);
Properties oProps = new Properties();
oProps.put( "db", "nucl" );
DefaultURLGeneratorFactory durlgf = new DefaultURLGeneratorFactory();
HTMLRenderer oRenderer = new HTMLRenderer(poOut,
this.oStyleDefinition,
50,
durlgf,
oAlignmentMarker,
oProps);
return oRenderer;
}
My compiler told me :
The constructor HTMLRenderer(PrintWriter, String, int,
DefaultURLGeneratorFactory, AlignmentMarker, Properties) is undefined
How can I solve this problem.
Thank you very much for answer.
Regards.
David Bourgais
More information about the Biojava-l
mailing list