https://schemas.wur.nl/betula/blast-result/0.7.0/schema.json
A full BLAST search result, following BLAST’s XML2 output (-outfmt 16) as parsed by blastserver: hit-level, with nested HSPs and taxonomy/cluster enrichment. react-bio-viz’s flattened single-row-per-hit visualization shape is a derived view of this, not a separate wire format. Numeric fields here are typed as numbers; blastserver’s raw XML parse currently yields numeric strings and must cast before serializing against this schema.
Field | Type | Required | Description |
|---|---|---|---|
|
| optional | Wire-format object-kind discriminator (see betula’s versioning policy). Optional. |
|
| required | |
|
| required | |
|
| required | |
| required | ||
|
| required | |
|
| required | |
| array of Hit | optional | Absent or empty if there are no hits. |
| required | ||
| optional | ||
|
| optional | XML2 message, e.g. “No hits found”. Absent if BLAST reported none. |
| array of TaxonomyNode | optional | |
| optional |
No properties beyond those listed are allowed.
Definitions¶
Hsp¶
Field | Type | Required | Description |
|---|---|---|---|
|
| required | |
|
| required | |
|
| required | |
|
| required | |
|
| required | |
|
| required | |
|
| required | XML2 query-from: 1-based, inclusive, in query residues (nucleotides for a nucleotide query, also when translated). |
|
| required | XML2 query-to. See queryFrom. |
|
| required | XML2 hit-from: 1-based, inclusive, in subject residues (nucleotides for a nucleotide subject, also when translated). Greater than hitTo for a blastn minus-strand hit; translated searches keep from <= to and give the strand in the frame. |
|
| required | XML2 hit-to. See hitFrom. |
|
| required | |
|
| required | |
|
| required | |
|
| optional | XML2 query-frame: reading frame, negative on the minus strand. Required, and not 0, for blastx and tblastx, where it is the only record of the query strand; other programs omit it. |
|
| optional | XML2 hit-frame: reading frame, negative on the minus strand. Required, and not 0, for tblastn and tblastx, where it is the only record of the subject strand; other programs omit it. |
| one of | optional | XML2 query-strand. Required for blastn; other programs omit it. |
| one of | optional | XML2 hit-strand. Required for blastn; other programs omit it. |
|
| optional | XML2 positive: number of positive-scoring positions. blastn omits it. |
|
| optional | XML2 gaps: number of gap positions. |
No properties beyond those listed are allowed.
HitMember¶
One member of a clustered hit (e.g. in a clustered_nr database); a non-clustered hit has exactly one member.
Field | Type | Required | Description |
|---|---|---|---|
| required | ||
|
| required | |
|
| required | |
|
| required |
No properties beyond those listed are allowed.
Hit¶
Field | Type | Required | Description |
|---|---|---|---|
| required | ||
|
| required | |
|
| required | |
| required | ||
|
| required | Resolved taxon scientific name. |
| array of HitMember | required | |
|
| required | |
|
| required | |
|
| required | |
|
| required | |
|
| required | |
| array of Hsp | required | |
| array of | required | Taxonomy lineage taxids. |
No properties beyond those listed are allowed.
BlastStatistics¶
XML2 Statistics, with keys in camelCase.
Field | Type | Required | Description |
|---|---|---|---|
|
| optional | Number of sequences in the database. |
|
| optional | Total length of the database. |
|
| required | Length adjustment. |
|
| required | Effective search space. |
|
| required | Karlin-Altschul K. BLAST writes -1 if it could not be calculated. |
|
| required | Karlin-Altschul lambda. BLAST writes -1 if it could not be calculated. |
|
| required | BLAST writes -1 if it could not be calculated. |
No properties beyond those listed are allowed.
BlastParameters¶
XML2 Parameters, with keys in camelCase. Which are present depends on the program.
Field | Type | Required | Description |
|---|---|---|---|
|
| optional | |
|
| required | |
|
| optional | |
|
| optional | |
|
| optional | |
|
| optional | |
|
| optional | |
|
| optional | |
|
| optional | |
|
| optional | |
|
| optional | Composition-based statistics. |
|
| optional | |
|
| optional | |
|
| optional |
No properties beyond those listed are allowed.
TaxonomyNode¶
Field | Type | Required | Description |
|---|---|---|---|
|
| required | |
|
| required | |
| array of | required | |
| array of TaxonomyNode | optional | |
|
| optional | |
|
| optional |
No properties beyond those listed are allowed.
Valid examples¶
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"queryStrand": "Plus",
"hitFrom": 410,
"hitTo": 51,
"hitStrand": "Minus",
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACGCAGTGTCTCTGTCGATAGTGCGGATCAGTCAGGCCCTTTCAATATTCGGTGATCAGCGAAACGTGGCTTTTAGGCGGCCTGTCGCACTCAATGGGTCAGGTCCGTTCTTCTTCAGTACCTTTGGGGAGCAGAGACTTCGAGTCTTCACTCTCGTGCGGGGGATAACACTCCACCTCAGACTCGTGATTGGGCCCGGATTCCGCGATGGCACAGGAAGTTCATGCAAGGTCGAACCCTCGGTACATGGTGTCGTTATGGGACGAATGGATGGCAGCTGGCCACCCAATGAGATAGACGGGATGCGTAATGACTTAATCCTAGTAGCACGTCGCAGCTGCCAAACAGAGAGG",
"hseq": "TATACGGACGCAGTGTCTCTGTCGATAGTGCGGATCAGTCAGGCCCTTTCAATATTCGGTGATCAGCGAAACGTGGCTTTTAGGCGGCCTGTCGCACTCAATGGGTCAGGTCCGTTCTTCTTCAGTACCTTTGGGGAGCAGAGACTTCGAGTCTTCACTCTCGTGCGGGGGATAACACTCCACCTCAGACTCGTGATTGGGCCCGGATTCCGCGATGGCACAGGAAGTTCATGCAAGGTCGAACCCTCGGTACATGGTGTCGTTATGGGACGAATGGATGGCAGCTGGCCACCCAATGAGATAGACGGGATGCGTAATGACTTAATCCTAGTAGCACGTCGCAGCTGCCAAACAGAGAGG",
"midline": "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"hseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"midline": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"queryGencode": 1
},
"program": "blastx",
"queryId": "Query_1",
"queryLen": 441,
"queryTitle": "m",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 74.31693989071039,
"queryCover": 82,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 2.99358e-90,
"identity": 120,
"positive": 120,
"queryFrom": 51,
"queryTo": 410,
"queryFrame": -2,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"hseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"midline": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER"
},
{
"num": 2,
"bitScore": 12.6974,
"score": 21,
"evalue": 2.44117,
"identity": 4,
"positive": 7,
"queryFrom": 130,
"queryTo": 171,
"queryFrame": 1,
"hitFrom": 82,
"hitTo": 95,
"alignLen": 14,
"gaps": 0,
"qseq": "PSIRPITTPCTEGS",
"hseq": "PSVHGVVMGRMDGS",
"midline": "PS+ + +GS"
},
{
"num": 3,
"bitScore": 11.927,
"score": 19,
"evalue": 4.42879,
"identity": 12,
"positive": 16,
"queryFrom": 187,
"queryTo": 324,
"queryFrame": 1,
"hitFrom": 30,
"hitTo": 75,
"alignLen": 49,
"gaps": 6,
"qseq": "PVPSRNPGPITSLRWSVIPRTRVKTRSLCSPKVLKKN---GPDPLSATG",
"hseq": "PVALNGSGPFF---FSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTG",
"midline": "PV GP +S R++ +L L GP TG"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTX 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 1e-09,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 30,
"queryTitle": "q",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 4,
"effSpace": 3016,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"message": "No hits found"
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"dbGencode": 1
},
"program": "tblastn",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 3.11696e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 51,
"hitTo": 410,
"hitFrame": -2,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"hseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"midline": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "TBLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"filter": "F",
"queryGencode": 1,
"dbGencode": 1
},
"program": "tblastx",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 96.59685863874346,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 297.986,
"score": 644,
"evalue": 5.4945e-86,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 360,
"queryFrame": -1,
"hitFrom": 51,
"hitTo": 410,
"hitFrame": 3,
"alignLen": 120,
"gaps": 0,
"qseq": "PLCLAAATCY*D*VITHPVYLIGWPAAIHSSHNDTMYRGFDLA*TSCAIAESGPNHESEVECYPPHESEDSKSLLPKGTEEERT*PIECDRPPKSHVSLITEY*KGLTDPHYRQRHCVRI",
"hseq": "PLCLAAATCY*D*VITHPVYLIGWPAAIHSSHNDTMYRGFDLA*TSCAIAESGPNHESEVECYPPHESEDSKSLLPKGTEEERT*PIECDRPPKSHVSLITEY*KGLTDPHYRQRHCVRI",
"midline": "PLCLAAATCY*D*VITHPVYLIGWPAAIHSSHNDTMYRGFDLA*TSCAIAESGPNHESEVECYPPHESEDSKSLLPKGTEEERT*PIECDRPPKSHVSLITEY*KGLTDPHYRQRHCVRI"
},
{
"num": 2,
"bitScore": 292.03,
"score": 631,
"evalue": 3.41253e-84,
"identity": 119,
"positive": 119,
"queryFrom": 3,
"queryTo": 359,
"queryFrame": 3,
"hitFrom": 52,
"hitTo": 408,
"hitFrame": -1,
"alignLen": 119,
"gaps": 0,
"qseq": "YGRSVSVDSADQSGPFNIR*SAKRGF*AACRTQWVRSVLLQYLWGAETSSLHSRAGDNTPPQTRDWARIPRWHRKFMQGRTLGTWCRYGTNGWQLATQ*DRRDA**LNPSSTSQLPNRE",
"hseq": "YGRSVSVDSADQSGPFNIR*SAKRGF*AACRTQWVRSVLLQYLWGAETSSLHSRAGDNTPPQTRDWARIPRWHRKFMQGRTLGTWCRYGTNGWQLATQ*DRRDA**LNPSSTSQLPNRE",
"midline": "YGRSVSVDSADQSGPFNIR*SAKRGF*AACRTQWVRSVLLQYLWGAETSSLHSRAGDNTPPQTRDWARIPRWHRKFMQGRTLGTWCRYGTNGWQLATQ*DRRDA**LNPSSTSQLPNRE"
},
{
"num": 3,
"bitScore": 286.989,
"score": 620,
"evalue": 1.12294e-82,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 360,
"queryFrame": 1,
"hitFrom": 51,
"hitTo": 410,
"hitFrame": -2,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"hseq": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER",
"midline": "YTDAVSLSIVRISQALSIFGDQRNVAFRRPVALNGSGPFFFSTFGEQRLRVFTLVRGITLHLRLVIGPGFRDGTGSSCKVEPSVHGVVMGRMDGSWPPNEIDGMRNDLILVARRSCQTER"
},
{
"num": 4,
"bitScore": 281.949,
"score": 609,
"evalue": 3.69519e-81,
"identity": 119,
"positive": 119,
"queryFrom": 2,
"queryTo": 358,
"queryFrame": -3,
"hitFrom": 53,
"hitTo": 409,
"hitFrame": 2,
"alignLen": 119,
"gaps": 0,
"qseq": "SLFGSCDVLLGLSHYASRLSHWVASCHPFVP*RHHVPRVRPCMNFLCHRGIRAQSRV*GGVLSPARE*RLEVSAPQRY*RRTDLTH*VRQAA*KPRFADHRILKGPD*SALSTETLRPY",
"hseq": "SLFGSCDVLLGLSHYASRLSHWVASCHPFVP*RHHVPRVRPCMNFLCHRGIRAQSRV*GGVLSPARE*RLEVSAPQRY*RRTDLTH*VRQAA*KPRFADHRILKGPD*SALSTETLRPY",
"midline": "SLFGSCDVLLGLSHYASRLSHWVASCHPFVP*RHHVPRVRPCMNFLCHRGIRAQSRV*GGVLSPARE*RLEVSAPQRY*RRTDLTH*VRQAA*KPRFADHRILKGPD*SALSTETLRPY"
},
{
"num": 5,
"bitScore": 280.575,
"score": 606,
"evalue": 9.58164e-81,
"identity": 119,
"positive": 119,
"queryFrom": 2,
"queryTo": 358,
"queryFrame": 2,
"hitFrom": 53,
"hitTo": 409,
"hitFrame": -3,
"alignLen": 119,
"gaps": 0,
"qseq": "IRTQCLCR*CGSVRPFQYSVISETWLLGGLSHSMGQVRSSSVPLGSRDFESSLSCGG*HSTSDS*LGPDSAMAQEVHARSNPRYMVSLWDEWMAAGHPMR*TGCVMT*S**HVAAAKQR",
"hseq": "IRTQCLCR*CGSVRPFQYSVISETWLLGGLSHSMGQVRSSSVPLGSRDFESSLSCGG*HSTSDS*LGPDSAMAQEVHARSNPRYMVSLWDEWMAAGHPMR*TGCVMT*S**HVAAAKQR",
"midline": "IRTQCLCR*CGSVRPFQYSVISETWLLGGLSHSMGQVRSSSVPLGSRDFESSLSCGG*HSTSDS*LGPDSAMAQEVHARSNPRYMVSLWDEWMAAGHPMR*TGCVMT*S**HVAAAKQR"
},
{
"num": 6,
"bitScore": 278.283,
"score": 601,
"evalue": 4.68935e-80,
"identity": 119,
"positive": 119,
"queryFrom": 3,
"queryTo": 359,
"queryFrame": -2,
"hitFrom": 52,
"hitTo": 408,
"hitFrame": 1,
"alignLen": 119,
"gaps": 0,
"qseq": "LSVWQLRRATRIKSLRIPSISLGGQLPSIRPITTPCTEGSTLHELPVPSRNPGPITSLRWSVIPRTRVKTRSLCSPKVLKKNGPDPLSATGRLKATFR*SPNIERA*LIRTIDRDTASV",
"hseq": "LSVWQLRRATRIKSLRIPSISLGGQLPSIRPITTPCTEGSTLHELPVPSRNPGPITSLRWSVIPRTRVKTRSLCSPKVLKKNGPDPLSATGRLKATFR*SPNIERA*LIRTIDRDTASV",
"midline": "LSVWQLRRATRIKSLRIPSISLGGQLPSIRPITTPCTEGSTLHELPVPSRNPGPITSLRWSVIPRTRVKTRSLCSPKVLKKNGPDPLSATGRLKATFR*SPNIERA*LIRTIDRDTASV"
},
{
"num": 7,
"bitScore": 16.6464,
"score": 30,
"evalue": 0.267648,
"identity": 5,
"positive": 8,
"queryFrom": 251,
"queryTo": 295,
"queryFrame": 2,
"hitFrom": 92,
"hitTo": 136,
"hitFrame": 2,
"alignLen": 15,
"gaps": 0,
"qseq": "YMVSLWDEWMAAGHP",
"hseq": "HYASRLSHWVASCHP",
"midline": "+ S W+A+ HP"
},
{
"num": 8,
"bitScore": 16.6464,
"score": 30,
"evalue": 0.267648,
"identity": 5,
"positive": 8,
"queryFrom": 275,
"queryTo": 319,
"queryFrame": -3,
"hitFrom": 116,
"hitTo": 160,
"hitFrame": -3,
"alignLen": 15,
"gaps": 0,
"qseq": "HYASRLSHWVASCHP",
"hseq": "YMVSLWDEWMAAGHP",
"midline": "+ S W+A+ HP"
},
{
"num": 9,
"bitScore": 15.73,
"score": 28,
"evalue": 0.510023,
"identity": 6,
"positive": 6,
"queryFrom": 154,
"queryTo": 180,
"queryFrame": -1,
"hitFrom": 201,
"hitTo": 227,
"hitFrame": 3,
"alignLen": 9,
"gaps": 0,
"qseq": "ECYPPHESE",
"hseq": "ESGPNHESE",
"midline": "E P HESE"
},
{
"num": 10,
"bitScore": 15.73,
"score": 28,
"evalue": 0.510023,
"identity": 6,
"positive": 6,
"queryFrom": 184,
"queryTo": 210,
"queryFrame": -1,
"hitFrom": 231,
"hitTo": 257,
"hitFrame": 3,
"alignLen": 9,
"gaps": 0,
"qseq": "ESGPNHESE",
"hseq": "ECYPPHESE",
"midline": "E P HESE"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.133956144488482,
"lambda": 0.31760595763573,
"entropy": 0.401214524497118
},
"version": "TBLASTX 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
]
}
],
"metadata": {
"source": "example",
"tags": [
"a",
"b"
]
}
}
Invalid examples¶
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"queryGencode": 1
},
"program": "blastx",
"queryId": "Query_1",
"queryLen": 441,
"queryTitle": "m",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 74.31693989071039,
"queryCover": 82,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 2.99358e-90,
"identity": 120,
"positive": 120,
"queryFrom": 51,
"queryTo": 410,
"queryFrame": -4,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTX 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": "1",
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
]
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
]
}
],
"metadata": {
"score": 0.9
}
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": null,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"dbGencode": 1
},
"program": "tblastn",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 3.11696e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 51,
"hitTo": 410,
"hitFrame": null,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "TBLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"queryStrand": "Plus",
"hitFrom": 410,
"hitTo": 51,
"hitStrand": null,
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACG",
"hseq": "TATACGGACG",
"midline": "||||||||||"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": null,
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
],
"message": null
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
]
}
],
"metadata": null
}
{
"type": "blast-result",
"params": {
"matrix": null,
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": null,
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": null,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"queryGencode": 1
},
"program": "blastx",
"queryId": "Query_1",
"queryLen": 441,
"queryTitle": "m",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 74.31693989071039,
"queryCover": 82,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 2.99358e-90,
"identity": 120,
"positive": 120,
"queryFrom": 51,
"queryTo": 410,
"queryFrame": null,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTX 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"queryStrand": null,
"hitFrom": 410,
"hitTo": 51,
"hitStrand": "Minus",
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACG",
"hseq": "TATACGGACG",
"midline": "||||||||||"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": null,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": null,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": null,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": null,
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": null
}
]
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
],
"count": null
}
]
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
],
"depth": null
}
]
}
{
"type": "blast-result",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": null
}
{
"type": null,
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": [
{
"accession": "WP_012345678",
"title": "hypothetical protein [Example species]",
"taxid": 1280,
"saccver": "WP_012345678.1",
"name": "Example species",
"members": [
{
"accession": "WP_012345678",
"title": "hypothetical protein",
"taxid": 1280,
"name": "Example species"
}
],
"clusterSize": 1,
"queryCover": 95.5,
"percentIdentity": 87.2,
"num": 1,
"len": 118,
"ancestors": [
1,
2,
1224,
1236,
1280
],
"hsps": [
{
"num": 1,
"bitScore": 210.5,
"score": 540,
"evalue": 1e-65,
"identity": 103,
"alignLen": 118,
"queryFrom": 1,
"queryTo": 118,
"hitFrom": 1,
"hitTo": 118,
"qseq": "MST...",
"hseq": "MST...",
"midline": "MST..."
}
]
}
],
"taxonomyTrees": [
{
"id": 1,
"name": "root",
"ancestors": [],
"children": [
{
"id": 1224,
"name": "Proteobacteria",
"ancestors": [
1
],
"children": []
}
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": "10",
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"db-num": 1,
"db-len": 120,
"hsp-len": 13,
"eff-space": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"Statistics": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
}
},
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2
},
"program": "blastp",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 243.817,
"score": 621,
"evalue": 2.47109e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": "",
"version": "BLASTP 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"queryStrand": "Plus",
"hitFrom": 410,
"hitTo": 51,
"hitStrand": "-",
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACG",
"hseq": "TATACGGACG",
"midline": "||||||||||"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "alignment",
"program": "blastp",
"version": "BLAST 2.16.0+",
"db": "nr",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "example query protein",
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 13,
"effSpace": 11449,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"hits": []
}
Invalid by rule¶
Accepted by the schema but not conforming: these break a rule JSON Schema can’t express.
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"queryStrand": "Plus",
"hitFrom": 410,
"hitTo": 51,
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACG",
"hseq": "TATACGGACG",
"midline": "||||||||||"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"hitFrom": 410,
"hitTo": 51,
"hitStrand": "Minus",
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACG",
"hseq": "TATACGGACG",
"midline": "||||||||||"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"expect": 10,
"scMatch": 1,
"scMismatch": -2,
"gapOpen": 0,
"gapExtend": 0,
"filter": "L;m;"
},
"program": "blastn",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 665.914,
"score": 360,
"evalue": 0,
"identity": 360,
"queryFrom": 1,
"queryTo": 360,
"hitFrom": 410,
"hitTo": 51,
"alignLen": 360,
"gaps": 0,
"qseq": "TATACGGACG",
"hseq": "TATACGGACG",
"midline": "||||||||||",
"queryFrame": 1,
"hitFrame": -1
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 11,
"effSpace": 150070,
"kappa": 0.46,
"lambda": 1.28,
"entropy": 0.85
},
"version": "BLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"queryGencode": 1
},
"program": "blastx",
"queryId": "Query_1",
"queryLen": 441,
"queryTitle": "m",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 74.31693989071039,
"queryCover": 82,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 2.99358e-90,
"identity": 120,
"positive": 120,
"queryFrom": 51,
"queryTo": 410,
"queryFrame": 0,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTX 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"queryGencode": 1
},
"program": "blastx",
"queryId": "Query_1",
"queryLen": 441,
"queryTitle": "m",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"saccver": "hit_p",
"members": [
{
"accession": "hit_p",
"title": "test protein",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 74.31693989071039,
"queryCover": 82,
"num": 1,
"len": 120,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 2.99358e-90,
"identity": 120,
"positive": 120,
"queryFrom": 51,
"queryTo": 410,
"hitFrom": 1,
"hitTo": 120,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 120,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "BLASTX 2.16.0+",
"db": "Dp",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"dbGencode": 1
},
"program": "tblastn",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 3.11696e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 51,
"hitTo": 410,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "TBLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"gapOpen": 11,
"gapExtend": 1,
"filter": "F",
"cbs": 2,
"dbGencode": 1
},
"program": "tblastn",
"queryId": "Query_1",
"queryLen": 120,
"queryTitle": "p",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 100,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 244.973,
"score": 624,
"evalue": 3.11696e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 51,
"hitTo": 410,
"hitFrame": -2,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
},
{
"num": 2,
"bitScore": 244.973,
"score": 624,
"evalue": 3.11696e-90,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 120,
"hitFrom": 51,
"hitTo": 410,
"alignLen": 120,
"gaps": 0,
"qseq": "YTDAVSLSIV",
"hseq": "YTDAVSLSIV",
"midline": "YTDAVSLSIV"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.041,
"lambda": 0.267,
"entropy": 0.14
},
"version": "TBLASTN 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"filter": "F",
"queryGencode": 1,
"dbGencode": 1
},
"program": "tblastx",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 96.59685863874346,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 297.986,
"score": 644,
"evalue": 5.4945e-86,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 360,
"queryFrame": -1,
"hitFrom": 51,
"hitTo": 410,
"alignLen": 120,
"gaps": 0,
"qseq": "PLCLAAATCY",
"hseq": "PLCLAAATCY",
"midline": "PLCLAAATCY"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.133956144488482,
"lambda": 0.31760595763573,
"entropy": 0.401214524497118
},
"version": "TBLASTX 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
{
"type": "blast-result",
"params": {
"matrix": "BLOSUM62",
"expect": 10,
"filter": "F",
"queryGencode": 1,
"dbGencode": 1
},
"program": "tblastx",
"queryId": "Query_1",
"queryLen": 360,
"queryTitle": "g",
"hits": [
{
"name": "Homo sapiens",
"ancestors": [
1,
9606
],
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"saccver": "hit_m",
"members": [
{
"accession": "hit_m",
"title": "t",
"taxid": 9606,
"name": "Homo sapiens"
}
],
"clusterSize": 1,
"percentIdentity": 96.59685863874346,
"queryCover": 100,
"num": 1,
"len": 441,
"hsps": [
{
"num": 1,
"bitScore": 297.986,
"score": 644,
"evalue": 5.4945e-86,
"identity": 120,
"positive": 120,
"queryFrom": 1,
"queryTo": 360,
"hitFrom": 51,
"hitTo": 410,
"hitFrame": 3,
"alignLen": 120,
"gaps": 0,
"qseq": "PLCLAAATCY",
"hseq": "PLCLAAATCY",
"midline": "PLCLAAATCY"
}
]
}
],
"stat": {
"dbNum": 1,
"dbLen": 441,
"hspLen": 15,
"effSpace": 13860,
"kappa": 0.133956144488482,
"lambda": 0.31760595763573,
"entropy": 0.401214524497118
},
"version": "TBLASTX 2.16.0+",
"db": "Dm",
"taxonomyTrees": [
{
"id": 9606,
"name": "Homo sapiens",
"ancestors": [
1,
9606
]
}
]
}
Schema source
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.wur.nl/betula/blast-result/0.7.0/schema.json",
"title": "BlastResult",
"description": "A full BLAST search result, following BLAST's XML2 output (-outfmt 16) as parsed by blastserver: hit-level, with nested HSPs and taxonomy/cluster enrichment. react-bio-viz's flattened single-row-per-hit visualization shape is a derived view of this, not a separate wire format. Numeric fields here are typed as numbers; blastserver's raw XML parse currently yields numeric strings and must cast before serializing against this schema.",
"type": "object",
"$defs": {
"Hsp": {
"type": "object",
"properties": {
"num": { "type": "integer", "minimum": 1 },
"bitScore": { "type": "number" },
"score": { "type": "number" },
"evalue": { "type": "number", "minimum": 0 },
"identity": { "type": "integer", "minimum": 0 },
"alignLen": { "type": "integer", "minimum": 1 },
"queryFrom": { "type": "integer", "minimum": 1, "description": "XML2 query-from: 1-based, inclusive, in query residues (nucleotides for a nucleotide query, also when translated)." },
"queryTo": { "type": "integer", "minimum": 1, "description": "XML2 query-to. See queryFrom." },
"hitFrom": { "type": "integer", "minimum": 1, "description": "XML2 hit-from: 1-based, inclusive, in subject residues (nucleotides for a nucleotide subject, also when translated). Greater than hitTo for a blastn minus-strand hit; translated searches keep from <= to and give the strand in the frame." },
"hitTo": { "type": "integer", "minimum": 1, "description": "XML2 hit-to. See hitFrom." },
"qseq": { "type": "string" },
"hseq": { "type": "string" },
"midline": { "type": "string" },
"queryFrame": { "type": "integer", "minimum": -3, "maximum": 3, "description": "XML2 query-frame: reading frame, negative on the minus strand. Required, and not 0, for blastx and tblastx, where it is the only record of the query strand; other programs omit it." },
"hitFrame": { "type": "integer", "minimum": -3, "maximum": 3, "description": "XML2 hit-frame: reading frame, negative on the minus strand. Required, and not 0, for tblastn and tblastx, where it is the only record of the subject strand; other programs omit it." },
"queryStrand": { "type": "string", "enum": ["Plus", "Minus"], "description": "XML2 query-strand. Required for blastn; other programs omit it." },
"hitStrand": { "type": "string", "enum": ["Plus", "Minus"], "description": "XML2 hit-strand. Required for blastn; other programs omit it." },
"positive": { "type": "integer", "minimum": 0, "description": "XML2 positive: number of positive-scoring positions. blastn omits it." },
"gaps": { "type": "integer", "minimum": 0, "description": "XML2 gaps: number of gap positions." }
},
"required": ["num", "bitScore", "score", "evalue", "identity", "alignLen", "queryFrom", "queryTo", "hitFrom", "hitTo", "qseq", "hseq", "midline"],
"additionalProperties": false
},
"HitMember": {
"type": "object",
"description": "One member of a clustered hit (e.g. in a clustered_nr database); a non-clustered hit has exactly one member.",
"properties": {
"accession": { "$ref": "https://schemas.wur.nl/betula/core/identifier/0.7.0/schema.json" },
"title": { "type": "string" },
"taxid": { "type": "integer" },
"name": { "type": "string" }
},
"required": ["accession", "title", "taxid", "name"],
"additionalProperties": false
},
"Hit": {
"type": "object",
"properties": {
"accession": { "$ref": "https://schemas.wur.nl/betula/core/identifier/0.7.0/schema.json" },
"title": { "type": "string" },
"taxid": { "type": "integer" },
"saccver": { "$ref": "https://schemas.wur.nl/betula/core/identifier/0.7.0/schema.json" },
"name": { "type": "string", "description": "Resolved taxon scientific name." },
"members": { "type": "array", "items": { "$ref": "#/$defs/HitMember" }, "minItems": 1 },
"clusterSize": { "type": "integer", "minimum": 1 },
"queryCover": { "type": "number", "minimum": 0, "maximum": 100 },
"percentIdentity": { "type": "number", "minimum": 0, "maximum": 100 },
"num": { "type": "integer" },
"len": { "type": "integer", "minimum": 1 },
"hsps": { "type": "array", "items": { "$ref": "#/$defs/Hsp" }, "minItems": 1 },
"ancestors": { "type": "array", "items": { "type": "integer" }, "description": "Taxonomy lineage taxids." }
},
"required": ["accession", "title", "taxid", "saccver", "name", "members", "clusterSize", "queryCover", "percentIdentity", "num", "len", "hsps", "ancestors"],
"additionalProperties": false
},
"BlastStatistics": {
"type": "object",
"description": "XML2 Statistics, with keys in camelCase.",
"properties": {
"dbNum": { "type": "integer", "minimum": 0, "description": "Number of sequences in the database." },
"dbLen": { "type": "integer", "minimum": 0, "description": "Total length of the database." },
"hspLen": { "type": "integer", "description": "Length adjustment." },
"effSpace": { "type": "integer", "description": "Effective search space." },
"kappa": { "type": "number", "description": "Karlin-Altschul K. BLAST writes -1 if it could not be calculated." },
"lambda": { "type": "number", "description": "Karlin-Altschul lambda. BLAST writes -1 if it could not be calculated." },
"entropy": { "type": "number", "description": "BLAST writes -1 if it could not be calculated." }
},
"required": ["hspLen", "effSpace", "kappa", "lambda", "entropy"],
"additionalProperties": false
},
"BlastParameters": {
"type": "object",
"description": "XML2 Parameters, with keys in camelCase. Which are present depends on the program.",
"properties": {
"matrix": { "type": "string" },
"expect": { "type": "number" },
"include": { "type": "number" },
"scMatch": { "type": "integer" },
"scMismatch": { "type": "integer" },
"gapOpen": { "type": "integer" },
"gapExtend": { "type": "integer" },
"filter": { "type": "string" },
"pattern": { "type": "string" },
"entrezQuery": { "type": "string" },
"cbs": { "type": "integer", "description": "Composition-based statistics." },
"queryGencode": { "type": "integer" },
"dbGencode": { "type": "integer" },
"bl2seqMode": { "type": "string" }
},
"required": ["expect"],
"additionalProperties": false
},
"TaxonomyNode": {
"type": "object",
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"ancestors": { "type": "array", "items": { "type": "integer" } },
"children": { "type": "array", "items": { "$ref": "#/$defs/TaxonomyNode" } },
"depth": { "type": "integer", "minimum": 0 },
"count": { "type": "integer", "minimum": 0 }
},
"required": ["id", "name", "ancestors"],
"additionalProperties": false
}
},
"properties": {
"type": {
"const": "blast-result",
"description": "Wire-format object-kind discriminator (see betula's versioning policy). Optional."
},
"program": { "type": "string" },
"version": { "type": "string" },
"db": { "type": "string" },
"queryId": { "$ref": "https://schemas.wur.nl/betula/core/identifier/0.7.0/schema.json" },
"queryLen": { "type": "integer", "minimum": 1 },
"queryTitle": { "type": "string" },
"hits": { "type": "array", "items": { "$ref": "#/$defs/Hit" }, "description": "Absent or empty if there are no hits." },
"stat": { "$ref": "#/$defs/BlastStatistics" },
"params": { "$ref": "#/$defs/BlastParameters" },
"message": { "type": "string", "description": "XML2 message, e.g. \"No hits found\". Absent if BLAST reported none." },
"taxonomyTrees": { "type": "array", "items": { "$ref": "#/$defs/TaxonomyNode" } },
"metadata": { "$ref": "https://schemas.wur.nl/betula/core/metadata/0.7.0/schema.json" }
},
"required": ["program", "version", "db", "queryId", "queryLen", "queryTitle", "stat"],
"additionalProperties": false
}
Usage¶
Read a JSON document and parse it as a BlastResult. CI runs this exact code against the first valid example above; see Getting started to install the bindings.
from betula_schema import BlastResult, parse_json
with open("blast-result.json") as f:
blast_result = parse_json(BlastResult, f.read())
print(blast_result)
import { readFileSync } from "node:fs";
import { parseJson, type BlastResult } from "betula-schema";
const blastResult: BlastResult = parseJson("BlastResult", readFileSync("blast-result.json", "utf8"));
console.log(blastResult);
fn main() -> Result<(), Box<dyn std::error::Error>> {
let text = std::fs::read_to_string("blast-result.json")?;
let blast_result: betula_schema::BlastResult = betula_schema::parse_str(&text)?;
println!("{blast_result:?}");
Ok(())
}