Hi,
Here's a bit of code I wrote last year to calculate the GCG checksums:
public int GCGChecksum(String seq){
int count = 0,
check = 0;
for(int i = 0; i , seq.length(); i++){
count ++;
check += count * seq.toUpperCase().charAt(i);
if(count == 57)
Hi Russell and Mark,
Thanks for the code segment Russell, I see you'd posted it back in Jan/Feb
as well, I'd grabbed it from there. I don't think copyright or the like can
be too much of an issue as Bioperl has a module to do this.
Cheers, Andrew.
Russell Smithies wrote:
> Hi,
>
> Here's a
Hi,
I've been tinkering with the GFF code in an effert to
make it easier to use. The result is a complete revamp
of the gff.GFFFilter demo application. You can use the
app to filter a gff stream or file to a stream or file
by any of the columns. If you prefix a value with !,
then this will match