Advertisement
yvesyan

h5ad2seurat2

Aug 29th, 2022 (edited)
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 1.01 KB | None | 0 0
  1. #conda activate seuratdisk
  2. library(Seurat)
  3. library(SeuratDisk)
  4.  
  5. for (sample_n in c("SRR12082758", "SRR12082760", "SRR14407605")){
  6.   Convert(paste0('/home/dell/Desktop/Public/SeqShare/GSE153164/RAWdata/', sample_n, '/out.gzip.h5ad'), "h5seurat", overwrite=F)
  7. }
  8.  
  9. for (sample_n in c("SRR13078488", "SRR13078490", "SRR13078492", "SRR13078494", "SRR13078495", "SRR13078497", "SRR13078498")){
  10.   Convert(paste0('/home/dell/DataRelay/Public/SeqShare/PMID33649223/', sample_n, '/out.gzip.h5ad'), "h5seurat", overwrite=F)
  11. }
  12.  
  13. seuratObject <- LoadH5Seurat(paste0('/home/dell/Desktop/Public/SeqShare/GSE153164/RAWdata/', sample_n, '/out.gzip.h5seurat'))
  14. Convert(paste0('~/Desktop/Public/SeqShare/shilab_E12E14_cortex/zyy_merge/E14 test/out.gzip.h5ad'), "h5seurat", overwrite=F)
  15.  
  16. seuratObject <- LoadH5Seurat("/home/dell/Desktop/Public/SeqShare/shilab_E12E14_cortex/E16_fastq/out_h5/out.gzip.h5ad")
  17. Convert(paste0('/home/dell/Desktop/Public/SeqShare/shilab_E12E14_cortex/E16_fastq/out_h5/out.gzip.h5ad'), "h5seurat", overwrite=F)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement