Coder Social home page Coder Social logo

ctg-sc-mkfastq-10x's Introduction

ctg-sc-mkfastq-10x

Nextflow pipeline for demultiplexing and qc of 10x data with mkfastq.

  • Designed to handle multiple projects in one sequencing run (but also works with only one project)

Pipeline steps:

Cellranger version: cellranger v6.0

Input files

The following files must be in the runfolder to start pipeline successfully.

  1. Samplesheet (CTG_SampleSheet.sc-mkfastq-10x.csv)

Samplesheet requirements:

Note: no header! only the rows shown below, starting with the column names.

Sample_ID index Sample_Project
Si1 SI-GA-D9 proj_2021_012
Si2 SI-GA-H9 proj_2021_012
Sample1 SI-GA-C9 proj_2021_013
Sample2 SI-GA-C9 proj_2021_013

The nf-pipeline takes the following Columns from samplesheet to use in channels:

- `Sample_ID` : ID of sample. Sample_ID can only contain a-z, A-Z and "_".  E.g space and hyphen ("-") are not allowed! If 'Sample_Name' is present, it will be ignored. 
- `index` : Must use index ID (10x ID) if dual index. For single index, the index sequence works too.
- `Sample_Project` : Project ID. E.g. 2021_033, 2021_192.

Samplesheet template (.csv)

Name : CTG_SampleSheet.sc-mkfastq-10x.csv

Sample_ID,index,Sample_Project
Si1,Sn1,SI-GA-D9,2021_012
Si2,Sn2,SI-GA-H9,2021_012
Sample3,S3_1,SI-GA-C9,2021_013
Sample4,S2_3,SI-GA-C9,2021_013

USAGE NEXTFLOW

  1. Clone and build the Singularity container for this pipeline: https://github.com/perllb/ctg-sc-rna-10x/tree/master/container/sc-rna-10x.v6
  2. Edit your samplesheet to match the example samplesheet. See section SampleSheet below
  3. Edit the nextflow.config file to fit your project and system.
  4. Run pipeline
nohup nextflow run pipe-sc-mkfastq-10x.nf > log.pipe-sc-mkfastq-10x.txt &

USAGE DRIVER

  • Execute from within runfolder!

Run with default

Assumes

  • CTG_SampleSheet.sc-mkfastq-10x.csv is in runfolder
  • Dual index
sc-mkfastq-10x-driver 

Run with single index

Assumes

  • CTG_SampleSheet.sc-mkfastq-10x.csv is in runfolder
sc-mkfastq-10x-driver -a

Run with specific samplesheet

sc-mkfastq-10x-driver -s /path/to/my_special_samplesheet.csv

Output:

Container

https://github.com/perllb/ctg-sc-rna-10x/tree/master/container/sc-rna-10x.v6

ctg-sc-mkfastq-10x's People

Contributors

perllb avatar

Watchers

 avatar  avatar

Forkers

nine-sarayut

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.