Skip to content

Commit

Permalink
Update cell-ranger.md (#99)
Browse files Browse the repository at this point in the history
* Update cell-ranger.md
  • Loading branch information
bobermayer authored Sep 1, 2023
1 parent 737ac05 commit 9795c70
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions bih-cluster/docs/how-to/software/cell-ranger.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requires registration before download from [here](https://support.10xgenomics.co
to unpack Cell Ranger, its dependencies and the `cellranger` script:

```
cd /fast/users/$USER/scratch
cd /fast/users/$USER/work
mv /path/to/cellranger-3.0.2.tar.gz .
tar -xzvf cellranger-3.0.2.tar.gz
```
Expand All @@ -22,7 +22,7 @@ will be provided in `/fast/projects/cubit/current/static_data/app_support/cellra

# cluster support SLURM

add a file `slurm.template` to `/fast/users/$USER/scratch/cellranger-3.0.2/martian-cs/v3.2.0/jobmanagers/sge.template` with the following contents:
add a file `slurm.template` to `/fast/users/$USER/work/cellranger-3.0.2/martian-cs/v3.2.0/jobmanagers/sge.template` with the following contents:

```
#!/usr/bin/env bash
Expand Down Expand Up @@ -61,6 +61,8 @@ add a file `slurm.template` to `/fast/users/$USER/scratch/cellranger-3.0.2/marti
__MRO_CMD__
```

**note**: on newer cellranger version, `slurm.template` needs to go to `/fast/users/$USER/work/cellranger-XX/external/martian/jobmanagers/`

# demultiplexing

if that hasn't been done yet, you can use `cellranger mkfastq` (details to be added)
Expand All @@ -72,7 +74,7 @@ create a script `run_cellranger.sh` with these contents (consult the [documentat
```
#!/bin/bash
/fast/users/$USER/scratch/cellranger-3.0.2/cellranger count \
/fast/users/$USER/work/cellranger-3.0.2/cellranger count \
--id=sample_id \
--transcriptome=/fast/projects/cubit/current/static_data/app_support/cellranger/refdata-cellranger-${species}-3.0.0\
--fastqs=/path/to/fastqs \
Expand All @@ -91,7 +93,7 @@ sbatch --ntasks=1 --mem-per-cpu=4G --time=8:00:00 -p medium -o cellranger.log ru

# cluster support SGE (outdated)

add a file `sge.template` to `/fast/users/$USER/scratch/cellranger-3.0.2/martian-cs/v3.2.0/jobmanagers/sge.template` with the following contents:
add a file `sge.template` to `/fast/users/$USER/work/cellranger-3.0.2/martian-cs/v3.2.0/jobmanagers/sge.template` with the following contents:

```
# =============================================================================
Expand Down

0 comments on commit 9795c70

Please sign in to comment.