marcelm / marcelm/cutadapt

sc/snATAC-seq barcode correction

Open
#754 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
587
Forks
144
Avg merge
2h 37m
Merged PRs (30d)
1

Description

Hi Cutadapt team,

This is not a standard "issue" but an inquiry regarding sn/scATAC-seq data preprocessing (10x Genomics multiome). I'm using Cutadapt to trim snATAC-seq data reads before alignment with bwa-mem2, and it certainly works admirably, and the parallelization is nicely implemented. My concern relates to barcode assessment and correction.

In the workflow I've been testing barcode correction is done in a separate preprocessing step. The three .fastq files (R1 R2 and I1) are read into an executable and 1) the sequenced barcode is extracted from the correct position in the data for each read, 2) compared to a whitelist of anticipated barcodes (from 10x), and 3) the data are written out with the corrected/mapped barcodes as tags in the read names. Those output fastq files are passed to Cutadapt and ultimately the corrected barcode tags on the read names are used in the downstream analysis after alignment.

Such a barcode correction step appears distinct from the demultiplexing options described in the online documentation, and I am inferring this is not currently an anticipated usage for Cutadapt. Is that accurate? Nevertheless, it may be surprisingly easy to implement and a nice extension to be able to fully preprocess sn/scATAC-seq data in one step. Is this a functionality you are already implementing, or open to including? On what time scale? Thanks in advance!

Best regards,

Sara Knaack

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files or tests. Start by reviewing Cutadapt's demultiplexing documentation and comparing it with the described R1, R2, and I1 barcode-correction workflow using 10x Genomics whitelist barcodes before bwa-mem2 alignment. Done would require a defined scope and an agreed implementation plan for integrated barcode extraction and correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.