Forward and reverse single cell data analysis
2
2
Entering edit mode
3.7 years ago
elb ▴ 260

Hi, I have to analyze published scRNA-Seq data. Data are Chromium 10X on NovaSeq6000 and: for each sample I have forward (R1) in lane1 and lane2 (and hence two files) and reverse (R2) in lane1 and lane2 (and hence two files). Totally I have 4 files for sample. I have .fastq files. I usually analyze 10X scRNA-Seq data using Cellranger in single strand starting from the demultiplexing and ending with the alignment. It is the first time I have forward and reverse fastq files on multiple lanes and I don't know how to analyse them. Can anyone give me some hints on the analysis I have to do? Suggestions on tutorials, tools, papers about my task are more than welcome.

Thank you in advance

RNA-Seq • 1.5k views
ADD COMMENT
0
Entering edit mode

Are you still planning to use cellranger?

ADD REPLY
0
Entering edit mode

No no it is the practice of the lab but it is not mandatory

ADD REPLY
2
Entering edit mode
3.7 years ago
ATpoint 85k

Just use cat to merge the R1s and the R2s respectively.

cat R1_lane1.fastq.gz R1_lane2.fastq.gz > R1.fastq.gz

same for R2.

See answer from swbarnes2 below, apparently CellRanger is picky about file names. I am not a CellRanger user, I prefer lightweight approaches such as Alevin for scRNA-seq quantification and for this (and probably most other applications) cating is fine. A CellRanger-like approach that is faster and more generic (=less picky) would be STARsolo.

ADD COMMENT
0
Entering edit mode

I think you meant "zcat"

ADD REPLY
1
Entering edit mode

cat works as well.

ADD REPLY
1
Entering edit mode

No, zcat would decompress the stream which is unintended. cat is well able to concatenate two gzip-compressed files producing a single gzip-compressed file.

 echo 123 | gzip > foo.txt.gz
 echo 456 | gzip > bar.txt.gz
 cat foo.txt.gz bar.txt.gz | gzip -dc
 123
 456
ADD REPLY
0
Entering edit mode

That's great. Good to know and thanks for the tip.

ADD REPLY
0
Entering edit mode

That will not work. Cellranger is fussy about file names, it won't read that file in.

ADD REPLY
0
Entering edit mode

#til -- another reason to use Alevin over CellRanger :-P

ADD REPLY
2
Entering edit mode
3.7 years ago

Don't cat the files. Cellranger is smart, it will get files with the same sample name from all lanes.

ADD COMMENT

Login before adding your answer.

Traffic: 2615 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6