[Biojava-l] Help
Matthew Pocock
matthew_pocock at yahoo.co.uk
Mon Jul 28 18:23:51 EDT 2003
Hi Hailong,
List is nicer than arrays - use something like this:
List matricies = new ArrayList();
... loop that loads the next matrix in ...
matricies.add(matrix);
... end of matrix loading loop ...
See java.util.List and java.util.Collection - also, Iterator is your
friend. The sun web site has a tutorial on collections.
Matthew
Hailong Meng wrote:
> Hi, Mark,
>
> Thank you very much for your suggestions! I am so excited when I find
> BioJava. It is a wonderful place. Maybe I am new here, it is a little
> bit hard for me to find the classes I want to use. Hopefully, it will
> get better when I stay here a little longer.
>
> I have one more question. I plan to search a list of motifs against a
> list of sequences. I got motifs from MEME and put all the motif
> matrixes to a file. I guess I need to put all these motif matrixes to
> a array of WeightMatrix. How can I do that?
>
> Thanks.
>
> Hailong
>
--
BioJava Consulting LTD - Support and training for BioJava
http://www.biojava.co.uk
More information about the Biojava-l
mailing list