API application program interface


Introduction

This set of APIs was made to let our users reach the information they wanted in a new pragmatical way.

By browsing specific URLs the user will be able to filter and extract informations in two formats Json and CSV. Json will be the standard format while CSV can be accessed by adding

&format=csv
at the end of the requests.

ROOT

www.genesilico.pl/modomics/api/

www.genesilico.pl/modomics/api/ is the page you are reading now.

All the other section follow this format: api/name_modomics_section

At this time only the api for sequences is available, but soon more API will be developed

Modification

www.genesilico.pl/modomics/api/modification

www.genesilico.pl/modomics/api/modification?id=2 renders the modification data of one single selected modification by its ID.

This section can be filtered by adding the following GET parameters after the URL after the "?" symbol

parameter description example
&format= Select the output format [json,csv] www.genesilico.pl/modomics/api/modification?format=csv

Modifications

www.genesilico.pl/modomics/api/modifications?id=

www.genesilico.pl/modomics/api/modifications renders the modification data of all the RNA modifications found in MODOMICS.

This section can be filtered by adding the following GET parameters after the URL after the "?" symbol

parameter description example
&original_base= filters by the original nuclebase [A,C,G,U] www.genesilico.pl/modomics/api/modifications?original_base=A
&chemical_type= filters by a chemical type of modification www.genesilico.pl/modomics/api/modifications?chemical_type=heavy+atom
&format= Select the output format [json,csv] www.genesilico.pl/modomics/api/modifications?format=csv

Sequence

www.genesilico.pl/modomics/api/sequence?id=

www.genesilico.pl/modomics/api/sequence?id=2 renders the sequence data of one single RNAsequence selected by its ID.

This section can be filtered by adding the following GET parameters after the URL after the "?" symbol

parameter description example
&format= Select the output format [json,csv] www.genesilico.pl/modomics/api/sequence?format=csv

Sequences

www.genesilico.pl/modomics/api/sequences/

www.genesilico.pl/modomics/api/sequences renders the sequences data of all the RNA sequences found in modomics.

This section can be filtered by adding the following GET parameters after the URL after the "?" symbol

parameter description example
&RNAtype= filters by a RNA type [tRNA,rRNA,snRNA,snoRNA] www.genesilico.pl/modomics/api/sequences?RNAtype=tRNA
&RNA_subtype= filters by a RNA subtype [...] www.genesilico.pl/modomics/api/sequences?RNAsubtype=LSU
&organism= filter by an organism [...] www.genesilico.pl/modomics/api/sequences?organism=Homo+sapiens
&format= Select the output format [json,csv] www.genesilico.pl/modomics/api/sequences?format=csv

The value can be combined together with the symbol "&"

Examples Click on the link to get the results

Copyright © Genesilico - All rights reserved
If you have any advice or suggestions for corrections or improvements, please contact: Pietro Boccaletto