oceanproteinportal / api

A Python API module for the Ocean Protein Portal
1 stars 0 forks source link

get_peptide_profile_data #14

Open kaimikacolin opened 2 years ago

kaimikacolin commented 2 years ago

This query was created, but I missed indicating a few of the result values we need. (Sort of like how we needed to add proteinName and nbciTaxon to the get_protein_profile_data query)

SELECT DISTINCT STR(?depth) AS ?depth ?station STR(?spectralCount) AS ?spectralCount WHERE { opp:storesResultsForSample ?sample . ?sample sosa:isSampleOf ?feature . ?feature opp:depth ?depth . ?feature opp:inVicinityOfStation ?stationInfo . ?stationInfo opp:stationName ?station .
?observation opp:observationInSample ?sample . ?observation schema:value ?spectralCount . ?observation rdf:type opp:PeptideSpectralCountSum . ?peptide opp:samplePeptideProperty ?observation . ?peptide opp:describesPeptide ?identifier . ?identifier opp:peptideSequence "AAAAELAAFK"^^xsd:token . } ORDER BY ?station

We ALSO need this to return these values: "totalPrecursorIntensity": "proteinMolecularWeight" "sampleName" "proteinId"