Skip to content

Commit

Permalink
Simplify alevin template
Browse files Browse the repository at this point in the history
  • Loading branch information
zxBIB Almeida,Felipe (GCBDS) EXTERNAL committed Oct 4, 2024
1 parent aa99cd1 commit 0ca1161
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions modules/local/templates/mtx_to_h5ad_alevin.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ def input_to_adata(
adata.write_h5ad(f"{output}", compression="gzip")
print(f"Wrote h5ad file to {output}")

# dump versions
dump_versions()

return adata

#
# Run main script
#
Expand All @@ -89,8 +84,11 @@ def input_to_adata(
os.makedirs("${meta.id}", exist_ok=True)

# input_type comes from NF module
adata = input_to_adata(
input_to_adata(
input_data="${meta.id}_alevin_results/af_quant/alevin/",
output="${meta.id}/${meta.id}_${meta.input_type}_matrix.h5ad",
sample="${meta.id}"
)

# dump versions
dump_versions()

0 comments on commit 0ca1161

Please sign in to comment.