Skip to content

Commit

Permalink
use run instead to loop over read numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
FriederikeHanssen committed Jan 11, 2024
1 parent 48f37c5 commit f668217
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/ncbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,32 +80,33 @@ jobs:

- name: Add entry to config
uses: mikefarah/yq@master
with:
# TODO: add in values for all callers, ensure proper extension for the datasets are used.
# TODO check if trimming should be enabled actually
cmd: for reads in 75 200; do
#with:
# TODO: add in values for all callers, ensure proper extension for the datasets are used.
# TODO check if trimming should be enabled actually
run: |
for reads in 75 200; do
yq --inplace '
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.labels;
.site = "nf-core" |
.pipeline = "nf-core/sarek v${{ env.PIPELINE_VERSION }}" |
.trimming = "FastP v${{ env.FASTP_VERSION }}" |
.read-mapping = "bwa mem v${{ env.BWA_VERSION }}" |
.base-quality-recalibration = "gatk4 v${{ env.GATK_VERSION }}" |
.realignment = "none" |
.variant-detection = "strelka2 v${{ env.STRELKA_VERSION }}" |
.genotyping = "none" |
.reads = "${reads}M" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.subcategory;
. = "NA12878-agilent" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.zenodo;
.deposition = $DEPOSITION_ID |
.filename = "TODO get here proper file names" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.benchmark;
. = "giab-NA12878-agilent-${reads}M" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.rename-contigs;
. = "resources/rename-contigs/ucsc-to-ensembl.txt" )
' ncbench-workflow/config/config.yaml
done
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.labels;
.site = "nf-core" |
.pipeline = "nf-core/sarek v${{ env.PIPELINE_VERSION }}" |
.trimming = "FastP v${{ env.FASTP_VERSION }}" |
.read-mapping = "bwa mem v${{ env.BWA_VERSION }}" |
.base-quality-recalibration = "gatk4 v${{ env.GATK_VERSION }}" |
.realignment = "none" |
.variant-detection = "strelka2 v${{ env.STRELKA_VERSION }}" |
.genotyping = "none" |
.reads = "${reads}M" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.subcategory;
. = "NA12878-agilent" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.zenodo;
.deposition = $DEPOSITION_ID |
.filename = "TODO get here proper file names" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.benchmark;
. = "giab-NA12878-agilent-${reads}M" ) |
with(.variant-calls.nf-core-sarek-${{ env.PIPELINE_VERSION }}-strelka-agilent-${reads}M.rename-contigs;
. = "resources/rename-contigs/ucsc-to-ensembl.txt" )
' ncbench-workflow/config/config.yaml
done
# TODO: enable using secrets here
- name: Commit files
Expand Down

0 comments on commit f668217

Please sign in to comment.