Diff of /inst/aminolookup.m [d7a208] .. [40020c] Maximize Restore

  Switch to unified view

a/inst/aminolookup.m b/inst/aminolookup.m
...
...
51
51
52
  if isempty (data)
52
  if isempty (data)
53
    data.code = "ARNDCQEGHILKMFPSTWYVBZX*-";
53
    data.code = "ARNDCQEGHILKMFPSTWYVBZX*-";
54
    data.num = 1:25;
54
    data.num = 1:25;
55
55
56
    data.abbr = {"Ala" "Arg" "Asn" "Asp" "Cys" "Gln" "Glu" "Gly" "His" \
56
    data.abbr = {"Ala" "Arg" "Asn" "Asp" "Cys" "Gln" "Glu" "Gly" "His" ...
57
                 "Ile" "Leu" "Lys" "Met" "Phe" "Pro" "Ser" "Thr" "Trp" \
57
                 "Ile" "Leu" "Lys" "Met" "Phe" "Pro" "Ser" "Thr" "Trp" ...
58
                 "Tyr" "Val" "Asx" "Glx" "Xaa" "END" "GAP"};
58
                 "Tyr" "Val" "Asx" "Glx" "Xaa" "END" "GAP"};
59
59
60
    data.name = cell (numel (data.code), 3);
60
    data.name = cell (numel (data.code), 3);
61
    data.name(:,1) = {"Alanine" "Arginine" "Asparagine" "Aspartic acid" \
61
    data.name(:,1) = {"Alanine" "Arginine" "Asparagine" "Aspartic acid" ...
62
                      "Cysteine" "Glutamine" "Glutamic acid" "Glycine" \
62
                      "Cysteine" "Glutamine" "Glutamic acid" "Glycine" ...
63
                      "Histidine" "Isoleucine" "Leucine" "Lysine" \
63
                      "Histidine" "Isoleucine" "Leucine" "Lysine" ...
64
                      "Methionine" "Phenylalanine" "Proline" "Serine" \
64
                      "Methionine" "Phenylalanine" "Proline" "Serine" ...
65
                      "Threonine" "Tryptophan" "Tyrosine" "Valine" \
65
                      "Threonine" "Tryptophan" "Tyrosine" "Valine" ...
66
                      "Asparagine" "Glutamine" "Any amino acid" \
66
                      "Asparagine" "Glutamine" "Any amino acid" ...
67
                      "Termination codon (translation stop)" \
67
                      "Termination codon (translation stop)" ...
68
                      "Gap of unknown length"}';
68
                      "Gap of unknown length"}';
69
    ## Alternate names
69
    ## Alternate names
70
    data.name{4,2} = "Aspartate";
70
    data.name{4,2} = "Aspartate";
71
    data.name{7,2} = "Glutamate";
71
    data.name{7,2} = "Glutamate";
72
    data.name{21,2} = "Aspartic acid";
72
    data.name{21,2} = "Aspartic acid";
...
...
77
      if isempty (data.name{i})
77
      if isempty (data.name{i})
78
        data.name{i} = "";
78
        data.name{i} = "";
79
      endif
79
      endif
80
    endfor
80
    endfor
81
81
82
    data.seq = {"GCU GCC GCA GCG" "CGU CGC CGA CGG AGA AGG" "AAU AAC" \
82
    data.seq = {"GCU GCC GCA GCG" "CGU CGC CGA CGG AGA AGG" "AAU AAC" ...
83
                "GAU GAC" "UGU UGC" "CAA CAG" "GAA GAG" \
83
                "GAU GAC" "UGU UGC" "CAA CAG" "GAA GAG" ...
84
                "GGU GGC GGA GGG" "CAU CAC" "AUU AUC AUA" \
84
                "GGU GGC GGA GGG" "CAU CAC" "AUU AUC AUA" ...
85
                "UUA UUG CUU CUC CUA CUG" "AAA AAG" "AUG" "UUU UUC" \
85
                "UUA UUG CUU CUC CUA CUG" "AAA AAG" "AUG" "UUU UUC" ...
86
                "CCU CCC CCA CCG" "UCU UCC UCA UCG AGU AGC" \
86
                "CCU CCC CCA CCG" "UCU UCC UCA UCG AGU AGC" ...
87
                "ACU ACC ACA ACG" "UGG" "UAU UAC" "GUU GUC GUA GUG" \
87
                "ACU ACC ACA ACG" "UGG" "UAU UAC" "GUU GUC GUA GUG" ...
88
                "AAU AAC GAU GAC" "CAA CAG GAA GAG" "All codons" \
88
                "AAU AAC GAU GAC" "CAA CAG GAA GAG" "All codons" ...
89
                "UAA UAG UGA" "NA"};
89
                "UAA UAG UGA" "NA"};
90
  endif
90
  endif
91
91
92
  searchtype = "";
92
  searchtype = "";
93
  value = "";
93
  value = "";