/api/limsdata
Get a list of all JaxLIMS procedures (our names) for which we have captured data.
Example:
/api/limsdata
/api/limsdata/procedure
Get the names and postgresql data types of all fields that are captured from JaxLIMS into MPD for a
given
procedure.
Provides case identifiers (genotype_id, datedue, jr, sex, mouseid, etc.)
as well as environment parameters with names like
env_*.
Example 1:
/api/limsdata/komp_bodycmp
Example 2:
/api/limsdata/komp_bw
Example 3:
/api/limsdata/komp_chem
Example 4:
/api/limsdata/komp_ekg
Example 5:
/api/limsdata/komp_oft
/api/limsdata/measures/procedure
Get a list of accessioned MPD measures that are available for a given
procedure.
Based on MPD's pheno_measures table.
You can use
all to list measures for all loaded KOMP procedures.
Names of environment (
env_*) parameters and standard identifier fields are not included.
Example 1:
/api/limsdata/measures/komp_bodycmp
Example 2:
/api/limsdata/measures/komp_bw
Example 3:
/api/limsdata/measures/komp_chem
Example 4:
/api/limsdata/measures/komp_shirpa
Example 5:
/api/limsdata/measures/komp_oft
Example 6:
/api/limsdata/measures/all
/api/limsdata/procedure/parameter(s)
/api/limsdata/any/measnum
Get the JaxLIMS individual animal data for
the given
procedure and
parameter(s).
procedure is a short procedure name eg.
komp_ekg or
any
parameter(s) can be either:
•
all which will return all parameters associated with the procedure
• one or more measure or parameter names (comma-separated if > one) associated with
procedure
• one or more measure IDs (comma-separated if > one and must all be from same procedure)
The following case identifiers are always included in the result:
genotype_id, genotypedescription, jr, sex, mouseid, agedays, datedue, datecomplete, env_reviewaction.
There are 3 top-level elements in the json result:
animaldata,
parameternames, and
rowcount.
One or more of the following criteria parameters
must be supplied, otherwise a "huge retrieval" error will result.
alltime=yes .... use alltime=yes to get all results regardless of datedue
genotype_id ... limit to this one genotype_id (integer)
startdate and
enddate ... datedue within these YYYY-MM-DD dates (exclusive, must be supplied together)
jrnum ... limit to this one strain JR number (integer)
gene ... limit to this one gene symbol
You can also optionally specify:
maxrows ... limit the result to this many items ... handy for testing
newest_first=yes ... if
yes sort on datedue newest first. Default is to sort on datedue oldest first.
wkomp_animal_attrs=yes ... if
yes include komp_animal attributes such as env_exitreason
trait_colname ... specify as eg.
value to have a consistent result fieldname for the phenotype value
Example 1:
/api/limsdata/komp_ekg/all?startdate=2017-01-01&enddate=2017-01-31
Same as above but CSV result:
/api/limsdata/komp_ekg/all?startdate=2017-01-01&enddate=2017-01-31&csv=yes
Example 2:
/api/limsdata/any/100123?alltime=yes
Example 3:
/api/limsdata/komp_chem/urea_bun?genotype_id=1855603
Example 4:
/api/limsdata/komp_ekg/rr,pr,qt,env_dateofbirth?startdate=2017-01-01&enddate=2017-01-31
Example 5:
/api/limsdata/komp_bw/body_weight?startdate=2016-07-01&enddate=2016-07-15
Example 6:
/api/limsdata/komp_ekg/qrs?startdate=2016-07-01&enddate=2018-06-30&newest_first=yes&wkomp_animal_attrs=yes
/api/limsdata/komp_genotypes
Get info on strains / genotypes tested in KOMP. For available options see examples below:
Example 1:
/api/limsdata/komp_genotypes?id=1855703
Example 2:
/api/limsdata/komp_genotypes?gene=Trip13
Example 3:
/api/limsdata/komp_genotypes?jr=18558
Example 4:
/api/limsdata/komp_genotypes?desclike=Mbp
Example 5:
/api/limsdata/komp_genotypes (list all of them)
/api/limsdata/kompeff/measnums
Get the
precomputed effect sizes
for one or more KOMP measures by measure ID.
If rankZ and adjusted pvalues are present they will be included on each row.
Example 1:
/api/limsdata/kompeff/100123
Same as above but CSV result:
/api/limsdata/kompeff/100123?csv=yes
Example 2:
/api/limsdata/kompeff/100123,100233
/api/limsdata/kompeff_by_genotype/genotype_ids
Get the
precomputed effect sizes
for
all loaded KOMP measures, for the requested
genotype_ids
(one or more genotype_ids, separated by comma if more than one).
Example 1:
/api/limsdata/kompeff_by_genotype/1855603,1855803