[Biojava-l] BioJava 1.5 in Matlab and DNATools Class

Mark Schreiber markjschreiber at gmail.com
Sat Sep 1 01:46:41 UTC 2007


Hi -

I know that some parts of matlab use biojava. Probably version 1.4 or
1.3. It may be that it is using this jar file instead of the one you
want it not. I'm not a matlab expert so I don't know how you can
resolve this.

- Mark

On 9/1/07, Andrew Craig <andrew.craig at cambridgebluegnome.com> wrote:
> Dear List,
>
> I am trying to use BioJava-1.5 from Matlab (7.2), in order to retrieve the
> raw chromatogram data from some .AB1 files.
>
> I have added biojava-1.5.jar to the Matlab java class path. I then import
> the following classes.
> import java.io.*;
> import java.util.*;
> import org.biojava.bio.*;
> import org.biojava.bio.chromatogram.*;
> import org.biojava.bio.program.abi.*;
> import org.biojava.bio.seq.*;
> import org.biojava.bio.seq.impl.*;
> import org.biojava.bio.seq.io.*;
> import org.biojava.bio.symbol.*;
>
> Next I read the raw chromatogram file with
>
> myTrace     = ChromatogramFactory.create(myFile);
>
> Then I try to retrieve the raw data for the a base using
>
> raw_a       = myTrace.getTrace(DNATools.a());
>
> This works fine for a, t and g bases. My problem is when I call DNATools.c()
> it returns the following error
>
> ??? No method 'c' with matching signature found for class
> 'org.biojava.bio.seq.DNATools'
>
> Can anyone diagnose what is wrong and why only the .c method is giving an
> error? I can get around this by using DNATools.complement(G) but I would
> prefer to understand what is going on and get things working properly.
>
> Best regards,
>
> Andrew Craig
>
> ____________________________________________________________________
>
> This email is confidential and privileged.If you are not the
> intended recipient pleaseaccept our apologies; please do not
> disclose, copy, or distribute information in this email nor take any
> action in reliance on its contents: to do so is strictly prohibited
> and may be unlawful.
>
> Please inform us that this message has gone astray before deleting
> it.
>
> Thank you for your co-operation.
>
> Andrew Craig                andrew.craig at cambridgebluegnome.com
> BlueGnome Limited           http://www.cambridgebluegnome.com
>
> Breaks House
> Mill Court
> Great Shelford
> Cambridge
> CB2 5LD
>
> Tel:       01223 844441                Fax:      01223 844445
> US:       1 800 418 9656
> ____________________________________________________________________
>
>
>
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>



More information about the Biojava-l mailing list