RichSequence.IOTools.writeFasta Namespace question

Katerina Stillou <[email protected]>
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
Hello,
I would like to ask a question and hopefully it won't be too silly. I've
been trying to write a single DNA sequence in FASTA format but I am having a
problem. First of all, I'm using the following code:
 Sequence dna;
        try {
            dna = DNATools.createDNASequence("tgtgcac","dna_1");
            RichSequence.IOTools.writeFasta(System.out, dna, null);
        }
The output is like this:
>lcl|dna_1.0|
tgtgcac
The problem here is that that I don't want to use Namespace. In fact I want
the symbol > to be followed by  "dna_1". Is there a way to achieve this?
Thanks in advance,
Katerina
_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.