Oshlack / STRetch

Method for detecting STR expansions from short-read sequencing data
MIT License
62 stars 15 forks source link

[WIP] GitHub Actions for CI #68

Closed lonsbio closed 2 years ago

lonsbio commented 2 years ago

Initial attempt at converting Travis CI script to GitHub Actions.

Due to large amount of files, rolled into one stage rather than separate build and test, and separate steps for sub stages. Could be optimised further.

Currently failing at the diff STRs.tsv ../.testing/STRs.benchmark.tsv step , however unclear initially if this is a CI issue, or an actual regression that is being found

  cd $STRetch/test/
  diff STRs.tsv ../.testing/STRs.benchmark.tsv
  head *.locus_counts *.STR_counts *.median_cov
  head *.tsv
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.10.0/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.0/x64/lib
    STRetch: /home/runner/work/STRetch/STRetch
2,3c2,3
< chr13 70713515    70713561    11_L001_R1  AGC 15.3    35  1.9 0.03    317.0   121.0
< chr13 70713515    70713561    69_L001_R1  AGC 15.3    8   0.4 0.33    76.1    40.7
---
> chr13 70713515    70713561    11_L001_R1  AGC 15.3    36  1.9 0.029   325.9   123.9
> chr13 70713515    70713561    69_L001_R1  AGC 15.3    8   0.4 0.34    76.1    40.7
hdashnow commented 2 years ago

Thanks @lonsbio! I'll see if I can figure out why the files are different.