Skip to content

Commit

Permalink
Fixed bug --config
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzalab committed Sep 26, 2023
1 parent 19afaac commit bca4aab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pipeline/fix_wipe_pairs_reads_parallel.smk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#cmd: snakemake --config sample_name=sample --config chunk_size=50000000 -s pipeline/fix_wipe_pairs_reads_parallel.smk --use-conda --cores 4
#cmd: snakemake --config sample_name=sample chunk_size=50000000 -s pipeline/fix_wipe_pairs_reads_parallel.smk --use-conda --cores 4

import os
import shutil
Expand Down
2 changes: 1 addition & 1 deletion pipeline/fix_wipe_single_reads_parallel.smk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#cmd: snakemake --config sample_name=sample_R1 --config chunk_size=50000000 -s pipeline/fix_wipe_single_reads_parallel.smk --use-conda --cores 4
#cmd: snakemake --config sample_name=sample_R1 chunk_size=50000000 -s pipeline/fix_wipe_single_reads_parallel.smk --use-conda --cores 4

import os
import shutil
Expand Down
4 changes: 2 additions & 2 deletions run_wiping.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ then
if [ $cores > 1 ]
then
echo "Processing paired-end files in parallel"
snakemake --config sample_name=$sample_name --config chunk_size=$chunk_size -s pipeline/fix_wipe_pairs_reads_parallel.smk --use-conda --cores $cores
snakemake --config sample_name=$sample_name chunk_size=$chunk_size -s pipeline/fix_wipe_pairs_reads_parallel.smk --use-conda --cores $cores
else
echo "Processing paired-end files sequentially"
snakemake --config sample_name=$sample_name -s pipeline/fix_wipe_pairs_reads_sequential.smk --use-conda --cores $cores
Expand All @@ -19,7 +19,7 @@ else
if [ $cores > 1 ]
then
echo "Processing single-end file in parallel"
snakemake --config sample_name=$sample_name --config chunk_size=$chunk_size -s pipeline/fix_wipe_single_reads_parallel.smk --use-conda --cores $cores
snakemake --config sample_name=$sample_name chunk_size=$chunk_size -s pipeline/fix_wipe_single_reads_parallel.smk --use-conda --cores $cores
else
echo "Processing single-end file sequentially"
snakemake --config sample_name=$sample_name -s pipeline/fix_wipe_single_reads_sequential.smk --use-conda --cores $cores
Expand Down

0 comments on commit bca4aab

Please sign in to comment.