Skip to content

Commit

Permalink
remove bam_base_name from CreateFragments task
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc3 committed Dec 13, 2024
1 parent 7b5a87e commit 0d4f010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/skylab/atac/atac.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ task CreateFragmentFile {
if peakcalling_bool:
print("Peak calling starting...")
atac_data = snap.read("~{bam_base_name}.metrics.h5ad")
atac_data = snap.read("~{input_id}.metrics.h5ad")
# Calculate and plot the size distribution of fragments
print("Calculating fragment size distribution")
Expand Down Expand Up @@ -706,7 +706,7 @@ task CreateFragmentFile {
atac_data_mod.uns[key] = atac_data_mod.uns[key].to_pandas()
print("Write into h5ad file")
atac_data_mod.write_h5ad("~{bam_base_name}.peaks.h5ad")
atac_data_mod.write_h5ad("~{input_id}.peaks.h5ad")
print("test")
CODE
Expand Down

0 comments on commit 0d4f010

Please sign in to comment.