Skip to content

Commit

Permalink
NC=0 workflow error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 7, 2023
1 parent 311f22b commit ba96abe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflow_avamb/avamb.snake.conda.smk
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ rule write_clusters_from_nc_folders:
"avamb"

shell:
"sh {params.path} -d {OUTDIR}/Final_bins -o {output} ;"
"sh {params.path} -d {OUTDIR}/Final_bins -o {OUTDIR} ;"
"touch {log.log_fin} "

# Rename and move some files and folders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
while getopts "d:o:" opt; do
case $opt in
d) drep_dir=$OPTARG ;;
o) clusters_file=$OPTARG ;;
o) outdir=$OPTARG ;;
*) echo 'error' >&2
exit 1
esac
done
clusters_file=${outdir}/avamb/avamb_manual_drep_disjoint_clusters.tsv
echo 'creating z y v clusters from the final set of bins'
for s in $(ls $drep_dir)
do
Expand Down

0 comments on commit ba96abe

Please sign in to comment.