Skip to content

Commit

Permalink
bowtie2 build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 12, 2024
1 parent 3f43eb2 commit 3014b75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snakePipes/shared/rules/masked_genomeIndex.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,18 @@ if aligner == "STAR":
elif aligner == "Bowtie2":
rule bowtie2_index:
input:
snpgenome_dir = SNPdir
snpgenome_dir = SNPdir,
filelist = lambda wildcards: getref_fileList(SNPdir)
output:
bowtie2_index_allelic
threads: lambda wildcards: 10 if 10<max_thread else max_thread
params:
filelist = getref_fileList(SNPdir),
idxbase = "snp_genome/bowtie2_Nmasked/Genome"
conda: CONDA_DNA_MAPPING_ENV
shell:
"bowtie2-build"
" --threads {threads}"
" {params.filelist}"
" {input.filelist}"
" {params.idxbase}"
else:
print("Only STAR and Bowtie2 are implemented for allele-specific mapping")

0 comments on commit 3014b75

Please sign in to comment.