-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #195 from GoekeLab/add_ci
add ci
- Loading branch information
Showing
12 changed files
with
717 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: run-test | ||
|
||
on: | ||
push: | ||
branches: [dev, master] | ||
pull_request: | ||
branches: [dev, master] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Python # Set Python version | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
# Install pip and pytest | ||
- name: Install dependencies | ||
run: | | ||
pip install . | ||
- name: Install xpore-package | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pytest pytest-dependency | ||
- name: Test with pytest | ||
run: pytest --junitxml=junit/test-results-${{ matrix.python-version }}.xml | ||
- name: Upload pytest test results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: pytest-results-${{ matrix.python-version }} | ||
path: junit/test-results-${{ matrix.python-version }}.xml | ||
# Use always() to always run this step to publish test results when there are test failures | ||
if: ${{ always() }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
notes: Pairwise comparison without replicates with default parameter setting. | ||
|
||
data: | ||
KO: | ||
rep1: data/data/HEK293T-METTL3-KO-rep1/dataprep | ||
WT: | ||
rep1: data/data/HEK293T-WT-rep1/dataprep | ||
|
||
out: ./out | ||
|
||
method: | ||
prefiltering: | ||
method: t-test | ||
threshold: 0.1 | ||
|
3 changes: 3 additions & 0 deletions
3
xpore/test/data/data/HEK293T-METTL3-KO-rep1/dataprep/data.index
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
idx,start,end | ||
ENSG00000114125,0,743597 | ||
ENSG00000159111,743597,1675247 |
2 changes: 2 additions & 0 deletions
2
xpore/test/data/data/HEK293T-METTL3-KO-rep1/dataprep/data.json
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
xpore/test/data/data/HEK293T-METTL3-KO-rep1/dataprep/data.readcount
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
idx,n_reads | ||
ENSG00000114125,178 | ||
ENSG00000159111,125 |
308 changes: 308 additions & 0 deletions
308
xpore/test/data/data/HEK293T-METTL3-KO-rep1/dataprep/eventalign.index
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,308 @@ | ||
transcript_id,read_index,pos_start,pos_end | ||
ENST00000351111.6,3,172,290405 | ||
ENST00000351111.6,0,290405,614006 | ||
ENST00000351111.6,1,614006,973714 | ||
ENST00000351111.6,2,973714,1347872 | ||
ENST00000351111.6,4,1347872,1631191 | ||
ENST00000351111.6,5,1631191,1969909 | ||
ENST00000351111.6,6,1969909,2287645 | ||
ENST00000351111.6,7,2287645,2662912 | ||
ENST00000351111.6,8,2662912,2983531 | ||
ENST00000351111.6,10,2983531,3262408 | ||
ENST00000351111.6,9,3262408,3639802 | ||
ENST00000351111.6,11,3639802,3922204 | ||
ENST00000351111.6,12,3922204,4213229 | ||
ENST00000351111.6,15,4213229,4515039 | ||
ENST00000351111.6,13,4515039,4931420 | ||
ENST00000351111.6,14,4931420,5327189 | ||
ENST00000351111.6,18,5327189,5600448 | ||
ENST00000351111.6,17,5600448,5932669 | ||
ENST00000351111.6,19,5932669,6267471 | ||
ENST00000351111.6,20,6267471,6594472 | ||
ENST00000351111.6,16,6594472,7258428 | ||
ENST00000351111.6,24,7258428,7507774 | ||
ENST00000351111.6,22,7507774,7956149 | ||
ENST00000351111.6,21,7956149,8507117 | ||
ENST00000351111.6,23,8507117,8786265 | ||
ENST00000351111.6,25,8786265,9089456 | ||
ENST00000351111.6,27,9089456,9420591 | ||
ENST00000351111.6,28,9420591,9737302 | ||
ENST00000351111.6,26,9737302,10023649 | ||
ENST00000351111.6,31,10023649,10270767 | ||
ENST00000351111.6,29,10270767,10553038 | ||
ENST00000351111.6,33,10553038,10891485 | ||
ENST00000351111.6,32,10891485,11194723 | ||
ENST00000351111.6,30,11194723,11561595 | ||
ENST00000351111.6,35,11561595,11884643 | ||
ENST00000351111.6,34,11884643,12180887 | ||
ENST00000351111.6,37,12180887,12434566 | ||
ENST00000351111.6,38,12434566,12732191 | ||
ENST00000351111.6,36,12732191,13052951 | ||
ENST00000351111.6,39,13052951,13371847 | ||
ENST00000351111.6,40,13371847,13662737 | ||
ENST00000351111.6,43,13662737,14041564 | ||
ENST00000351111.6,42,14041564,14372510 | ||
ENST00000351111.6,41,14372510,14765125 | ||
ENST00000351111.6,45,14765125,15087270 | ||
ENST00000351111.6,44,15087270,15455322 | ||
ENST00000351111.6,47,15455322,15754365 | ||
ENST00000351111.6,46,15754365,16131447 | ||
ENST00000351111.6,48,16131447,16453589 | ||
ENST00000351111.6,49,16453589,16739372 | ||
ENST00000351111.6,50,16739372,17013441 | ||
ENST00000351111.6,51,17013441,17366460 | ||
ENST00000351111.6,52,17366460,17704802 | ||
ENST00000351111.6,55,17704802,17929371 | ||
ENST00000351111.6,56,17929371,18189147 | ||
ENST00000351111.6,53,18189147,18610106 | ||
ENST00000351111.6,54,18610106,19093035 | ||
ENST00000351111.6,57,19093035,19440945 | ||
ENST00000351111.6,59,19440945,19755236 | ||
ENST00000351111.6,58,19755236,20162096 | ||
ENST00000351111.6,62,20162096,20438269 | ||
ENST00000351111.6,61,20438269,20846303 | ||
ENST00000351111.6,63,20846303,21207768 | ||
ENST00000351111.6,64,21207768,21536313 | ||
ENST00000351111.6,66,21536313,21839419 | ||
ENST00000351111.6,67,21839419,22119518 | ||
ENST00000351111.6,65,22119518,22531949 | ||
ENST00000351111.6,60,22531949,23211395 | ||
ENST00000351111.6,68,23211395,23493430 | ||
ENST00000351111.6,69,23493430,23822264 | ||
ENST00000351111.6,71,23822264,24159270 | ||
ENST00000351111.6,70,24159270,24545603 | ||
ENST00000351111.6,73,24545603,24864097 | ||
ENST00000351111.6,72,24864097,25235542 | ||
ENST00000351111.6,74,25235542,25621138 | ||
ENST00000351111.6,75,25621138,25889668 | ||
ENST00000351111.6,78,25889668,26073288 | ||
ENST00000351111.6,76,26073288,26435538 | ||
ENST00000351111.6,79,26435538,26763183 | ||
ENST00000351111.6,77,26763183,27162442 | ||
ENST00000351111.6,80,27162442,27449600 | ||
ENST00000351111.6,83,27449600,27741560 | ||
ENST00000351111.6,82,27741560,28074012 | ||
ENST00000351111.6,84,28074012,28490394 | ||
ENST00000351111.6,81,28490394,29025715 | ||
ENST00000351111.6,85,29025715,29388415 | ||
ENST00000351111.6,86,29388415,29768741 | ||
ENST00000351111.6,87,29768741,30018232 | ||
ENST00000351111.6,88,30018232,30317250 | ||
ENST00000351111.6,89,30317250,30607473 | ||
ENST00000351111.6,91,30607473,30962887 | ||
ENST00000351111.6,92,30962887,31271389 | ||
ENST00000351111.6,90,31271389,31675532 | ||
ENST00000351111.6,93,31675532,31958143 | ||
ENST00000351111.6,96,31958143,32143515 | ||
ENST00000351111.6,95,32143515,32461911 | ||
ENST00000351111.6,97,32461911,32726264 | ||
ENST00000351111.6,99,32726264,32857076 | ||
ENST00000351111.6,94,32857076,33268237 | ||
ENST00000351111.6,100,33268237,33398024 | ||
ENST00000351111.6,98,33398024,33694813 | ||
ENST00000351111.6,101,33694813,33791888 | ||
ENST00000351111.6,102,33791888,33877589 | ||
ENST00000290208.11,103,33877589,34232879 | ||
ENST00000290208.11,106,34232879,34519193 | ||
ENST00000290208.11,105,34519193,34936092 | ||
ENST00000290208.11,104,34936092,35342886 | ||
ENST00000290208.11,108,35342886,35560872 | ||
ENST00000290208.11,109,35560872,35777127 | ||
ENST00000290208.11,110,35777127,36062292 | ||
ENST00000290208.11,107,36062292,36419768 | ||
ENST00000290208.11,112,36419768,36633410 | ||
ENST00000290208.11,113,36633410,36850118 | ||
ENST00000290208.11,114,36850118,37070999 | ||
ENST00000290208.11,111,37070999,37480194 | ||
ENST00000290208.11,118,37480194,37527587 | ||
ENST00000290208.11,116,37527587,37721584 | ||
ENST00000290208.11,115,37721584,38039451 | ||
ENST00000290208.11,117,38039451,38257277 | ||
ENST00000414011.1,120,38257277,38488202 | ||
ENST00000414011.1,119,38488202,38838405 | ||
ENST00000414011.1,122,38838405,39176554 | ||
ENST00000414011.1,121,39176554,39524577 | ||
ENST00000414011.1,123,39524577,39757479 | ||
ENST00000273480.3,127,39757479,39959655 | ||
ENST00000421763.5,124,39959655,40306230 | ||
ENST00000396651.7,125,40306230,40517292 | ||
ENST00000273480.3,128,40517292,40745221 | ||
ENST00000273480.3,129,40745221,40914633 | ||
ENST00000273480.3,130,40914633,41204718 | ||
ENST00000460110.5,126,41204718,41761301 | ||
ENST00000273480.3,132,41761301,41965891 | ||
ENST00000273480.3,133,41965891,42141899 | ||
ENST00000273480.3,131,42141899,42366171 | ||
ENST00000273480.3,134,42366171,42529145 | ||
ENST00000273480.3,135,42529145,42744043 | ||
ENST00000273480.3,137,42744043,42944582 | ||
ENST00000273480.3,138,42944582,43113498 | ||
ENST00000273480.3,139,43113498,43266826 | ||
ENST00000273480.3,136,43266826,43564471 | ||
ENST00000273480.3,140,43564471,43737096 | ||
ENST00000273480.3,141,43737096,43952030 | ||
ENST00000273480.3,142,43952030,44138587 | ||
ENST00000273480.3,144,44138587,44288197 | ||
ENST00000273480.3,145,44288197,44454134 | ||
ENST00000273480.3,146,44454134,44615946 | ||
ENST00000273480.3,147,44615946,44805516 | ||
ENST00000273480.3,143,44805516,45054302 | ||
ENST00000273480.3,148,45054302,45248164 | ||
ENST00000273480.3,150,45248164,45449485 | ||
ENST00000273480.3,152,45449485,45615137 | ||
ENST00000273480.3,153,45615137,45769256 | ||
ENST00000273480.3,154,45769256,45927929 | ||
ENST00000273480.3,149,45927929,46128809 | ||
ENST00000273480.3,155,46128809,46175271 | ||
ENST00000273480.3,156,46175271,46320402 | ||
ENST00000273480.3,158,46320402,46496505 | ||
ENST00000273480.3,159,46496505,46677055 | ||
ENST00000273480.3,157,46677055,46833134 | ||
ENST00000273480.3,160,46833134,46989795 | ||
ENST00000273480.3,151,46989795,47292078 | ||
ENST00000273480.3,161,47292078,47464806 | ||
ENST00000273480.3,163,47464806,47646051 | ||
ENST00000273480.3,162,47646051,47812874 | ||
ENST00000273480.3,166,47812874,47986211 | ||
ENST00000273480.3,164,47986211,48162977 | ||
ENST00000273480.3,167,48162977,48334283 | ||
ENST00000273480.3,170,48334283,48493447 | ||
ENST00000273480.3,169,48493447,48665807 | ||
ENST00000273480.3,165,48665807,48843737 | ||
ENST00000273480.3,168,48843737,49055309 | ||
ENST00000273480.3,171,49055309,49213624 | ||
ENST00000273480.3,172,49213624,49340546 | ||
ENST00000273480.3,175,49340546,49489015 | ||
ENST00000273480.3,176,49489015,49633070 | ||
ENST00000273480.3,173,49633070,49783166 | ||
ENST00000273480.3,174,49783166,49958317 | ||
ENST00000273480.3,179,49958317,50126436 | ||
ENST00000273480.3,177,50126436,50312834 | ||
ENST00000273480.3,178,50312834,50533439 | ||
ENST00000273480.3,180,50533439,50650217 | ||
ENST00000273480.3,182,50650217,50802340 | ||
ENST00000273480.3,183,50802340,50953030 | ||
ENST00000273480.3,184,50953030,51124418 | ||
ENST00000273480.3,181,51124418,51352335 | ||
ENST00000273480.3,185,51352335,51525092 | ||
ENST00000273480.3,186,51525092,51659679 | ||
ENST00000273480.3,187,51659679,51840378 | ||
ENST00000273480.3,188,51840378,52010303 | ||
ENST00000273480.3,189,52010303,52199821 | ||
ENST00000273480.3,191,52199821,52369068 | ||
ENST00000273480.3,192,52369068,52536909 | ||
ENST00000273480.3,190,52536909,52835119 | ||
ENST00000273480.3,193,52835119,53042700 | ||
ENST00000273480.3,194,53042700,53201256 | ||
ENST00000273480.3,195,53201256,53392062 | ||
ENST00000273480.3,196,53392062,53550256 | ||
ENST00000273480.3,198,53550256,53712102 | ||
ENST00000273480.3,199,53712102,53892575 | ||
ENST00000273480.3,197,53892575,54107994 | ||
ENST00000273480.3,200,54107994,54261777 | ||
ENST00000273480.3,201,54261777,54436400 | ||
ENST00000273480.3,202,54436400,54582252 | ||
ENST00000273480.3,203,54582252,54804889 | ||
ENST00000273480.3,204,54804889,54974326 | ||
ENST00000273480.3,205,54974326,55139219 | ||
ENST00000273480.3,206,55139219,55281607 | ||
ENST00000273480.3,207,55281607,55467388 | ||
ENST00000273480.3,209,55467388,55606601 | ||
ENST00000273480.3,210,55606601,55743936 | ||
ENST00000273480.3,208,55743936,55955458 | ||
ENST00000273480.3,211,55955458,56117383 | ||
ENST00000273480.3,212,56117383,56289896 | ||
ENST00000273480.3,213,56289896,56460365 | ||
ENST00000273480.3,214,56460365,56599954 | ||
ENST00000273480.3,215,56599954,56757567 | ||
ENST00000273480.3,218,56757567,56899387 | ||
ENST00000273480.3,216,56899387,57076886 | ||
ENST00000273480.3,217,57076886,57336260 | ||
ENST00000273480.3,220,57336260,57581983 | ||
ENST00000273480.3,221,57581983,57761611 | ||
ENST00000273480.3,219,57761611,58023128 | ||
ENST00000273480.3,222,58023128,58170143 | ||
ENST00000273480.3,224,58170143,58319543 | ||
ENST00000273480.3,223,58319543,58478824 | ||
ENST00000273480.3,225,58478824,58621293 | ||
ENST00000273480.3,226,58621293,58797029 | ||
ENST00000273480.3,227,58797029,58945250 | ||
ENST00000273480.3,230,58945250,59094738 | ||
ENST00000273480.3,231,59094738,59245608 | ||
ENST00000273480.3,228,59245608,59414359 | ||
ENST00000273480.3,229,59414359,59606520 | ||
ENST00000273480.3,232,59606520,59788639 | ||
ENST00000273480.3,233,59788639,59992505 | ||
ENST00000273480.3,234,59992505,60140187 | ||
ENST00000273480.3,236,60140187,60290232 | ||
ENST00000273480.3,235,60290232,60438650 | ||
ENST00000273480.3,237,60438650,60595347 | ||
ENST00000273480.3,238,60595347,60739127 | ||
ENST00000273480.3,242,60739127,60896216 | ||
ENST00000273480.3,240,60896216,61061091 | ||
ENST00000273480.3,239,61061091,61267259 | ||
ENST00000273480.3,241,61267259,61478142 | ||
ENST00000273480.3,244,61478142,61701332 | ||
ENST00000273480.3,245,61701332,61897766 | ||
ENST00000273480.3,246,61897766,62090180 | ||
ENST00000273480.3,243,62090180,62369647 | ||
ENST00000273480.3,248,62369647,62509551 | ||
ENST00000273480.3,250,62509551,62637259 | ||
ENST00000273480.3,249,62637259,62818158 | ||
ENST00000273480.3,251,62818158,62989623 | ||
ENST00000273480.3,253,62989623,63147348 | ||
ENST00000273480.3,252,63147348,63338141 | ||
ENST00000273480.3,254,63338141,63538515 | ||
ENST00000273480.3,247,63538515,63876195 | ||
ENST00000273480.3,256,63876195,64052067 | ||
ENST00000273480.3,255,64052067,64224388 | ||
ENST00000273480.3,259,64224388,64352729 | ||
ENST00000273480.3,257,64352729,64518413 | ||
ENST00000273480.3,260,64518413,64673815 | ||
ENST00000273480.3,258,64673815,64835697 | ||
ENST00000273480.3,261,64835697,64988439 | ||
ENST00000273480.3,264,64988439,65106933 | ||
ENST00000273480.3,262,65106933,65270499 | ||
ENST00000273480.3,263,65270499,65413874 | ||
ENST00000273480.3,265,65413874,65578623 | ||
ENST00000273480.3,267,65578623,65724047 | ||
ENST00000273480.3,268,65724047,65880250 | ||
ENST00000273480.3,269,65880250,65991074 | ||
ENST00000273480.3,266,65991074,66214131 | ||
ENST00000273480.3,270,66214131,66342766 | ||
ENST00000273480.3,271,66342766,66451381 | ||
ENST00000273480.3,274,66451381,66586410 | ||
ENST00000273480.3,272,66586410,66704800 | ||
ENST00000273480.3,275,66704800,66766290 | ||
ENST00000273480.3,273,66766290,66893784 | ||
ENST00000273480.3,277,66893784,66949848 | ||
ENST00000273480.3,276,66949848,67043310 | ||
ENST00000273480.3,279,67043310,67115069 | ||
ENST00000273480.3,280,67115069,67167105 | ||
ENST00000480908.1,281,67167105,67247142 | ||
ENST00000273480.3,278,67247142,67432709 | ||
ENST00000393000.3,283,67432709,67598027 | ||
ENST00000393000.3,284,67598027,67750673 | ||
ENST00000393000.3,282,67750673,67908130 | ||
ENST00000393000.3,285,67908130,68096399 | ||
ENST00000393000.3,288,68096399,68235986 | ||
ENST00000393000.3,287,68235986,68421082 | ||
ENST00000393000.3,286,68421082,68631379 | ||
ENST00000393000.3,291,68631379,68685085 | ||
ENST00000393000.3,289,68685085,68840693 | ||
ENST00000393000.3,290,68840693,69021852 | ||
ENST00000393000.3,292,69021852,69169927 | ||
ENST00000393000.3,293,69169927,69287965 | ||
ENST00000393000.3,294,69287965,69428021 | ||
ENST00000393000.3,296,69428021,69525874 | ||
ENST00000393000.3,295,69525874,69670799 | ||
ENST00000477012.5,297,69670799,69850210 | ||
ENST00000477012.5,298,69850210,70080527 | ||
ENST00000477012.5,299,70080527,70295161 | ||
ENST00000477012.5,300,70295161,70511390 | ||
ENST00000477012.5,301,70511390,70737029 | ||
ENST00000477012.5,302,70737029,70958007 | ||
ENST00000477012.5,304,70958007,71126342 | ||
ENST00000477012.5,303,71126342,71350795 | ||
ENST00000463740.5,305,71350795,71536755 | ||
ENST00000229379.2,306,71536755,71820034 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
idx,start,end | ||
ENSG00000114125,0,385701 | ||
ENSG00000159111,385701,929888 | ||
ENSG00000095380,929888,952343 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
idx,n_reads | ||
ENSG00000114125,91 | ||
ENSG00000159111,71 | ||
ENSG00000095380,1 |
Oops, something went wrong.