ecl-logo Documentation

StructureTake

StructureTake[comp_Structure, strInt_Integer, interval:{_Integer,_Integer}]seq_String

extract a sequence from a Structure.

Details

    Input
    Output

Examples

Basic Examples  (3)

Pull first motif from first Strand:

Pull bases 1-4 from first motif in first Strand:

Pull from second Strand:

Additional Examples  (3)

If not specifying motif index, starts counting from beginning of Strand:

If not specifying motif index, bases count from start of Strand and can cross motifs:

Pull from second motif: