Skip to content

Commit

Permalink
adding samtools faidx command
Browse files Browse the repository at this point in the history
  • Loading branch information
LiaOb21 committed Jan 3, 2024
1 parent 2487890 commit e6712ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow/rules/two_read_bam_combiner.smk
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ rule two_read_bam_combiner:
shell:
"""
mkdir -p results/arima_mapping_pipeline/TMP_DIR
samtools faidx {input.REF}
perl scripts/two_read_bam_combiner.pl {input.bam1_filt} {input.bam2_filt} samtools {config[arima][MAPQ_FILTER]} | samtools view -bS -t {input.REF}.fai - | samtools sort -@ {config[arima][CPU]} -o {output.tmp_bam} - >> {log} 2>&1
"""

0 comments on commit e6712ec

Please sign in to comment.