Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Construct all potential bond lists from a folding matrix associated with a biomolecular sequence
ResourceFunction["BuildBioSequenceBondListFromFoldingMatrix"][mat] produce bond lists satisfying a potential bonding from a matrix of allowed connections mat. |
Generate all bond lists from a folding matrix within a given bond neighborhood:
In[1]:= |
Out[1]= |
Decrease the constraint on the minimum distance sequences positions must be to be bonded:
In[2]:= |
Out[2]= |
For a larger matrix, the number of bond lists can grow to be quite large, so they are generally capped at one thousand:
In[3]:= |
Out[3]= |
The maximum number of items can be set to another count with the MaxItems option:
In[4]:= |
Out[4]= |
It is also possible to turn off any constraint on the maximum number of bond lists with either Infinity or All:
In[5]:= |
Out[5]= |
Folding matrices for this function can be obtained from the resource function BioSequenceFoldingMatrix:
In[6]:= |
Out[6]= |
In[7]:= |
Out[7]= |
The bond sequences built by this function can be added to the original sequence with BioSequenceModify:
In[8]:= |
Out[8]= |
Add each of the generated bond sequences to the sequence they came from and plot them all with BioSequencePlot:
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License