Skip to content

Commit

Permalink
update index path for hisat2
Browse files Browse the repository at this point in the history
  • Loading branch information
sterrettJD committed May 8, 2024
1 parent 93ca320 commit 26aa88f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ rule build_host_genome_index:
bbmap.sh ref={input} path={params.ref_dir} threads={threads} -Xmx{resources.mem_mb}m {params.extra}
elif [ "{params.method}" == "HISAT2" ]; then
mkdir -p {output}/
hisat2-build {input} {output}/ -p {threads} {params.extra}
hisat2-build {input} {output}/index -p {threads} {params.extra}
fi
"""

Expand Down Expand Up @@ -1128,7 +1128,7 @@ rule map_host:
elif [ "{params.method}" == "HISAT2" ]; then
hisat2 -1 ../{input.FWD} -2 ../{input.REV} \
-S {wildcards.sample}.sam \
-x ref/ \
-x ref/index \
-p {threads} \
{params.extra}
fi
Expand Down

0 comments on commit 26aa88f

Please sign in to comment.