Skip to content

Commit

Permalink
Update cellranger_multi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Apr 17, 2024
1 parent 1ec9c3b commit 326971a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/cellranger_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def gather_config_info(sample_dict, genome, IGO_ID):
config.gene_expression["cmo-set"] = CONFIG_AREA + "Project_{}/Project_{}_ch_{}.csv".format(project_ID, project_ID, sample_name)
config.samples = ch_file_generation(project_ID, sample_name)

# if both ch and fb are there, change the ch name
if "ch" in sample_dict.keys() and "fb" in sample_dict.keys():
# if both ch and fb are there and vdj not there, change the ch name
if "ch" in sample_dict.keys() and "fb" in sample_dict.keys() and "vdj" not in sample_dict.keys():
sample_dict["ch"] = sample_dict["ch"].replace("FB_IGO", "CH_IGO")

# find fastq files for each sample and append information into config["libraries"]
Expand Down

0 comments on commit 326971a

Please sign in to comment.