llrs / rutils

Personal package for helping with my day to day work
https://llrs.github.io/rutils/
GNU General Public License v3.0
3 stars 0 forks source link

Convert CNAG names into cellranger recognized files #6

Closed llrs closed 5 months ago

llrs commented 5 months ago

CNAG provided names and cellranger recongized files are not the same. It would be great to have a small function to read the files and prepare a file with the renaming scheme.

Background:

CNAG provides files as: HKKF3DMXY_1_SI-TT-B21.fastq.gz which is the `.fastq.gz [cellranger recognizes](https://www.10xgenomics.com/support/software/cell-ranger/latest/analysis/inputs/cr-specifying-fastqs#file-naming-convention) files as:_S1_L00 _R_001.fastq.gz`

It should also help to organize when in a single CNAG project we receive multiple samples (and how to organize that in folders