Janier,

Here is a snippet which should read in SCF files for you, you will have to
have BioJava 1.0 for this to work.

File file = new File(String "your path here");
InputStream stream = new FileInputStream(file);
Chromatogram scf= ChromatogramFactory.create(stream);
stream.close();
Alignment data = scf.getBaseCalls();
String seq=data.symbolListForLabel("dna").seqString();

Cheers,

Nick


On 18 February 2013 05:09, Janier J. Ramírez
<[email protected]>wrote:

> Yes that's ok, Now I need an example of how given the path of the scf
> file, get the secuence, to them parse it to fasta, or if I can do it
> directly from scf to fasta.
>
> Thanks for your time
> _______________________________________________
> Biojava-l mailing list  -  [email protected]
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>

_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to