Skip to content

Commit

Permalink
checking for bai
Browse files Browse the repository at this point in the history
  • Loading branch information
shadizaheri committed Sep 9, 2024
1 parent 09154ed commit 4aedff1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions wdl/pipelines/PacBio/Utility/IGV_HaplotypeViz.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,23 @@ workflow igv_screenshot_automation {

input {
File asm_hap1_bam # BAM file for asm haplotype 1
File asm_hap1_bai # BAI index file for asm haplotype 1
File asm_hap2_bam # BAM file for asm haplotype 2
File asm_hap2_bai # BAI index file for asm haplotype 2
File bam # A single BAM file for the sample
File bam_bai # BAI index file for the single BAM file
File reference_fasta # Reference FASTA file
File regions_bed # Path to the BED file with regions of interest
String genome # Reference genome version (e.g., "hg38")
Int image_height = 500 # Height for the IGV tracks
}

# Directly use .bam.bai files co-located with the BAM files
call IGVScreenshotTask {
input:
asm_hap1_bam = asm_hap1_bam,
asm_hap1_bai = asm_hap1_bai,
asm_hap1_bai = asm_hap1_bam + ".bai",
asm_hap2_bam = asm_hap2_bam,
asm_hap2_bai = asm_hap2_bai,
asm_hap2_bai = asm_hap2_bam + ".bai",
bam = bam,
bam_bai = bam_bai,
bam_bai = bam + ".bai",
reference_fasta = reference_fasta,
regions_bed = regions_bed,
genome = genome,
Expand Down

0 comments on commit 4aedff1

Please sign in to comment.