ecl-logo Documentation

ToStrand

ToStrand[seq]str

returns a single strand containing one or more motifs, specified by seq.

ToStrand[seqs]str

returns a list of strands where each strand contains the motifs defined in the sublist seqs.

ToStrand[struct]strs

extracts the list of strands from 'struct'.

Details

  • List of sequence inputs are treated as motifs in a single strand
  • Use double list to receive multiple strands
  • Listable over Polymer and Motif options
  • Options will have their dimensions expanded to match input list
  • Same Labels are appeneded with integers to make all labels unique
  • Input
    Output
    General Options

Examples

Basic Examples  (5)

Format a sequence as a Strand:

Pull strands out of a Structure:

Create Strand of given length:

Turn a list of sequences into a Strand with multiple motifs. Use Map option to return list of strands:

Specify polymer type and motif name:

Additional Examples  (5)

Peptide input:

Mixed list of inputs:

Determines polymer type when sequence is non-ambiguous:

Given a structure with multiple strands:

Given list of structures:

Options  (6)

Map  (1)

Given a list of strands, use Map->True to return a list of strands instead of a single Strand with multiple motifs:

Motif  (1)

Specify motif name:

Polymer  (1)

Specify polymer type:

Replace  (3)

Use Replace option to replace paired bases with "X":

Given bonds in StrandSpan form:

Nothing gets replaced if no paired bases present:

Messages  (3)

InvalidSequence  (3)

Given invalid sequence:

Given invalid strand:

Given invalid structure: