aboutsummaryrefslogtreecommitdiffstats
path: root/ncbi-dna.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commit5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch)
tree540afc30c51da085f5bd8ec3f4c89f6496e7900d /ncbi-dna.txi
parent8466d8cfa486fb30d1755c4261b781135083787b (diff)
downloadslib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz
slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'ncbi-dna.txi')
-rw-r--r--ncbi-dna.txi8
1 files changed, 8 insertions, 0 deletions
diff --git a/ncbi-dna.txi b/ncbi-dna.txi
index 9a5babc..160b9ee 100644
--- a/ncbi-dna.txi
+++ b/ncbi-dna.txi
@@ -5,17 +5,20 @@ Reads the NCBI-format DNA sequence following the word @samp{ORIGIN}
from @var{port}.
@end defun
+
@defun ncbi:read-file file
Reads the NCBI-format DNA sequence following the word @samp{ORIGIN}
from @var{file}.
@end defun
+
@defun mrna<-cdna str
Replaces @samp{T} with @samp{U} in @var{str}
@end defun
+
@defun codons<-cdna cdna
Returns a list of three-letter symbol codons comprising the protein
@@ -23,12 +26,14 @@ sequence encoded by @var{cdna} starting with its first occurence of
@samp{atg}.
@end defun
+
@defun protein<-cdna cdna
Returns a list of three-letter symbols for the protein sequence
encoded by @var{cdna} starting with its first occurence of @samp{atg}.
@end defun
+
@defun p<-cdna cdna
Returns a string of one-letter amino acid codes for the protein
@@ -36,6 +41,7 @@ sequence encoded by @var{cdna} starting with its first occurence of
@samp{atg}.
@end defun
+
These cDNA count routines provide a means to check the nucleotide
sequence with the @samp{BASE COUNT} line preceding the sequence from
NCBI.
@@ -47,8 +53,10 @@ Returns a list of counts of @samp{a}, @samp{c}, @samp{g}, and
@samp{t} occurrencing in @var{cdna}.
@end defun
+
@defun cdna:report-base-count cdna
Prints the counts of @samp{a}, @samp{c}, @samp{g}, and @samp{t}
occurrencing in @var{cdna}.
@end defun
+