SnapATAC icon indicating copy to clipboard operation
SnapATAC copied to clipboard

multiple samples analysis: how to merge barcode files?

Open billzt opened this issue 4 years ago • 2 comments

In FAQ it writes the following codes to start multiple samples analysis:

> file.list = c("atac_v1_pbmc_5k.snap", "atac_v1_pbmc_10k.snap");
> sample.list = c("pbmc.5k", "pbmc.10k");
> x.sp = createSnap(file=file.list, sample=sample.list);

However the next step is barcode:

> barcodes = read.csv(
    "atac_v1_pbmc_5k_singlecell.csv",
    head=TRUE
  );

Since I'll have two separated barcode files called atac_v1_pbmc_5k_singlecell.csv and atac_v1_pbmc_10k_singlecell.csv`, How to deal with them?

billzt avatar Feb 17 '20 12:02 billzt

same need!

Rawansw avatar Feb 17 '20 22:02 Rawansw

I guess it might be possible to follow https://github.com/r3fang/SnapATAC/blob/master/examples/10X_PBMC_15K/README.md

However still hope author's comments, since the 10X_PBMC_15K example is slightly different from the FAQ

billzt avatar Feb 18 '20 00:02 billzt