
/**
 * Isolate strand creation from strand reading. By constructing
 * a reader with a specific factory, we get different strands.
 * 
 * @author Owen Astrachan
 *
 */
import org.biojava.bio.seq.Sequence;

public interface IStrandFactory {
    /**
     * Create a strand from a sequence of dna and a name.
     * @param dna is the dna sequence for this strand
     * @param name is the name of the strand
     * @return a new strand constructed from paramters
     */
     public IStrand createStrand(String dna, String name);
    
     /**
      * Create a strand from a org.biojava Sequence
      * @param s is the sequence
      * @return the Strand created from the sequence
      */
     public IStrand createStrand(Sequence s);
}
