Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate the nucleotide universal identifier (nuID) of an oligonucleotide sequence
ResourceFunction["NuIDEncode"][bioseq] encodes the "DNA" BioSequence bioseq as a nucleotide universal identifier (nuID) string. | |
ResourceFunction["NuIDEncode"]["seq"] encodes the DNA oligonucleotide represented by "seq". |
NuIDEncode accepts string arguments:
In[3]:= | ![]() |
Out[3]= | ![]() |
The resource function NuIDDecode can be used to decode a nuID encoded by NuIDEncode:
In[4]:= | ![]() |
Out[4]= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
NuIDEncode does not evaluate for BioSequence objects with degenerate letters:
In[6]:= | ![]() |
Out[6]= | ![]() |
Use BioSequenceQ to check if a BioSequence is fully specified:
In[7]:= | ![]() |
Out[7]= | ![]() |
NuIDEncode does not evaluate for RNA sequences:
In[8]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[9]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License