Skip to content

Commit

Permalink
add cytassist to spaceranger
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Nov 16, 2023
1 parent 317add1 commit 741a3f9
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -392,6 +392,10 @@ def lanuch_by_project(project_directory, recipe, species):
cmd = "{}--id=Sample_{}{}".format(tool, sample, transcriptome) + "--fastqs=" + ",".join(sample_fastqfile_dict[sample]) + " --image={} --slide={} --area={}".format(sample_info.tiff_image, sample_info.chip_id, sample_info.chip_position)
if sample_info.preservation == "FFPE":
probe = config_dict[tag]["probe"][species]
if sample_info.cytAssist:
cmd = "{}--id=Sample_{}{}".format(tool, sample, transcriptome) + "--fastqs=" + ",".join(sample_fastqfile_dict[sample]) + " --cytaimage={} --slide={} --area={}".format(sample_info.tiff_image, sample_info.chip_id, sample_info.chip_position)
if species == "Human":
probe = config_dict[tag]["probe"]["Human_CytAssist"]
cmd = cmd + " --probe-set={}".format(probe)
bsub_cmd = "bsub -J {}_{}_{}_SPATIAL -o {}_SPATIAL.out{}{}".format(sequencer_and_run, project, sample, sample, cmd, OPTIONS)
print(bsub_cmd)
Expand Down
1 change: 1 addition & 0 deletions scripts/cellranger_spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def get_info_from_LIMS(self):
self.chip_position = response_data["chipPosition"]
self.chip_id = response_data["chipID"]
self.preservation = response_data["preservation"]
self.cytAssist = response_data["cytAssist"]

def copy_tiff(self, project_id):
# project_id format as Project_12345
Expand Down

0 comments on commit 741a3f9

Please sign in to comment.