-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fgbio-read-clipping
- Loading branch information
Showing
74 changed files
with
473 additions
and
398 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
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
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
# Checking out the repository which is to be actioned | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
# Implementing action on repository | ||
- uses: VinnyBabuManjaly/[email protected] | ||
with: | ||
|
@@ -25,7 +25,7 @@ jobs: | |
|
||
# Creates pull request with all changes in file | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit-message: "chore: update copyright preamble" | ||
delete-branch: true | ||
|
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
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.ref != 'refs/heads/master' | ||
steps: | ||
- uses: khan/[email protected].0 | ||
- uses: khan/[email protected].1 | ||
with: | ||
workflows: "main.yml" | ||
env: | ||
|
@@ -22,9 +22,9 @@ jobs: | |
Formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Formatting | ||
uses: github/super-linter@v4.9.2 | ||
uses: github/super-linter@v5.0.0 | ||
env: | ||
VALIDATE_ALL_CODEBASE: false | ||
DEFAULT_BRANCH: master | ||
|
@@ -39,22 +39,25 @@ jobs: | |
env: | ||
GISAID_API_TOKEN: ${{ secrets.GISAID_API_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Lint workflow | ||
uses: snakemake/snakemake-github-action@v1.24.0 | ||
uses: snakemake/snakemake-github-action@v1.25.1 | ||
with: | ||
directory: . | ||
snakefile: workflow/Snakefile | ||
stagein: mamba install -n snakemake -c conda-forge peppy | ||
args: "--lint" | ||
|
||
Pre-Commit: | ||
runs-on: ubuntu-latest | ||
if: github.ref != 'refs/heads/master' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/[email protected] | ||
# pre-commit action currently fails: | ||
# https://github.com/IKIM-Essen/uncovar/actions/runs/4304753941/jobs/7506225198#step:4:115 | ||
# revisit when new pre-commit release >3.0.0 is out | ||
# Pre-Commit: | ||
# runs-on: ubuntu-latest | ||
# if: github.ref != 'refs/heads/master' | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-python@v4 | ||
# - uses: pre-commit/[email protected] | ||
|
||
Technology-Tests: | ||
runs-on: ubuntu-latest | ||
|
@@ -63,14 +66,19 @@ jobs: | |
needs: | ||
- Formatting | ||
- Linting | ||
- Pre-Commit | ||
#- Pre-Commit | ||
strategy: | ||
matrix: | ||
rule: [all, all -npr] | ||
# disable ont actions | ||
technology: [all, illumina, ont, ion] | ||
# technology: [all, illumina, ion] | ||
seq_method: [shotgun, amplicon] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
|
||
# android - will release about 10 GB if you don't need Android | ||
# dotnet - will release about 20 GB if you don't need .NET | ||
|
@@ -85,11 +93,9 @@ jobs: | |
mkdir -p .tests/data | ||
curl -L https://github.com/thomasbtf/small-kraken-db/raw/master/B.1.1.7.reads.1.fastq.gz > .tests/data/B117.1.fastq.gz | ||
curl -L https://github.com/thomasbtf/small-kraken-db/raw/master/B.1.1.7.reads.1.fastq.gz > .tests/data/B117.2.fastq.gz | ||
curl -L https://github.com/thomasbtf/small-kraken-db/raw/master/ont_reads.fastq.gz > .tests/data/ont_reads.fastq.gz | ||
curl -L https://github.com/thomasbtf/small-kraken-db/raw/master/ERR5745913.fastq.gz > .tests/data/ion_reads.fastq.gz | ||
echo sample_name,fq1,fq2,date,is_amplicon_data,technology > .tests/config/pep/samples.csv | ||
echo illumina-test,data/B117.1.fastq.gz,data/B117.2.fastq.gz,2022-01-01,$AMPLICON,illumina >> .tests/config/pep/samples.csv | ||
echo ont-test,data/ont_reads.fastq.gz,,2022-01-01,$AMPLICON,ont >> .tests/config/pep/samples.csv | ||
echo ion-test,data/ion_reads.fastq.gz,,2022-01-01,$AMPLICON,ion >> .tests/config/pep/samples.csv | ||
- name: Prepare test data for Illumina | ||
if: steps.test-data.outputs.cache-hit != true && (startsWith(matrix.rule, 'all') && matrix.technology == 'illumina' || matrix.rule == 'compare_assemblers') | ||
|
@@ -131,15 +137,14 @@ jobs: | |
curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314997.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.1.7.fasta | ||
curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314998.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.351.fasta | ||
- name: Test rule ${{ matrix.rule }} on ${{ matrix.technology }} ${{ matrix.seq_method }} data | ||
uses: snakemake/snakemake-github-action@v1.24.0 | ||
uses: snakemake/snakemake-github-action@v1.25.1 | ||
with: | ||
stagein: mamba env create -f workflow/envs/trinity.yaml -n trinity | ||
directory: .tests | ||
snakefile: workflow/Snakefile | ||
args: "-pr --use-conda --show-failed-logs --cores 2 --resources ncbi_api_requests=1 --conda-cleanup-pkgs cache --conda-frontend mamba ${{ matrix.rule }}" | ||
|
||
- name: Test report | ||
uses: snakemake/snakemake-github-action@v1.24.0 | ||
uses: snakemake/snakemake-github-action@v1.25.1 | ||
if: startsWith(matrix.rule, 'all -npr') != true | ||
with: | ||
directory: .tests | ||
|
@@ -173,7 +178,7 @@ jobs: | |
needs: | ||
- Formatting | ||
- Linting | ||
- Pre-Commit | ||
#- Pre-Commit | ||
strategy: | ||
matrix: | ||
rule: | ||
|
@@ -184,10 +189,10 @@ jobs: | |
benchmark_non_sars_cov_2, | ||
benchmark_reads, | ||
compare_assemblers, | ||
generate_test_cases, | ||
] | ||
# generate_test_cases, | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
# - name: Cache conda dependencies | ||
# uses: actions/cache@v2 | ||
|
@@ -310,14 +315,14 @@ jobs: | |
curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314997.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.1.7.fasta | ||
curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=MZ314998.1&rettype=fasta" | sed '$ d' > .tests/resources/genomes/B.1.351.fasta | ||
- name: Test rule ${{ matrix.rule }} | ||
uses: snakemake/snakemake-github-action@v1.24.0 | ||
uses: snakemake/snakemake-github-action@v1.25.1 | ||
with: | ||
directory: .tests | ||
snakefile: workflow/Snakefile | ||
args: "-pr --use-conda --show-failed-logs --cores 2 --resources ncbi_api_requests=1 --conda-cleanup-pkgs cache --conda-frontend mamba ${{ matrix.rule }}" | ||
|
||
- name: Test report | ||
uses: snakemake/snakemake-github-action@v1.24.0 | ||
uses: snakemake/snakemake-github-action@v1.25.1 | ||
if: startsWith(matrix.rule, 'all -npr') != true | ||
with: | ||
directory: .tests | ||
|
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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
Create-PR-for-new-Pangolin-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install mamba | ||
uses: conda-incubator/setup-miniconda@v2 | ||
|
@@ -37,7 +37,7 @@ jobs: | |
- name: Create Pull Request | ||
if: ${{ env.LATEST_PANGOLIN != env.CURRENT_PANGOLIN }} | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
committer: GitHub <[email protected]> | ||
|
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
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.15.0 | ||
0.16.0 |
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
channels: | ||
- bioconda | ||
- conda-forge | ||
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- abyss =2.3.1 |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
channels: | ||
- bioconda | ||
- conda-forge | ||
- bioconda | ||
- nodefaults | ||
dependencies: | ||
- bamclipper =1.0 | ||
- samtools =1.14 # see https://github.com/merenlab/anvio/issues/1479 |
Oops, something went wrong.