You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #32 from OpenOmics/documentation
Updating documentation along with a few other minor updates
* Increasing resources for Seurat integration
* Editing generateSummaryScript for multi pipeline to remove the assumption that GEX would always be present
* Improve formatting for multi Seurat QC Summary Report
Copy file name to clipboardExpand all lines: docs/usage/atac.md
+179-3Lines changed: 179 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Each of the following arguments are required. Failure to provide a required argu
46
46
>
47
47
> FastQ Input: One or more FastQ files can be provided. The pipeline does NOT support single-end data. From the command-line, each input file should separated by a space. Multiple input FastQ files per sample can be provided. Globbing is supported! This makes selecting FastQ files easy. Input FastQ files should always be gzipp-ed.
48
48
>
49
-
> ***Example:***`--input .tests/*.R?.fastq.gz`
49
+
> ***Example:***`--input .tests/*_R?_fastq.gz`
50
50
>
51
51
>
52
52
> Cell Ranger Input: Cell Ranger output folders can be provided. It is expected that the outs folder is contained within the Cell Ranger output folders, and keep the normal output folder structure. Globbing is supported!
@@ -244,6 +244,76 @@ Each of the following arguments are optional, and do not need to be provided.
./cell-seek run --input .tests/*_R?_fastq.gz .tests2/*_R?_fastq.gz \
292
+
--output /data/$USER/output \
293
+
--pipeline atac \
294
+
--genome hg38 \
295
+
--cellranger 2.2.0 \
296
+
--mode slurm \
297
+
--dry-run
298
+
299
+
# Step 2B.) Run the cell-seek pipeline
300
+
# The slurm mode will submit jobs to
301
+
# the cluster. It is recommended running
302
+
# the pipeline in this mode.
303
+
./cell-seek run --input .tests/*_R?_fastq.gz .tests2/*_R?_fastq.gz \
304
+
--output /data/$USER/output \
305
+
--pipeline gex \
306
+
--genome hg38 \
307
+
--cellranger 2.2.0 \
308
+
--mode slurm
309
+
```
310
+
311
+
### 3.2 Run Downstream on Existing Cell Ranger Output
312
+
313
+
It is possible to use cell-seek to perform the initial downstream analysis on existing Cell Ranger ATAC output. The files are expected to be in the Cell Ranger ATAC outputted format with the outs folder present. The sample level folders should be provided as the input for cell-seek.
314
+
315
+
For example, if sample1 was run in Cell Ranger ATAC then sample1/outs/ contains the final pipeline output files, and sample1 should be provided as input to cell-seek.
It is possible to rename samples to different names from the ones that are used in the FASTQ files. This function can be used to change the sample names to something more informative, or it could be used if FASTQ files names changed for a specific sample.
349
+
350
+
In order to use this option, a CSV file should be created. In the CSV there should be a row for each FASTQ file that will be processed. The first column contains the name of the FASTQ file while the second column contains the output sample name. Only the FASTQ files and samples that are listed within the CSV file will be processed.
351
+
352
+
Cell Ranger expects the FASTQ file to have a format of
The FASTQ name that is used in the rename CSV file should match the section in the `[Sample Name]` listed above. An example file could be `Sample_ATAC_S1_L001_R1_001.fastq.gz`. In this file, the sample name would be Sample_ATAC. More information about the FASTQ naming format that Cell Ranger expects can be found at the [10x Genomics website](https://www.10xgenomics.com/support/software/cell-ranger-atac/latest/analysis/inputs/specifying-input-fastq-files).
361
+
362
+
The following is a potential example of a rename CSV file.
363
+
364
+
```
365
+
FASTQ,Name
366
+
sample1_run1,sample1
367
+
sample2_run1,sample2
368
+
sample3_run1,sample3
369
+
sample3_run2,sample3
370
+
sample4,sample4
371
+
```
372
+
373
+
Based on this file, the FASTQ files with the name sample1_run1, sample2_run1, sample3_run1, sample3_run2, and sample4 will be processed, and any FASTQ file that does not match these names will not be run. The outputted sample names would be sample1, sample2, sample3, and sample4. The FASTQ files with the name sample3_run1 and sample3_run2 will be processed as sample3.
It is possible to force the number of cells that are called by Cell Ranger ATAC. In this situation, Cell Ranger ATAC will call the top X cell barcodes with the highest number of fragments overlapping peaks as cells, where X the number cells that the sample is forced to. This is generally used if the first analysis run appears to do a poor job at estimating the number of cells, and a re-run while adjusting the number of cells in the sample is helpful.
409
+
410
+
A CSV file needs to be created with the first column containing the name of the sample (the Cell Ranger outputted name) and the second column containing the number of cells to force the sample to. Only the samples included in the CSV file will be run while forcing the cell call. Any other samples that are processed will use the default cell calling algorithm.
411
+
412
+
The following is an example of a force cells CSV file.
413
+
414
+
```
415
+
Sample,Cells
416
+
Sample1,3000
417
+
Sample2,5000
418
+
```
419
+
420
+
Based on this file, Sample1 and Sample 2 will be run while being forced to have 3000 and 5000 cells respectively.
0 commit comments