-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#Basic commands to run cellranger for single-cell or single-nuclei RNA-sequencing Data | ||
|
||
#References: https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/what-is-cell-ranger | ||
|
||
#Reference Genome: https://support.10xgenomics.com/single-cell-gene-expression/software/downloads/latest | ||
|
||
#Sample_ID | ||
sample='' | ||
|
||
#Path to reference | ||
reference='refdata-gex-GRCh38-2020-A' | ||
|
||
#Path to FASTQ files | ||
fastq_dir='FASTQ/' | ||
|
||
|
||
cellranger-6.0.2/cellranger count --id $sample --fastqs $fastq_dir --include-introns --localmem=120 --localcores=16 --transcriptome $reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#Basic commands to run Space ranger for spatial transcriptomics Data | ||
|
||
#References: https://www.10xgenomics.com/support/software/space-ranger | ||
|
||
#Reference Genome: https://www.10xgenomics.com/support/software/space-ranger/downloads#reference-downloads | ||
|
||
#Sample_ID | ||
sample='' | ||
|
||
#Path to reference | ||
reference='refdata-gex-GRCh38-2020-A' | ||
|
||
# Probe set (FFPE): Human Probe Set v1 | ||
# Available at 10x Genomics website: https://www.10xgenomics.com/support/spatial-gene-expression-ffpe/documentation/workflows/cytassist-ffpe/steps/probe-sets/visium-ffpe-probe-sets-overview | ||
Probe_set_file = "PATH/TO/Visium_Human_Transcriptome_Probe_Set_v1.0_GRCh38-2020-A.csv" | ||
|
||
#Path to FASTQ files | ||
fastq_dir='PATH/TO/FASTQ/' | ||
|
||
# Path to output | ||
output_folder="SPACERANGE_OUTPUT/FOLDER/${sample}" | ||
|
||
# (Optional) in terms of sample with manual alignment | ||
# Add | ||
# --loupe-alignment="PATH/TO/SAMPLE_manual_alignment.json" \ | ||
|
||
# OCT version | ||
mkdir -p $output_folder && cd $output_folder && spaceranger count --id="$sample" \ | ||
--sample="$sample" \ | ||
--transcriptome="$reference" \ | ||
--fastqs="$fastq_dir" \ | ||
--image="PATH/TO/HE_IMAGE_FILE.tif" \ | ||
--slide="SLIDE_ID" \ # e.g. "V12U06-375" | ||
--area="AREA_ID" \ # e.g. "B1" | ||
--localcores=32 \ | ||
--localmem=150 | ||
|
||
|
||
# FFPE version | ||
mkdir -p $output_folder && cd $output_folder && spaceranger count --id="$sample" \ | ||
--sample="$sample" \ | ||
--transcriptome="$reference" \ | ||
--probe-set="$Probe_set_file" \ | ||
--fastqs="$fastq_dir" \ | ||
--image="PATH/TO/HE_IMAGE_FILE.tif" \ | ||
--slide="SLIDE_ID" \ # e.g. "V12U06-375" | ||
--area="AREA_ID" \ # e.g. "B1" | ||
--localcores=32 \ | ||
--localmem=150 | ||
|