Skip to main content

Lookup tables

Comments

6 comments

  • Richard Moir

    Most of this is in jebl which is included with the development kit.

    It sounds like you need the classes Nucleotides, AminoAcids and GeneticCode in package jebl.evolution.sequences.

    The color schemes aren't in the public API unfortunately. If you want, I'll be happy to send you java files for any color schemes you need.

    0
  • Adrian

    Hi Richard,

    Thank you for the info. I hope those will do. I would appreciate the java files for color schemes as it would be tedious to retype those from scratch.

     

    Cheers

    0
  • Adrian

    Hi Richard,

    Thank you for the info. I hope those will do. I would appreciate the java files for color schemes as it would be tedious to retype those from scratch.

     

    Cheers

    0
  • Richard Moir

    From the Colors dropdown in the sequence view, which color scheme(s) would you like the code for?

    0
  • Adrian

    for translation ARND (default colors for for Translation), ARND Hydrophobicity and Polarity
    for nucleotides default acgt (i guess that includes the ambiguity codes.

     

     

    Also I'm wondering if you use Monospaced fonts or just little rectangles with centered non-monospaced letters. My sequence letters  are monospaced to keep the alignment but the rendering is not so nice,

    0
  • Richard Moir

    Try this: https://assets.geneious.com/developer/core-src/OpenColors.java

    We use a variable width font and center it ourselves to get the best result but that is a lot of work. More than you'd expect, thanks to the quirks of Java 2D. I would recommend sticking with a monospaced font.

    0

Please sign in to leave a comment.