Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .github/workflows/build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion massql/msql.ebnf
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ divide: "/"
plus: "+"
minus: "-"

moleculeformula: /[A-Z][A-Za-z1-9]*/
moleculeformula: /[A-Z][A-Za-z0-9]*/
aminoacids: /[A-Z][A-Z]*/
peptide: /[A-Z][A-Z]*/
peptidecharge: /[1-9]/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"conditions": [
{
"conditiontype": "where",
"qualifiers": {
"qualifierexcluded": {
"name": "qualifierexcluded"
},
"qualifierppmtolerance": {
"name": "qualifierppmtolerance",
"unit": "ppm",
"value": 5.0
},
"type": "qualifier"
},
"type": "ms2productcondition",
"value": [
226.18
]
}
],
"query": "QUERY scaninfo(MS2DATA) WHERE MS2PROD=226.18:TOLERANCEPPM=5:EXCLUDED",
"querytype": {
"datatype": "datams2data",
"function": "functionscaninfo"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"conditions": [
{
"conditiontype": "where",
"type": "ms2productcondition",
"value": [
120.0
]
}
],
"query": "QUERY scaninfo(MS2DATA) WHERE MS2PROD=formula(C10)",
"querytype": {
"datatype": "datams2data",
"function": "functionscaninfo"
}
}
1 change: 1 addition & 0 deletions tests/test_queries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ QUERY scannum(MS2DATA) WHERE MS2PROD=85.0284:TOLERANCEMZ=0.005
QUERY scaninfo(MS2DATA) WHERE MS2PREC=X AND MOBILITY=range(min=X*0.0006775+0.40557, max=X*0.00078231+0.48817) AND X=massdefect(min=0.9, max=0.99)
QUERY scaninfo(MS2DATA) WHERE MS2PROD=(58.06513 OR 60.04439 OR 70.06513 OR 72.08078 OR 74.06004 OR 84.04439 OR 84.08078 OR 86.09643 OR 87.05529 OR 88.0393 OR 88.07569 OR 100.11208 OR 101.07094 OR 101.10732 OR 102.05495 OR 102.09134 OR 104.05285 OR 110.07127 OR 114.12773 OR 115.08659 OR 115.12297 OR 116.0706 OR 118.0685 OR 120.08078 OR 124.08692 OR 129.10224 OR 129.11347 OR 129.13862 OR 130.08625 OR 132.08415 OR 134.09643 OR 136.07569 OR 138.10257 OR 143.12912 OR 148.11208 OR 150.09134 OR 157.14477 OR 159.09167 OR 164.10699 OR 173.10732 OR 187.12297):CARDINALITY=range(min=2,max=5):TOLERANCEPPM=10:INTENSITYPERCENT=5
QUERY scaninfo(MS2DATA) WHERE MS2PROD=226.18:TOLERANCEPPM=5:EXCLUDED
QUERY scaninfo(MS2DATA) WHERE MS2PROD=formula(C10)
Loading