Skip to content

Commit 0cb7681

Browse files
committed
Merge branch 'master' into writing_joss_paper
2 parents 5872a9e + 8e9c33c commit 0cb7681

23 files changed

+824
-487
lines changed

.github/workflows/Dockerfile.centos

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ RUN yum -y update
44
RUN yum -y install zlib-devel wget ncurses-devel ncurses-compat-libs make gcc gcc-c++
55

66
# Install GHC since stack's local install has issues
7-
RUN wget https://downloads.haskell.org/~ghc/9.4.7/ghc-9.4.7-x86_64-centos7-linux.tar.xz
8-
RUN tar xvf ghc-9.4.7-x86_64-centos7-linux.tar.xz
9-
RUN cd ghc-9.4.7-x86_64-unknown-linux; ./configure; make install
7+
RUN wget https://downloads.haskell.org/~ghc/9.6.6/ghc-9.6.6-x86_64-centos7-linux.tar.xz
8+
RUN tar xvf ghc-9.6.6-x86_64-centos7-linux.tar.xz
9+
RUN cd ghc-9.6.6-x86_64-unknown-linux; ./configure; make install
1010

1111
# install stack
1212
RUN curl -sSL https://get.haskellstack.org/ | sh

.github/workflows/release.yaml

Lines changed: 30 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
tags:
77
- "v*"
8+
workflow_dispatch:
89

910
jobs:
1011
create_release:
@@ -27,7 +28,7 @@ jobs:
2728
runs-on: ${{ matrix.os }}
2829
strategy:
2930
matrix:
30-
os: [ubuntu-20.04, macOS-13, macOS-14, windows-latest]
31+
os: [ubuntu-latest, ubuntu-latest-arm, macOS-13, macOS-latest, windows-latest]
3132

3233
steps:
3334
- name: Check out code
@@ -56,22 +57,14 @@ jobs:
5657
run: |
5758
if [ "$RUNNER_OS" == "Windows" ]; then
5859
newEXE="pileupCaller-$RUNNER_OS.exe"
59-
elif [ "$RUNNER_OS" == "macOS" ]; then
60-
newEXE="pileupCaller-$RUNNER_OS-$RUNNER_ARCH"
6160
else
62-
newEXE="pileupCaller-$RUNNER_OS"
61+
newEXE="pileupCaller-$RUNNER_OS-$RUNNER_ARCH"
6362
fi
6463
currentEXE="${{ steps.stack.outputs.local-bin }}/pileupCaller"
6564
mv $currentEXE $newEXE
6665
echo "BINARY_PATH=$newEXE" >> $GITHUB_OUTPUT
6766
shell: bash
6867

69-
- name: Compress binary
70-
if: ${{ runner.os != 'macOS' }} # upx is crashing for macOS Ventura or above!
71-
uses: svenstaro/upx-action@v2
72-
with:
73-
files: ${{ steps.binarypath.outputs.BINARY_PATH }}
74-
7568
- name: Upload Release Asset
7669
id: upload-release-asset
7770
uses: ncipollo/release-action@v1
@@ -83,30 +76,30 @@ jobs:
8376
artifacts: ${{ steps.binarypath.outputs.BINARY_PATH }}
8477
artifactContentType: application/octet-stream
8578

86-
build_centos_artifact:
87-
needs: [create_release]
88-
runs-on: ubuntu-latest
89-
90-
steps:
91-
- name: Checkout repo
92-
uses: actions/checkout@v4
93-
94-
- name: Build Docker image
95-
run: docker build -t linux -f .github/workflows/Dockerfile.centos .
96-
97-
- name: Create container
98-
run: docker create --name linuxcontainer linux
99-
100-
- name: Copy executable
101-
run: docker cp linuxcontainer:/root/.local/bin/pileupCaller pileupCaller-conda-linux
102-
103-
- name: Upload Release Asset
104-
id: upload-release-asset
105-
uses: ncipollo/release-action@v1
106-
with:
107-
name: Release ${{ github.ref_name }}
108-
draft: true
109-
allowUpdates: true
110-
artifactErrorsFailBuild: true
111-
artifacts: pileupCaller-conda-linux
112-
artifactContentType: application/octet-stream
79+
# build_centos_artifact:
80+
# needs: [create_release]
81+
# runs-on: ubuntu-latest
82+
83+
# steps:
84+
# - name: Checkout repo
85+
# uses: actions/checkout@v4
86+
87+
# - name: Build Docker image
88+
# run: docker build -t linux -f .github/workflows/Dockerfile.centos .
89+
90+
# - name: Create container
91+
# run: docker create --name linuxcontainer linux
92+
93+
# - name: Copy executable
94+
# run: docker cp linuxcontainer:/root/.local/bin/pileupCaller pileupCaller-conda-linux
95+
96+
# - name: Upload Release Asset
97+
# id: upload-release-asset
98+
# uses: ncipollo/release-action@v1
99+
# with:
100+
# name: Release ${{ github.ref_name }}
101+
# draft: true
102+
# allowUpdates: true
103+
# artifactErrorsFailBuild: true
104+
# artifacts: pileupCaller-conda-linux
105+
# artifactContentType: application/octet-stream

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog
22

3+
- V 1.6.0.0:
4+
- pileupCaller now supports writing of VCF (Variant Call Format), via the standard output. See option --vcf and the Readme.
35
- V 1.5.4.0:
46
- updated sequence-formats dependency allows more lenient parsing of pileup-data, now also allowing for arbitrary reference alleles (not just ACTGN). This won't affect calling (reads that support an allele that is not in the SNP-file input are treated as before), but will be less disruptive when parsing pileup-input, for example without a bed-file in samtools.
57
- improved error output for parsing problems with pileup-format data. Now only a small part of the problematic chunk is output, hopefully easing error interpretation in such cases

0 commit comments

Comments
 (0)