Package org.helm.rest

Class RestFasta


  • @Path("/Fasta")
    public class RestFasta
    extends Object
    RestFasta
    Author:
    hecht
    • Constructor Detail

      • RestFasta

        public RestFasta()
    • Method Detail

      • generateFasta

        @Path("/Produce/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response generateFasta​(@PathParam("c")
                                                       String helmNotation)
      • generateFastaPost

        @Path("/Produce")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response generateFastaPost​(@FormParam("HELMNotation")
                                                           String helm)
      • generateHELMInput

        @Path("/Read")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response generateHELMInput​(@QueryParam("PEPTIDE")
                                                           String peptide,
                                                           @QueryParam("RNA")
                                                           String rna)
                                                    throws org.helm.notation2.parser.exceptionparser.NotationException,
                                                           IOException,
                                                           org.jdom2.JDOMException,
                                                           org.helm.notation2.exception.ChemistryException
        Throws:
        org.helm.notation2.parser.exceptionparser.NotationException
        IOException
        org.jdom2.JDOMException
        org.helm.notation2.exception.ChemistryException
      • generateHELMInputPostRNA

        @Path("Read/RNA")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response generateHELMInputPostRNA​(@FormParam("RNA")
                                                                  String rna)
                                                           throws org.helm.notation2.parser.exceptionparser.NotationException,
                                                                  IOException,
                                                                  org.jdom2.JDOMException,
                                                                  org.helm.notation2.exception.ChemistryException
        Throws:
        org.helm.notation2.parser.exceptionparser.NotationException
        IOException
        org.jdom2.JDOMException
        org.helm.notation2.exception.ChemistryException
      • generateHELMInputPostPEPTIDE

        @Path("Read/PEPTIDE")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response generateHELMInputPostPEPTIDE​(@FormParam("PEPTIDE")
                                                                      String peptide)
                                                               throws org.helm.notation2.exception.ChemistryException
        Throws:
        org.helm.notation2.exception.ChemistryException
      • convertIntoRNAAnalogSequence

        @Path("/Convert/RNA/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response convertIntoRNAAnalogSequence​(@PathParam("c")
                                                                      String notation)
      • convertIntoPEPTIDEAnalogSequence

        @Path("/Convert/PEPTIDE/{c}")
        @GET
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response convertIntoPEPTIDEAnalogSequence​(@PathParam("c")
                                                                          String notation)
      • convertIntoRNAAnalogSequencePost

        @Path("/Convert/RNA")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response convertIntoRNAAnalogSequencePost​(@FormParam("HELMNotation")
                                                                          String helm)
      • convertIntoPEPTIDEAnalogSequencePost

        @Path("/Convert/PEPTIDE")
        @POST
        @Produces("application/json")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response convertIntoPEPTIDEAnalogSequencePost​(@FormParam("HELMNotation")
                                                                              String helm)