Created
July 28, 2014 17:47
-
-
Save jimallman/9f4a4b63f4c8d8a840d3 to your computer and use it in GitHub Desktop.
Failing MRCA call (pg_420)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'http://api.opentreeoflife.org/treemachine/v1/getDraftTreeMRCAForNodes' -H 'Origin: http://tree.opentreeoflife.org' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: http://tree.opentreeoflife.org/curator/study/edit/pg_420/?tab=trees&tree=tree522' -H 'Connection: keep-alive' --data-binary '{"ottIds":[1085741,613883,463177,568571,28336,515158,370815,507121,699624,952596,901831,531218,73933,390841,44860,1041027,799167,683046,463185,872124,44875,622872,29742,682886,1020126,989086,276608,512910,332937,619340,438662,786441,438656,1015202,966327,549518,989084,284297,483804,244695,989088,483803,484896,815707,291638,733986,467838,991312,1097399,834690,412128,989089,1065611,897862,1039512,261312,178684,1065605,98071,427905,119211,767825,509844,1036187,317003,819164,821756,332001,5275,163950,628492,960243,887695,365489,261316,112946,214795,193407,443638,322277,752683,108973,860130,154816,689774,597797,464703,316994,363012,379419,172642,904488,1028843,656590,388853,803675,842352,539140,915651,414354,915642,440620,399793,383930,440612,1039514,787071,891428,1041421,1041429,1041422,212185,3600037,521835,70726,540029,534819,697413,697438,804122,174369,275134,726315,275129,313122,178250,178249,701547,86682,86676,938415,449653,873964,935135,392964,966321,582942,244698,880217,855119,509057,443649,329993,570959,837567,204725,1098759,153562,352754,684050,979429,765185,693334,432080,190884,436831,88395,714466,241847,241840,589156,283193,870604,402450,292460,292463,857863,292466]}' --compressed |
This one works, returns Rhizocephala:
curl 'http://api.opentreeoflife.org/treemachine/v1/getDraftTreeMRCAForNodes' -H 'Origin: http://tree.opentreeoflife.org' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: http://tree.opentreeoflife.org/curator/study/edit/ot_98?tab=trees&tree=tree1' -H 'Connection: keep-alive' --data-binary '{"ottIds":[458843,251974,664820,414909,777759,1071395,458842]}' --compressed
This one works as expected, submitting just four taxon IDs from the ingroup:
- 251974 (Heterosaccus californicus)
- 791782 (Heterosaccus dollfusi)
- 859010 (Heterosaccus lunatus)
- 468102 (Heterosaccus papillosus)
But it returns a much deeper MRCA than expected (Rhizocephala, ottid: 363885):
http://tree.opentreeoflife.org/curator/study/edit/ot_75/?tab=trees&tree=tree1
curl 'http://api.opentreeoflife.org/treemachine/v1/getDraftTreeMRCAForNodes' -H 'Origin: http://tree.opentreeoflife.org' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: http://tree.opentreeoflife.org/curator/study/edit/ot_75/?tab=trees&tree=tree1' -H 'Connection: keep-alive' --data-binary '{"ottIds":[251974,791782,859010,468102]}' --compressed
So this looks more like a problem with the MRCA reckoning than the submitting app.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another one (fails with TaxonNotFoundException):
curl 'http://api.opentreeoflife.org/treemachine/v1/getDraftTreeMRCAForNodes' -H 'Origin: http://tree.opentreeoflife.org' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: http://tree.opentreeoflife.org/curator/study/edit/pg_2760/?tab=trees&tree=tree6375' -H 'Connection: keep-alive' --data-binary '{"ottIds":[438694,746955,845949,9042,9042,746949,93910,101878,83477,621393,1088460,274335,274335,97227,797786,837665,476860,643101,643105]}' --compressed