Skip to content

Commit

Permalink
Update cellranger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Feb 29, 2024
1 parent f7e4d15 commit 2fa413c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/cellranger.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,10 @@ def lanuch_by_project(project_directory, recipe, species):
probe = config_dict[tag]["probe"][species]
cmd = cmd + " --probe-set={}".format(probe)

# if there is manual alignment json file availabe, add that to the cmd
if sample_info.json != "EMPTY":
cmd = cmd + " --loupe-alignment={}".format(sample_info.json)

bsub_cmd = "bsub -J {}_{}_{}_SPATIAL -o {}_SPATIAL.out{}{}".format(sequencer_and_run, project, sample, sample, cmd, OPTIONS)
print(bsub_cmd)
subprocess.run(bsub_cmd, shell=True)
Expand Down

0 comments on commit 2fa413c

Please sign in to comment.