Skip to content

Commit 32b97a3

Browse files
authored
Update cell_hashing.md
1 parent 934237f commit 32b97a3

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

scRNAseq/scRNAseq_analysis_tutorial/lessons/cell_hashing.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,47 @@ The next step is to perform the alignment and counting of the reads. The `cellra
5757
cellranger_mkfastq/outs/fastq_path/HGFCGBGXK/, barcode, Antibody Capture
5858
cellranger_mkfastq/outs/fastq_path/HGFCGBGXK/, gene, Gene Expression
5959
```
60+
- **Feature Reference CSV file**: This file provides information for parsing the antibody capture barcode information for each sample and assigning it to a sample. **You will need to acquire this information from the group preparing the libraries.** The following information is needed:
61+
- Are the hashing antibodies from Biolegend? If so, then the parsing information can be found in the [documention](https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/using/feature-bc-analysis#feature-ref)
62+
- What antibodies did you use and what are their barcodes?
63+
- What are the corresponding samples?
64+
65+
Upon asking, the client returned the following, which was sufficient for proceeding:
66+
67+
> •WT
68+
> TotalSeq™-B0301 anti-mouse Hashtag 1 Antibody
69+
> https://www.biolegend.com/en-us/search-results/totalseq-b0301-anti-mouse-hashtag-1-antibody-17771
70+
> Barcode Sequence: ACCCACCAGTAAGAC
71+
>
72+
> •KO
73+
> TotalSeq™-B0302 anti-mouse Hashtag 2 Antibody
74+
> https://www.biolegend.com/en-us/search-results/totalseq-b0302-anti-mouse-hashtag-2-antibody-17772
75+
> Barcode Sequence: GGTCGAGAGCATTCA
76+
77+
To construct the feature reference file, the client's barcoding information needs to be provided in a specific format. The `feature_ref.csv` file should have the following columns:
78+
- `id`: name for the output folder
79+
- `name`: name for feature
80+
- `read`: which read the antibody capture barcode is present within
81+
- `pattern`: the pattern used to parse the barcode
82+
- `sequence`: the barcode sequence for each sample
83+
- `feature_type`: for cell hashing, this should be 'Antibody Capture'
84+
85+
An example `feature_ref.csv` file is given below:
86+
87+
```
88+
id, name, read, pattern, sequence, feature_type
89+
WT, WT_TotalSeqB0301, R2, 5PNNNNNNNNNN(BC)NNNNNNNNN, ACCCACCAGTAAGAC, Antibody Capture
90+
KO, KO_TotalSeqB0302, R2,5PNNNNNNNNNN(BC)NNNNNNNNN, GGTCGAGAGCATTCA, Antibody Capture
91+
```
92+
93+
Now to run the `cellranger count` command, we can include this information:
94+
95+
```
96+
cellranger count --id=name_for_output_folder_in_feature_ref.csv\
97+
--libraries=library.csv \
98+
--transcriptome=/n/shared_db/mm10/uk/cellranger/6.0.0/6.0.0/refdata-gex-mm10-2020-A/ \ # change for experiment
99+
--feature-ref=feature_ref.csv \
100+
--expect-cells=15000 \ # change for experiment
101+
--localcores 6 \
102+
--localmem 64
103+
```

0 commit comments

Comments
 (0)