Package org.helm.rest

Class ReadSequence


  • @Path("/Sequence")
    public class ReadSequence
    extends Object
    ReadSequence class to read sequence and transform this in HELMNotation
    Author:
    hecht
    • Constructor Detail

      • ReadSequence

        public ReadSequence()
    • Method Detail

      • generateHELMPeptide

        @Path("/PEPTIDE/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response generateHELMPeptide​(@PathParam("c")
                                                             String peptide)
                                                      throws org.helm.notation2.exception.ChemistryException
        Throws:
        org.helm.notation2.exception.ChemistryException
      • generateHELMRNA

        @Path("/RNA/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response generateHELMRNA​(@PathParam("c")
                                                         String rna)
                                                  throws org.helm.notation2.exception.ChemistryException
        Throws:
        org.helm.notation2.exception.ChemistryException