Updates compared to the original repo:
- scripts for processing:
shellscrips/02.proc_DNA_PT_v3.sh
shellscrips/03.proc_RNA_PT_v3.sh
- scripts for QC:
rscripts/*Rmd
rscripts/run_QC_summary.pl
- cross-modality contamination is now identified during
reachtools combine
For latest protocol, please refer to Paired-Tag protocol & FAQs.
-
bowtie, http://bowtie-bio.sourceforge.net/index.shtml
For bowtie version=1.x, please modify
shellscrips/01.pre_process_paired_tag_fastq.sh
according to the comments in that file. -
bowtie2, http://bowtie-bio.sourceforge.net/bowtie2/index.shtml
-
samtools, http://www.htslib.org/ samtools version >= 1.3.1 is required.
-
Trim_galore, https://www.bioinformatics.babraham.ac.uk/projects/trim_galore/
-
Optional: FastQC, https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
A quick initial QC can be done will FastQC software. FastQC will give a QC summary for several key quality metrics of fastq files generated from Illumina bcl2fastq program. The image below shows the "Per base sequence content" and "Adapter Concent" sections of the FastQC output file from a representative Paired-Tag library.
As shown in Read1 report, there is a high fraction of G base in the 2nd base, that is expected from the library construction (no trimming are needed for this part as Bowtie2 will handle it properly). For read2, there are 3 base balanced regions (UMI and barcode) between 3 base-inbalenced linkers (as indicated in the image). If the linker regions does not show high fluctuation as in the representative image, that may indicate a low ligation efficiency.
For "Adapter Content" section, typically we will expect a low fraction of Nextera adaptor sequence (at 100th bp, 5%-20%; expect higher percentage if sequenced to 150 bp or longer) in Read2 library and negligible adaptor content from Read1 library. Higher fraction of adaptors (1) in RNA library indicates: amount of N5-Tn5 is too high in 2nd adaptor tagging step of RNA library, or (2) in DNA library: tagmentation efficiency (antibody efficiency) are low, may expect low library complexity.
- Download and uncompress the scripts:
wget https://github.com/cxzhu/Paired-Tag/archive/master.zip
unzip master.zip
- Build the "reachtools" tool:
cd reachtools
sh make.sh
- Build the Cellular Barocdes reference:
cd ../references
bowtie-build ./cell_id_full.fa cell_id
or
bowtie-build ./cell_id_full_407.fa cell_id_407
The two references provided are different in the barcodes length. In order to increase the throughput of Paired-Tag, we further scaled up the number of barcodes used for 2nd and 3rd round barocding from 96 to 384. To ensure hamming distance between barcodes we therefore increase barcodes length from 7bp to 8bp. If you are using your own barocdes please genreate the barcodes reference based on your sequence.
Extract cellular barcode from Read2, map the reads to reference cell_ID, and convert the mapped cell ID samfiles to useable fastq files.
*** Please modification the paths to reference files according to the annotations in the script file.
Use shellscrips/01.pre_process_paired_tag_fastq.sh
.
*** As SRA will trim the header of fastq files and thus a different script will be needed. See the annotations in this file if you are processing fastq files downloaded from SRA.
-
Sample_combined.fq.gz
This file is a combined fastq file including Read1 sequences/qualities and barcode sequences extracted from Read2. -
Sample_BC.sam
This is a temporally file used to assign extracted barcode sequences to Cellular Barcode. Please delete this file if you have successful obtainedSample_BC_cov.fq.gz
. -
Sample_BC_cov.fq.gz
This is the fastq file with Read1 sequences and qualities, the Cellular Barocde and UMI from Read2 are now in ReadName section of the fastq file (and subsequent alignment files).
The Cellular Barcode and UMI are in the format of ILLUMINA_READ_NAME:aa:bb:cc:UMI
aa
and bb
are representing the wells of the 2nd and 1st round of barcode ligation. cc
is a numeric value between 01
and 12
indicating the 12 tubes for multiplexing samples during tagmentation a nd reverse transcription steps.
Report from reachtools combine2
step:
205158 229195 89.51% of reads have full barcodes for Test sample.
.
This ratio if the percentage of reads that can sucessfully extract all 3 barcodes from Read2.
Typically, >85% and >75% of reads from DNA and RNA libraries will have all 3 barcodes.
Report from reachtools convert2
step:
205158 reads processed.
185824 mapped reads.
This numbers are the reads that can be uniquely assigned to one Cellular Barocdes.
Typically, >85% of reads (both DNA and RNA) can be assigned.
For DNA reads, we used bowtie2; for RNA reads, we used STAR.
Use shellscrips/02.proc_DNA.sh
and shellscrips/03.proc_RNA.sh
.
After these, the fastq files of each sub-libraries were then converted to cell-counts matrices.
*** Please modifiy the variables in the scripts according to your environment.
Typically, >85% of RNA reads can be mapped to reference genome using STAR, but >60% is also accepatble. For different histone marks, from 60% - 95% of DNA reads can be mapped to reference genome using bowtie2 (including reads mapped to multiple loci).
The last round of combinatorial index is PCR indexing (sub-libraries).
Optional but recommended: Filtering barcode with low reads numbers.
Before merging sub-libraries, it is recommended to count the DNA and RNA reads numbers for each sub-libraries seperatedly and filter the low quality barcodes. A simple way is to plot the # of DNA and RNA reads for each barcodes (x-y in log scale, as in the picture shown below) and find a suitable cutoff from the plot, use rscripts/plot_reads_numbers.R
.
Save the ID of barcodes with both high DNA and RNA reads number in a seperate file, and the perlscript/filt_mtx.pl
to filter the raw matrix.
To merge matrices from different sub-libraires, an unique prefix should added to the cellular barcodes for each sub-library. Please also make sure the DNA and RNA sublibraries share the same set of sub-library-specific prefixes.
Use perlscripts/merge_mtx.pl
. Please see annotations in the script file for details.
After merging, the sub-library ID will be added into the front of Cellular Barcodes, turns to ii:aa:bb:cc
, where ii
is the sub-library ID defined in merge_list.txt
(see the picture below). Please use the same set of sub-library IDs for the paired DNA and RNA datasets.
You can cluster the single cells for DNA and RNA independely or jointly. The processed matrices files are available from Supplementary file of this GEO series. E.g., for RNA analysis, Seurat (http://www.satijalab.org/seurat) can be used for scRNA-seq and snapATAC (https://github.com/r3fang/SnapATAC) can used for DNA analysis.
For more information, please refer to:
- Joint profiling of histone modifications and transcriptome in single cells from mouse brain. Nature Methods, 2021
A step-by-step protocol of Paired-Tag is also available from: