-
Notifications
You must be signed in to change notification settings - Fork 0
I/O operations #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
5f5d738
Instate phase variable once
RenzoTale88 e1fae11
Shave one second
RenzoTale88 5ed85fb
Some small tweaks
RenzoTale88 31f514d
Tweaks
RenzoTale88 2aa8f7b
Tidy-up code
RenzoTale88 9f8a745
Attempt compiling in CI
RenzoTale88 49770cc
Drop bed/bim/fam support for now
RenzoTale88 25038cb
Update version
RenzoTale88 ef7e129
Bop
RenzoTale88 d115a3e
Minor tweaks
RenzoTale88 9428fcc
Add plink support
RenzoTale88 942347d
Add dockerfile for xpclrs
RenzoTale88 03eff5f
Minimal docker image
RenzoTale88 856ba20
Fix tool breaking when no input lists match the samples
RenzoTale88 aec55f6
Update readme
RenzoTale88 b1062e1
Fix clippy warnings
RenzoTale88 cdec73b
Reformat code
RenzoTale88 b74593f
Docker push image
RenzoTale88 ee88c2b
Add crates.io release
RenzoTale88 0618f8b
Add description to manifest
RenzoTale88 dbb79e7
Add crates-style comments, make clippy happy and make the plink allel…
RenzoTale88 b108152
Use genetic position in the BIM file, if different from 0
RenzoTale88 606091a
Use genetic position pt2
RenzoTale88 e45db6d
Update readme
RenzoTale88 6fa16a7
Multiple simple suggestions
RenzoTale88 e7949dc
Last two copilot suggestions
RenzoTale88 e066102
Drop singletons too
RenzoTale88 701d2f9
Rustfmt
RenzoTale88 5f58aa2
Plink analysis now matching filtering
RenzoTale88 1b6372d
Add more test data and run more CI testings
RenzoTale88 ebd2f55
Save all compiled artifacts
RenzoTale88 cff0366
Attempt release all static compiled CI artifacts
RenzoTale88 723945c
Attempt fix
RenzoTale88 bab503e
Attempt fix pt2
RenzoTale88 109997f
Explore issue
RenzoTale88 f92eaf5
Finish fixing
RenzoTale88 eb06cc0
Plink automatically renames the chromosome from chr1 to 1
RenzoTale88 1887b02
Tweak to logging order
RenzoTale88 5ad07e4
Change category
RenzoTale88 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: crates | ||
| # This builds the docker image and pushes it to DockerHub | ||
| # Runs on nf-core repo releases and push event to 'dev' branch (PR merges) | ||
| on: | ||
| release: | ||
| types: [published] | ||
|
|
||
| jobs: | ||
| push_cratesio: | ||
| name: Push repository to crates.io | ||
| runs-on: ubuntu-latest | ||
| # Only run for the nf-core repo, for releases and merged PRs | ||
| if: ${{ github.repository == 'RenzoTale88/xpclrs' }} | ||
| steps: | ||
| - name: Check out pipeline code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Linux deps | ||
| run: sudo apt-get update && sudo apt-get install libopenblas-dev | ||
|
|
||
| - name: Build | ||
| run: cargo login --token ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
|
|
||
| - name: Build | ||
| run: cargo publish --dry-run | ||
|
|
||
| - name: Publish xpclrs to crates.io | ||
| run: cargo publish |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| name: Docker | ||
| # This builds the docker image and pushes it to DockerHub | ||
| # Runs on nf-core repo releases and push event to 'dev' branch (PR merges) | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| release: | ||
| types: [published] | ||
|
|
||
| jobs: | ||
| push_dockerhub: | ||
| name: Push new Docker image to Docker Hub | ||
| runs-on: ubuntu-latest | ||
| # Only run for the nf-core repo, for releases and merged PRs | ||
| if: ${{ github.repository == 'RenzoTale88/xpclrs' }} | ||
| env: | ||
| DOCKERHUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
| DOCKERHUB_PASS: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
| steps: | ||
| - name: Check out pipeline code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up QEMU | ||
| uses: docker/setup-qemu-action@v3 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Log in to Docker Hub | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
| password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
|
||
| - name: Build and push Docker image (push event) | ||
| if: ${{ github.event_name == 'push' }} | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| tags: ${{ secrets.DOCKER_HUB_USERNAME }}/xpclrs:latest | ||
| no-cache: true | ||
|
|
||
| - name: Build and push Docker image (release event) | ||
| if: ${{ github.event_name == 'release' }} | ||
| uses: docker/build-push-action@v5 | ||
| with: | ||
| context: . | ||
| platforms: linux/amd64,linux/arm64 | ||
| push: true | ||
| tags: | | ||
| ${{ secrets.DOCKER_HUB_USERNAME }}/xpclrs:latest | ||
| ${{ secrets.DOCKER_HUB_USERNAME }}/xpclrs:${{ github.event.release.tag_name }} | ||
| no-cache: true |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.