[Biojava-l] how to calculate consensus from a fasta file

2004-01-13 Thread Eric BELLARD
Hi, I'd like to first thank you all for your great job on this project. I'm using biojava in a project to store some sequencing result. In my application the user upload sequences from a fasta file, and I like to build an alignment from it. With your project, I can easily parse the fasta file a

Re: [Biojava-l] how to calculate consensus from a fasta file

2004-01-13 Thread mark . schreiber
Hi Eric - I'm not sure if this will solve your problem but you could make an Alignment object from the sequences and then use the methods of DistributionTools to get a Distribution object for each position in the Alignment. These distributions will tell you the frequency of each base at each p