Skip to content

Commit

Permalink
fix vdj cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
CuijieLu committed Apr 12, 2024
1 parent 9cd961c commit 7633e51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/cellranger.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def generate_cellranger_cmd(sample_ID, tag, genome, fastq_file_path, sequencer_a
transcriptome = CONFIG.config_dict[tag]["genome"][genome]
project_ID = "Project_" + "_".join(sample_ID.split("_")[sample_ID.split("_").index("IGO") + 1:-1])
cellranger_cmd = "{}--id=Sample_{}__{}".format(tool, sample_ID, tag) + transcriptome + "--fastqs=" + ",".join(fastq_file_path) + CONFIG.OPTIONS
if tag == "vdj":
cellranger_cmd = cellranger_cmd.replace(" --create-bam=true", "")
job_name = "{}_{}_{}_{}_cellranger".format(sequencer_and_run, project_ID, sample_ID, tag)
bsub_cmd = "bsub -J {} -o {}.out{}".format(job_name, job_name, cellranger_cmd)
return bsub_cmd
Expand Down

0 comments on commit 7633e51

Please sign in to comment.