Programmatory access

Retrieve sequence with a FLADid

http://forensic.ugent.be/flad/getseq/xml/{FLADid}

Example: http://forensic.ugent.be/flad/getseq/xml/FA001

Retrieve FLADid with a sequence

http://forensic.ugent.be/flad/getid/xml/[{locus}/]{sequence}[?user={username}&password={password}]

Authorization is optional but necessary if the sequence needs to be added to the database.
Example:
http://forensic.ugent.be/flad/getid/xml/FGA/ACTGACTAGACATGCGAC

Validate sequence

http://forensic.ugent.be/flad/getid/xml/validate/[{locus}/]{sequence}?user={username}&password={password}&doi={doi}

Example:
http://forensic.ugent.be/flad/validate/xml/FGA/ACTGGACGAC?user=jeffreys&password=1984&doi=10.1038/314067a0

Plain text instead of xml

To get a simple byte string back consisting only of the requested information, use 'plain' instead of 'xml'. In this case, when providing a FLADid to retrieve a sequence, only the sequence present in the database will be send back and not its complementary strand.

Example: http://forensic.ugent.be/flad/getid/plain/FGA/ACTGACTAGACATGCGAC

Testing

For development and experimenting there is a parallel testing service FLAX. The API is identical, except that 'flad' needs to be replaced with 'flax' and that no authorization for validation is required. It is not possible to unvalidate alleles. Use only for testing.

Example: http://forensic.ugent.be/flax/getid/plain/FGA/ACTGACTAGACATGCGAC

For testing purposes of FLAD, you can experiment with sequences in the MyFLq paper allele database file. These sequences are already in FLAD and have therefore already been assigned FLAD IDs.