public class PrideWebService extends Object
Constructor and Description |
---|
PrideWebService() |
Modifier and Type | Method and Description |
---|---|
static int |
getAssayCount(String projectAccession)
Returns the assay count for a given project.
|
static uk.ac.ebi.pride.archive.web.service.model.assay.AssayDetail |
getAssayDetail(String assayAccession)
Returns the assay details for a given assay.
|
static uk.ac.ebi.pride.archive.web.service.model.assay.AssayDetailList |
getAssayDetails(String projectAccession)
Returns the assay details for a given project.
|
static int |
getAssayFileCount(String assayAccession)
Returns a count of file details for a given assay.
|
static uk.ac.ebi.pride.archive.web.service.model.file.FileDetailList |
getAssayFileDetails(String assayAccession)
Returns a list of file details for a given assay.
|
static int |
getProjectCount(String query,
PrideFilter... filters)
Returns a project count for the given criteria and filters.
|
static uk.ac.ebi.pride.archive.web.service.model.project.ProjectDetail |
getProjectDetail(String projectAccession)
Returns the project details for a given accession.
|
static int |
getProjectFileCount(String projectAccession)
Returns a count of file details for a given project.
|
static uk.ac.ebi.pride.archive.web.service.model.file.FileDetailList |
getProjectFileDetails(String projectAccession)
Returns a list of file details for a given project.
|
static uk.ac.ebi.pride.archive.web.service.model.project.ProjectSummaryList |
getProjectSummaryList(String query,
PrideFilter... filters)
Returns a ProjectSummaryList for the given query and filters.
|
static uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList |
getProteinIdentificationByAssay(String assayAccession)
Returns a list of protein details for a given assay.
|
static uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList |
getProteinIdentificationByProject(String projectAccession)
Returns a list of protein details for a given project.
|
static int |
getProteinIdentificationCountByAssay(String assayAccession)
Returns a count of protein details for a given assay.
|
static int |
getProteinIdentificationCountByProject(String projectAccession)
Returns a count of protein details for a given project.
|
static uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList |
getProteinIdentificationsByProjectAndProtein(String projectAccession,
String proteinAccesion)
Returns a list of protein details for a given project and a given protein
accession.
|
static int |
getProteinIdentificationsCountByProjectAndProtein(String projectAccession,
String proteinAccession)
Returns a count of protein details for a given project and a given
protein accession.
|
static int |
getPSMCountByAssay(String assayAccession)
Returns a count of PSM details for a given assay.
|
static int |
getPSMCountByAssayAndSequence(String assayAccession,
String sequence)
Returns a count of PSM details for a given assay and a given peptide
sequence.
|
static int |
getPSMCountByProject(String projectAccession)
Returns a count of PSM details for a given project.
|
static int |
getPSMCountByProjectAndSequence(String projectAccession,
String sequence)
Returns a count of PSM details for a given project and a given peptide
sequence.
|
static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList |
getPSMsByAssay(String assayAccession)
Returns a list of PSM details for a given assay.
|
static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList |
getPSMsByAssayAndSequence(String assayAccession,
String sequence)
Returns a list of PSM details for a given assay and a given peptide
sequence.
|
static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList |
getPSMsByProject(String projectAccession)
Returns a list of PSM details for a given project.
|
static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList |
getPSMsByProjectAndSequence(String projectAccession,
String sequence)
Returns a list of PSM details for a given project and a given peptide
sequence.
|
public static uk.ac.ebi.pride.archive.web.service.model.project.ProjectSummaryList getProjectSummaryList(String query, PrideFilter... filters) throws IOException
query
- the criteria for a searchfilters
- the filters for a searchIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getProjectCount(String query, PrideFilter... filters) throws IOException
query
- the criteria for the searchfilters
- the filters for the searchIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.project.ProjectDetail getProjectDetail(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.assay.AssayDetailList getAssayDetails(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getAssayCount(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.assay.AssayDetail getAssayDetail(String assayAccession) throws IOException
assayAccession
- the project assayAccessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.file.FileDetailList getProjectFileDetails(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getProjectFileCount(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.file.FileDetailList getAssayFileDetails(String assayAccession) throws IOException
assayAccession
- the assay accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getAssayFileCount(String assayAccession) throws IOException
assayAccession
- the assay accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList getProteinIdentificationByProject(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getProteinIdentificationCountByProject(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList getProteinIdentificationsByProjectAndProtein(String projectAccession, String proteinAccesion) throws IOException
projectAccession
- the project accessionproteinAccesion
- the protein accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getProteinIdentificationsCountByProjectAndProtein(String projectAccession, String proteinAccession) throws IOException
projectAccession
- the project accessionproteinAccession
- the protein accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList getProteinIdentificationByAssay(String assayAccession) throws IOException
assayAccession
- the assay accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getProteinIdentificationCountByAssay(String assayAccession) throws IOException
assayAccession
- the assay accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList getPSMsByProject(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getPSMCountByProject(String projectAccession) throws IOException
projectAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList getPSMsByProjectAndSequence(String projectAccession, String sequence) throws IOException
projectAccession
- the project accessionsequence
- the peptide sequenceIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getPSMCountByProjectAndSequence(String projectAccession, String sequence) throws IOException
projectAccession
- the project accessionsequence
- the peptide sequenceIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList getPSMsByAssay(String assayAccession) throws IOException
assayAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getPSMCountByAssay(String assayAccession) throws IOException
assayAccession
- the project accessionIOException
- thrown if the webservice is down or the json response
was invalidpublic static uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList getPSMsByAssayAndSequence(String assayAccession, String sequence) throws IOException
assayAccession
- the project accessionsequence
- the peptide sequenceIOException
- thrown if the webservice is down or the json response
was invalidpublic static int getPSMCountByAssayAndSequence(String assayAccession, String sequence) throws IOException
assayAccession
- the project accessionsequence
- the peptide sequenceIOException
- thrown if the webservice is down or the json response
was invalidCopyright © 2016. All rights reserved.