|
77 | 77 | arrow organisms get_organisms |
78 | 78 | echo "=== Sequences for test_organism ===" |
79 | 79 | arrow organisms get_sequences test_organism || true |
| 80 | + echo "=== Features for test_organism on Merlin ===" |
| 81 | + arrow annotations get_features test_organism Merlin || true |
| 82 | +
|
| 83 | + echo "" |
| 84 | + echo "=== Direct curl: addTranscript on test_organism ===" |
| 85 | + ORG_DIR=$(cd .. && pwd)/python-apollo/apollo_shared_dir |
| 86 | + curl -s -X POST http://localhost:8080/apollo/annotationEditor/addTranscript \ |
| 87 | + -H 'Content-Type: application/json' \ |
| 88 | + -d "{ |
| 89 | + \"username\": \"admin@local.host\", |
| 90 | + \"password\": \"password\", |
| 91 | + \"organism\": \"test_organism\", |
| 92 | + \"sequence\": \"Merlin\", |
| 93 | + \"suppressHistory\": true, |
| 94 | + \"suppressEvents\": true, |
| 95 | + \"features\": [{ |
| 96 | + \"location\": {\"fmin\": 100, \"fmax\": 500, \"strand\": 1}, |
| 97 | + \"type\": {\"name\": \"mRNA\", \"cv\": {\"name\": \"sequence\"}}, |
| 98 | + \"children\": [{ |
| 99 | + \"location\": {\"fmin\": 100, \"fmax\": 500, \"strand\": 1}, |
| 100 | + \"type\": {\"name\": \"exon\", \"cv\": {\"name\": \"sequence\"}} |
| 101 | + }] |
| 102 | + }] |
| 103 | + }" || true |
| 104 | +
|
| 105 | + echo "" |
| 106 | + echo "=== Direct curl: addFeature on test_organism ===" |
| 107 | + curl -s -X POST http://localhost:8080/apollo/annotationEditor/addFeature \ |
| 108 | + -H 'Content-Type: application/json' \ |
| 109 | + -d "{ |
| 110 | + \"username\": \"admin@local.host\", |
| 111 | + \"password\": \"password\", |
| 112 | + \"organism\": \"test_organism\", |
| 113 | + \"sequence\": \"Merlin\", |
| 114 | + \"features\": [{ |
| 115 | + \"location\": {\"fmin\": 1000, \"fmax\": 2000, \"strand\": 1}, |
| 116 | + \"type\": {\"name\": \"repeat_region\", \"cv\": {\"name\": \"sequence\"}} |
| 117 | + }] |
| 118 | + }" || true |
| 119 | +
|
| 120 | + echo "" |
80 | 121 | echo "=== Apollo ERROR/WARN log lines ===" |
81 | | - grep -E 'ERROR|WARN' ../apollo.log | tail -50 || true |
| 122 | + grep -E 'ERROR|WARN' ../apollo.log | tail -100 || true |
82 | 123 |
|
83 | 124 | - name: Run tests |
84 | 125 | run: | |
|
89 | 130 | - name: Print Apollo log on failure |
90 | 131 | if: failure() |
91 | 132 | run: | |
92 | | - echo "=== Last 200 lines of Apollo log ===" |
93 | | - tail -200 apollo.log |
| 133 | + echo "=== Last 500 lines of Apollo log ===" |
| 134 | + tail -500 apollo.log |
0 commit comments