Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inquiry about Loading scATAC-seq matrices into R #2

Open
jiangzh-coder opened this issue Nov 11, 2022 · 7 comments
Open

inquiry about Loading scATAC-seq matrices into R #2

jiangzh-coder opened this issue Nov 11, 2022 · 7 comments

Comments

@jiangzh-coder
Copy link

Hi

i want to analyze some scATAC-seq data. And after unzip, i got 10 folders (1 patient per folder). In folder, there are 2 subfolders in whcih scRNAseq data and scATAC-seq data exist seperately. Within these 2 subfolders, there are files generated by cell ranger ( i attached 2 pic.)
How may i loading scATAC-seq matrices as well as scRNAseq data into R? Could you kindly provide some codes?

image

@jiangzh-coder
Copy link
Author

jzhou@jiang:/mnt/d/##files/#atac/HD2$ tail atac_peaks.bed
GL000218.1 83275 84106
KI270726.1 27131 28058
KI270726.1 41490 42368
KI270711.1 7979 8731
KI270711.1 8887 9380
KI270713.1 15800 16459
KI270713.1 17290 18022
KI270713.1 21445 22340
KI270713.1 32734 33486
KI270713.1 36862 37780

jzhou@jiang:/mnt/d/##files/#atac/HD2$ head atac_peak_annotation.tsv
chrom start end gene distance peak_type
chr1 9778 10667 MIR1302-2HG -18887 distal
chr1 180732 181004 AL627309.5 -6871 distal
chr1 181116 181809 AL627309.5 -7255 distal
chr1 183935 184770 AL627309.5 -10074 distal
chr1 191103 192028 AL627309.5 -17242 distal
chr1 267627 268482 AP006222.2 773 distal
chr1 629498 630379 AC114498.1 41870 distal
chr1 633577 634503 AC114498.1 45949 distal
chr1 778280 779196 LINC01409 0 promoter

jzhou@jiang:/mnt/d/##files/#atac/HD2$ tail -5 atac_fragments.tsv
KI270713.1 39073 39449 TAAGTAGCACAGGATG-1 1
KI270713.1 39075 39208 GCTTAACAGTTCCCGT-1 2
KI270713.1 39697 39805 TGTTATGAGGGCTTTG-1 2
KI270713.1 40366 40677 GACCTAAGTTCCGGCT-1 2
KI270713.1 40639 40708 GGATGGCCACACCAAC-1 2

@dbrg77
Copy link
Owner

dbrg77 commented Nov 12, 2022

Hi @jiangzh-coder

For RNA, I suppose you are using the 10X Genomics 3' kit, and filtered_feature_bc_matrix is generated by cellranger. You can use Seurat to load and analysis the data.

For ATAC, what method are you using? It seems you are missing the matrix.mtx file. Since you have the fragment file, maybe you can generate the matrix by yourself. I think Signac can do this.

@jiangzh-coder
Copy link
Author

jiangzh-coder commented Nov 15, 2022 via email

@dbrg77
Copy link
Owner

dbrg77 commented Nov 15, 2022

Hi @jiangzh-coder

If you read the method section of GSE199994 from this publication, you will realise that they were not using the 10x scATAC kit. Instead, they used the 10x Multiome Kit that profiles ATAC and RNA from the same single cell.

You should use cellranger-arc for this type of data.

I hope this helps.

@jiangzh-coder
Copy link
Author

jiangzh-coder commented Nov 15, 2022 via email

@jiangzh-coder
Copy link
Author

jiangzh-coder commented Nov 15, 2022 via email

@jiangzh-coder
Copy link
Author

jiangzh-coder commented Nov 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants