Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
421 commits
Select commit Hold shift + click to select a range
9b94a9a
updating
spatts14 Oct 29, 2025
083ccbc
removed setting mis distance in umap
spatts14 Oct 29, 2025
732a803
Update config_files/config_HPC.toml
spatts14 Oct 29, 2025
0d732f0
updated documentation for run DR func
spatts14 Oct 29, 2025
b437b79
added min dist back in to calc umap
spatts14 Oct 29, 2025
f10ddb6
Merge pull request #51 from spatts14/format_DR
spatts14 Oct 29, 2025
a5d26d3
increase font dize
spatts14 Oct 29, 2025
7fd664b
updated config
spatts14 Oct 29, 2025
a8b4bf3
updated config
spatts14 Oct 29, 2025
7f1bca8
Merge branch 'main' of https://github.com/spatts14/Xenium_5k_analysis…
spatts14 Oct 29, 2025
2384620
updated cmap, changed fig size because dots too small, changed back t…
spatts14 Oct 29, 2025
fddfad4
changed so only have one plot per column because was getting squished
spatts14 Oct 29, 2025
7779f14
added *.o* and *.e* to gitingore
spatts14 Oct 29, 2025
d1cef30
plot predicted on its own
spatts14 Oct 29, 2025
29d65ab
look at HLCA full cols
spatts14 Nov 2, 2025
4feccb9
bash script to run hlca
spatts14 Nov 2, 2025
0b8a2d9
update path for hpc
spatts14 Nov 2, 2025
69220e4
updating summary meterics
spatts14 Nov 5, 2025
3823391
updating plots to make new fig folder and save there
spatts14 Nov 5, 2025
a89e969
writing scripts to process HLCA
spatts14 Nov 6, 2025
7b153c4
column HLCA full infomation
spatts14 Nov 6, 2025
1b9aea7
Update src/manual_src/hlca_full_mem_effiecent.py
spatts14 Nov 7, 2025
9d9005e
Initial plan
Copilot Nov 7, 2025
940c6fe
Update src/manual_src/hlca_full_mem_effiecent.py
spatts14 Nov 7, 2025
911ae10
Update src/manual_src/hlca_full_mem_effiecent.py
spatts14 Nov 7, 2025
885dac7
Merge pull request #55 from spatts14/hlca_full
spatts14 Nov 7, 2025
6bb502b
Merge pull request #56 from spatts14/copilot/sub-pr-55
spatts14 Nov 7, 2025
779771b
updating config file
spatts14 Nov 7, 2025
bd170ad
update renaming module
spatts14 Nov 7, 2025
a445d6b
update path to load data to load from integrate
spatts14 Nov 8, 2025
d50938c
update config
spatts14 Nov 8, 2025
2a7c802
updated hpc run
spatts14 Nov 8, 2025
b81ced1
update config
spatts14 Nov 8, 2025
24363d2
refactors to make script more modular; moved varibales to config
spatts14 Nov 8, 2025
b7720cd
filtered cells with less than 10 cells per group
spatts14 Nov 8, 2025
fc70b62
update config with new paramters
spatts14 Nov 8, 2025
169808f
update config
spatts14 Nov 8, 2025
8eebeb1
neds to be ref_col_name
spatts14 Nov 9, 2025
caef7b8
update fig size
spatts14 Nov 9, 2025
44d50c9
update saving file name to include {ref_col}
spatts14 Nov 9, 2025
4425d02
make a helper function to format figs
spatts14 Nov 9, 2025
f3fe5eb
add cluster name to file
spatts14 Nov 9, 2025
8b4eb90
reoganized integration methods so runs both approaches
spatts14 Nov 16, 2025
2fd6d67
reorg UMAP
spatts14 Nov 17, 2025
59deca2
clean up scANVI integration
spatts14 Nov 17, 2025
3adb91a
import configure_scanpy_figures
spatts14 Nov 17, 2025
7bedd77
add helper function to set plot config
spatts14 Nov 17, 2025
d0f00c6
replaced manual setting figure params with a helper function
spatts14 Nov 17, 2025
9793e72
removed hardcoding
spatts14 Nov 17, 2025
c54e61e
Merge pull request #58 from spatts14/val_suggestion
spatts14 Nov 17, 2025
bbd029e
clean up HLCA processing function and changed where to save path
spatts14 Nov 17, 2025
67d6d36
Merge pull request #59 from spatts14/ingest_ann
spatts14 Nov 17, 2025
67ed281
update .yml
spatts14 Nov 17, 2025
7cf15e5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 17, 2025
a5467c7
update scANVI
spatts14 Nov 17, 2025
2d99f92
additional logging
spatts14 Nov 17, 2025
70de6e5
troublshooting
spatts14 Nov 17, 2025
8f7b8bc
check columns in adata_combined
spatts14 Nov 17, 2025
9f61ed4
updated LABELS_KEY
spatts14 Nov 17, 2025
7c1ea74
removed arg from scvi_model.train
spatts14 Nov 18, 2025
b385010
update for run 3
spatts14 Nov 18, 2025
48c5cec
update summary meterics plot
spatts14 Nov 19, 2025
fc249f0
update .yml
spatts14 Nov 17, 2025
82e53af
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 17, 2025
4aff49c
update scANVI
spatts14 Nov 17, 2025
71d4f7a
additional logging
spatts14 Nov 17, 2025
355d35c
troublshooting
spatts14 Nov 17, 2025
fb37db2
check columns in adata_combined
spatts14 Nov 17, 2025
0185b77
updated LABELS_KEY
spatts14 Nov 17, 2025
84b20eb
removed arg from scvi_model.train
spatts14 Nov 18, 2025
d0b6351
increase y max for outliers in empty cells
spatts14 Nov 20, 2025
29a513b
increase again for plot
spatts14 Nov 20, 2025
df7ea38
create new .sh, update config files
spatts14 Nov 20, 2025
6261a80
Merge pull request #60 from spatts14/config
spatts14 Nov 20, 2025
a44ad55
update .toml
spatts14 Nov 20, 2025
a0c06ec
Merge branch 'main' into opt_ingest
spatts14 Nov 20, 2025
c7eaaf5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 20, 2025
860c9bc
save plots to folder, plot run number
spatts14 Nov 20, 2025
d32e839
swaped COL1A1 for KRT5
spatts14 Nov 20, 2025
4dae7d9
use INGEST_LABEL_COL as clsuter name
spatts14 Nov 20, 2025
23a0fbc
removed variables that Im defining locally now
spatts14 Nov 20, 2025
4143d4c
removed config to CLUSTER_NAME = leiden
spatts14 Nov 20, 2025
2933c45
update output folder name
spatts14 Nov 20, 2025
07da0e9
updated run to batch, saved adata before plotting
spatts14 Nov 21, 2025
93639e5
Merge pull request #61 from spatts14/opt_ingest
spatts14 Nov 21, 2025
7613ffe
Merge branch 'main' into config_update
spatts14 Nov 21, 2025
803cafb
Merge pull request #62 from spatts14/config_update
spatts14 Nov 21, 2025
a18d245
test part of code
spatts14 Nov 22, 2025
3c3e598
run integration only to test
spatts14 Nov 22, 2025
6b40220
update scVI and scANVI
spatts14 Nov 22, 2025
28e44c7
added predicted labels
spatts14 Nov 22, 2025
cdde0c7
reorg order of analysis; plot indivudal umap for each obs
spatts14 Nov 22, 2025
8202ac8
check if ref_adata has raw counts, has been normalized, or has ben tr…
spatts14 Nov 22, 2025
b37b419
reformatted hlca filtering and processing script
spatts14 Nov 22, 2025
c81f677
running hlca_full_filt_process
spatts14 Nov 22, 2025
67ec4fa
increas resoruce request
spatts14 Nov 22, 2025
5e1cc80
check raw data is same shape
spatts14 Nov 22, 2025
efef5d3
remove HVG and scaling to make more memory efficent
spatts14 Nov 22, 2025
7729c04
adding logging info
spatts14 Nov 22, 2025
e1f16b6
Merge pull request #63 from spatts14/dev_integration
spatts14 Nov 22, 2025
3ebc510
Merge pull request #64 from spatts14/ref_process
spatts14 Nov 22, 2025
65f8b54
load hlca filtered but not processed
spatts14 Nov 22, 2025
f2f13bb
handle saving raw with diff number of genes than postfiltered object
spatts14 Nov 22, 2025
31b6672
commented out scaling data because dataset is too big and causing mem…
spatts14 Nov 22, 2025
33765e3
fixed tissue obs column to plot on umap
spatts14 Nov 23, 2025
eaeb98e
removed obsolete scripts; processing condensed into a single script
spatts14 Nov 23, 2025
97a46b4
Merge pull request #65 from spatts14/ref_process
spatts14 Nov 23, 2025
ecc4a72
script to plot following hlca processing
spatts14 Nov 23, 2025
940fc0c
Merge pull request #66 from spatts14/ref_process
spatts14 Nov 23, 2025
0219593
saved process hlca to the emphmeral
spatts14 Nov 23, 2025
43591b6
run umaps
spatts14 Nov 23, 2025
1a0cffd
adding logging messages for UMAP and PCA
spatts14 Nov 23, 2025
358909c
process ref_adata then subset for tl.ingest
spatts14 Nov 23, 2025
cbaa02b
compute pca and neighbors for subset_ref_adata, delete subset_ref_ada…
spatts14 Nov 23, 2025
c2c07aa
wrote function to process and save subset of reference data
spatts14 Nov 23, 2025
1491ffa
subset the HLCA
spatts14 Nov 23, 2025
402daf1
Merge pull request #67 from spatts14/subset_HLCA
spatts14 Nov 23, 2025
b6014b6
process subset_ref_data to calclate nieghbors
spatts14 Nov 23, 2025
9f087e0
move both latent variables to global
spatts14 Nov 23, 2025
aebf498
check for counts layer
spatts14 Nov 23, 2025
deea077
not processing ref data
spatts14 Nov 23, 2025
31456b5
seeing is STx adata has count layers
spatts14 Nov 23, 2025
71e1873
added drug2cell module
spatts14 Nov 24, 2025
13ce4b0
wrote prelim drug2cell module
spatts14 Nov 24, 2025
6579399
correct spelling
spatts14 Nov 25, 2025
00dc1af
update to ensure during processing the count layer is preserved
spatts14 Nov 25, 2025
95274f0
remove repetitiveness, remove some hardcoding, remove filtering scRNA…
spatts14 Nov 25, 2025
48bf0ef
removed hard coding
spatts14 Nov 25, 2025
7ba4588
saved umaps with REF_DATASET
spatts14 Nov 25, 2025
82f752c
updated title for UMAPS
spatts14 Nov 25, 2025
899d392
reordered logging and global variables
spatts14 Nov 25, 2025
8567cfe
updated path to save logging
spatts14 Nov 25, 2025
cf3b979
check and save counts layer before filtering
spatts14 Nov 25, 2025
dbc5664
added logging message to tell loading data which may take some time
spatts14 Nov 25, 2025
bd6c6bf
updated from hlca_path to ref_path
spatts14 Nov 25, 2025
0d039e0
updated importing hlca_path to ref_path
spatts14 Nov 25, 2025
ba7f736
add check for counts layer
spatts14 Nov 25, 2025
3ca6dc2
updated warning handling to supress only some warnings
spatts14 Nov 25, 2025
fca7047
reordered functions, added checks
spatts14 Nov 25, 2025
628e430
reduced number of pca comps from 75 to 30
spatts14 Nov 25, 2025
9efc27b
updated file name for umap
spatts14 Nov 25, 2025
5aaa0b2
add check for cell_type column in adata.obs
spatts14 Nov 25, 2025
0bba01d
update path to use processed_hlca_full_ref.h5ad as ref
spatts14 Nov 25, 2025
246d7b6
select HVG on reference dataset before combining and scVI int
spatts14 Nov 25, 2025
1505e38
fix small naming bugs, defined SPATIAL_KEY and REFERENCE_KEY
spatts14 Nov 25, 2025
3a36200
updated smart_subsample_reference to be proporitional
spatts14 Nov 26, 2025
2429e22
renamed so clearer this is for intergration
spatts14 Nov 26, 2025
e2d3673
added config_base to args for run_integration func
spatts14 Nov 26, 2025
d88ca0b
adding config_base as positional argument
spatts14 Nov 26, 2025
ce7b11d
adding config_base as positional argument correctly
spatts14 Nov 26, 2025
945f322
removed arg to use_gpu
spatts14 Nov 26, 2025
9955800
show num of cells and genes in combined adata; specifiec npca and nne…
spatts14 Nov 26, 2025
14044f5
reduced the number of HVG to speed integration
spatts14 Nov 26, 2025
a240752
back to 5k HVG, issue is combined dataset has no genes
spatts14 Nov 26, 2025
29dbe2c
changed name of umap of subsetted reference data
spatts14 Nov 27, 2025
6453c80
Merge pull request #68 from spatts14/dev_int_counts
spatts14 Nov 27, 2025
5b2756a
run just integration using ingest
spatts14 Nov 27, 2025
7195960
update config file
spatts14 Nov 27, 2025
1ae2eb6
visualize umap with function
spatts14 Nov 27, 2025
1b26c67
remake .sh script that runs integration
spatts14 Nov 27, 2025
a3d1082
updated config class imported to IntegrateIngestModuleConfig
spatts14 Nov 27, 2025
dca6ac4
corrected path to processed HLCA
spatts14 Nov 27, 2025
9697b16
change HLCA to ref_path
spatts14 Nov 27, 2025
869b25e
change title of umap
spatts14 Nov 27, 2025
3c959c5
add additional annotation
spatts14 Nov 27, 2025
89ab690
plot umap for reference dataset
spatts14 Nov 27, 2025
cbe487b
Merge branch 'main' into ingest_dev
spatts14 Nov 27, 2025
9e57428
Merge pull request #69 from spatts14/ingest_dev
spatts14 Nov 27, 2025
7e38473
Merge remote-tracking branch 'origin/main' into drug2cell_dev
spatts14 Nov 27, 2025
7d8f59c
rename variables in drug2cell
spatts14 Nov 27, 2025
bb50345
correct type int for drug_list
spatts14 Nov 27, 2025
05ab4a7
changing variable names and docstring
spatts14 Nov 27, 2025
5785990
create .toml to run drug2cell
spatts14 Nov 27, 2025
2df0194
create sh for drug2cell
spatts14 Nov 27, 2025
2938e17
error handling to check that drugs are in .uns[drug2cell].var_names
spatts14 Nov 27, 2025
7503e7e
reduce resoruce request
spatts14 Nov 27, 2025
ab06487
add installing drug2cell to environment.yml and requirements.txt
spatts14 Nov 27, 2025
e26d23f
updated Pirfenidone and nintedanib names
spatts14 Nov 27, 2025
c4292a1
plot each ROI with drug list
spatts14 Nov 27, 2025
a886c34
correct visualization
spatts14 Nov 27, 2025
c212d1c
logger message to say which roi is being visualized
spatts14 Nov 27, 2025
3430328
pull calculing rank_gene_groups out of viz func
spatts14 Nov 27, 2025
dc121c5
save drug score once calculated and load so dont have to keep recalcu…
spatts14 Nov 27, 2025
7dd2141
ensure subset has .uns[drug2cell:]
spatts14 Nov 27, 2025
52f8839
update so spatial_scatter saves for each roi, func for DE
spatts14 Nov 27, 2025
4854704
changed cmap and removed vmax
spatts14 Nov 27, 2025
4416d3f
troubleshooting showing only respiratory drugs
spatts14 Nov 29, 2025
6d3a381
Myeloid as key cell type
spatts14 Nov 30, 2025
6743ab9
make spot size smaller
spatts14 Nov 30, 2025
879eace
UMAP of cell type susbset
spatts14 Nov 30, 2025
28b2cc7
sc.pl.umap to use [*drug_list, CELL_TYPE_TOP]
spatts14 Nov 30, 2025
3e54efc
addressing plot subsetting
spatts14 Nov 30, 2025
7f8dd60
look at Lymphoid cells
spatts14 Nov 30, 2025
6522ac0
Merge pull request #70 from spatts14/drug2cell_dev
spatts14 Nov 30, 2025
8ad4d8b
added var_names to scanpy
spatts14 Nov 30, 2025
c107e51
filter object in own func
spatts14 Dec 1, 2025
0b834df
added plots to look at transcripts per cell
spatts14 Dec 2, 2025
78f518b
made config and .sh files
spatts14 Dec 2, 2025
1683e00
removed numbering from module names
spatts14 Dec 3, 2025
4e38b12
add new integrate module
spatts14 Dec 3, 2025
548187d
combining datasets on shared genes and training model testing
spatts14 Dec 3, 2025
3e87f6b
config for qc
spatts14 Dec 3, 2025
5413891
testing scvi
spatts14 Dec 3, 2025
91b6568
Merge pull request #71 from spatts14/qc_dev
spatts14 Dec 3, 2025
f10e670
adding integrate_scvi to config
spatts14 Dec 3, 2025
63c397a
removed numbers from analysis modules
spatts14 Dec 3, 2025
73cec0c
upddated typo to correct to IntegrateSCVIModuleConfig
spatts14 Dec 3, 2025
050a9f4
resolve conflict
spatts14 Dec 3, 2025
d7ab72b
reduce resoruce request
spatts14 Dec 3, 2025
219c8f8
Merge remote-tracking branch 'origin/main' into dev_scvi
spatts14 Dec 3, 2025
05e9904
move legend outside box
spatts14 Dec 3, 2025
1601e80
Merge remote-tracking branch 'origin/main' into dev_scvi
spatts14 Dec 3, 2025
1cb84ea
subset reference data
spatts14 Dec 3, 2025
e932f2b
configure to run on GPU
spatts14 Dec 3, 2025
126189a
added importing torch for GPU usage
spatts14 Dec 3, 2025
62802c1
update the name of the gpu que
spatts14 Dec 3, 2025
169271e
resturcutre code, moved imports to top
spatts14 Dec 4, 2025
74bc7b5
relabel ref adata subsetting variable
spatts14 Dec 4, 2025
1c978d3
clean up comments and logging
spatts14 Dec 4, 2025
0e6e7de
adding func for label transfer and extraction; added matplot lib
spatts14 Dec 4, 2025
7ba9a96
clean up comments and logging
spatts14 Dec 4, 2025
9904252
clean up comments and logging
spatts14 Dec 4, 2025
d5128b7
added warning methods to be specific for only FutureWarning and UserW…
spatts14 Dec 4, 2025
7cc675f
import configure_scanpy_figures, update cmap
spatts14 Dec 4, 2025
97ac647
set up infrastructure to identify doublets
spatts14 Dec 4, 2025
529dd78
building bones of ovrl.py analysis pipeline
spatts14 Dec 4, 2025
a629891
Merge remote-tracking branch 'origin/main' into dev_scvi
spatts14 Dec 4, 2025
570824b
changed wording, removed code to manually add count layer post concat
spatts14 Dec 4, 2025
05d8f79
correct logic errors
spatts14 Dec 4, 2025
971246d
process dublets in a function
spatts14 Dec 4, 2025
cfcaf22
save each roi into own folder
spatts14 Dec 4, 2025
2ac3ddc
save doublet scores to .parquet file
spatts14 Dec 4, 2025
342037d
see how many transcripts showing
spatts14 Dec 5, 2025
6317445
Merge pull request #72 from spatts14/dev_ovrlpy
spatts14 Dec 5, 2025
115ee0e
change .toml to test doublet detection
spatts14 Dec 5, 2025
55234de
added name of module
spatts14 Dec 5, 2025
d8217c1
fixing error in calling module
spatts14 Dec 5, 2025
8362856
increased resoruce request
spatts14 Dec 5, 2025
c7ac96b
Merge pull request #73 from spatts14/dev_scvi
spatts14 Dec 5, 2025
701826f
increases resoruce request
spatts14 Dec 7, 2025
0bbf3d8
increases resoruce request
spatts14 Dec 7, 2025
4ee34d6
change parameters on scVI and scANVI
spatts14 Dec 7, 2025
76abad3
commented out fig settings
spatts14 Dec 7, 2025
8e27b11
increase number of cells sampled from refernece
spatts14 Dec 7, 2025
9d257f5
added to config file
spatts14 Dec 14, 2025
e0e25cf
added to variables to config
spatts14 Dec 14, 2025
43c078f
moved lists from hard code into variables
spatts14 Dec 14, 2025
e1da10f
move variables from hardcoding to config file
spatts14 Dec 14, 2025
de86e5d
Merge pull request #74 from spatts14/dev_dr
spatts14 Dec 14, 2025
17cba9f
Merge branch 'main' into drug2cell_dev
spatts14 Dec 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ target/

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb

# IPython
profile_default/
Expand Down Expand Up @@ -130,6 +131,7 @@ ipython_config.py
.pdm.toml
.pdm-python
.pdm-build/
config_dev.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
Expand All @@ -149,6 +151,7 @@ venv/
ENV/
env.bak/
venv.bak/
*_venv/

# Spyder project settings
.spyderproject
Expand Down Expand Up @@ -189,3 +192,14 @@ cython_debug/

# Other
.vscode/

# DS_Store files
.DS_Store
*.DS_Store
*/.DS_Store

# HPC outputs
*.sh.e*
*.sh.o*
*.e*
*.o*
92 changes: 92 additions & 0 deletions HPC_jobs/HLCA_full_col_inf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
Disease distribution:
disease
normal 1305099
COVID-19 341761
pulmonary fibrosis 268932
interstitial lung disease 68456
chronic obstructive pulmonary disease 67943
lung adenocarcinoma 62807
pneumonia 31923
chronic rhinitis 29137
lung large cell carcinoma 21167
squamous cell lung carcinoma 20631
cystic fibrosis 17590
lymphangioleiomyomatosis 12374
pleomorphic carcinoma 10765
hypersensitivity pneumonitis 10379
non-specific interstitial pneumonia 8597
pulmonary sarcoidosis 4886
Name: count, dtype: int64
Tissue type distribution:
tissue_type
tissue 2282447
Name: count, dtype: int64
Cell type distribution:
cell_type
unknown 623313
alveolar macrophage 276291
pulmonary alveolar type 2 cell 156713
respiratory basal cell 119037
CD8-positive, alpha-beta T cell 113641
multiciliated columnar cell of tracheobronchial tree 113074
elicited macrophage 88248
CD4-positive, alpha-beta T cell 82698
nasal mucosa goblet cell 72359
classical monocyte 64980
capillary endothelial cell 64583
club cell 50366
natural killer cell 48439
alveolar type 1 fibroblast cell 38328
B cell 37863
plasma cell 33111
pulmonary alveolar type 1 cell 32306
vein endothelial cell 31951
CD1c-positive myeloid dendritic cell 31359
non-classical monocyte 26257
alveolar adventitial fibroblast 23259
mast cell 21323
tracheobronchial smooth muscle cell 16676
pulmonary artery endothelial cell 14724
endothelial cell of lymphatic vessel 13067
lung pericyte 11680
epithelial cell of lower respiratory tract 11124
bronchus fibroblast of lung 8750
lung macrophage 8317
multiciliated epithelial cell 7421
respiratory tract hillock cell 5570
T cell 3908
plasmacytoid dendritic cell 3686
tracheobronchial serous cell 2775
serous secreting cell 2504
dendritic cell 2360
mesothelial cell 2261
bronchial goblet cell 2257
myofibroblast cell 1926
pulmonary alveolar epithelial cell 1815
ionocyte 1803
acinar cell 1799
smooth muscle cell 1788
conventional dendritic cell 1446
mucus secreting cell 1425
tracheobronchial goblet cell 1190
fibroblast 1093
brush cell of tracheobronchial tree 641
stromal cell 553
pulmonary neuroendocrine cell 328
hematopoietic stem cell 61
Name: count, dtype: int64
Subject type
subject_type
organ_donor 333516
alive_healthy 190446
alive_disease 60982
Name: count, dtype: int64

====================================
CPU Time used: 00:04:29
CPU Percent: 78%
Memory usage: 89613436kb
Approx Power usage: 0.0008
Walltime usage: 00:08:03

====================================
34 changes: 34 additions & 0 deletions HPC_jobs/HLCA_full_col_names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Index(['suspension_type', 'donor_id', 'is_primary_data',
'assay_ontology_term_id', 'cell_type_ontology_term_id',
'development_stage_ontology_term_id', 'disease_ontology_term_id',
'self_reported_ethnicity_ontology_term_id', 'tissue_ontology_term_id',
'sex_ontology_term_id', '3'_or_5'', 'BMI', 'age_or_mean_of_age_range',
'age_range', 'anatomical_region_ccf_score',
'ann_coarse_for_GWAS_and_modeling', 'ann_finest_level', 'ann_level_1',
'ann_level_2', 'ann_level_3', 'ann_level_4', 'ann_level_5',
'cause_of_death', 'core_or_extension', 'dataset', 'fresh_or_frozen',
'log10_total_counts', 'lung_condition', 'mixed_ancestry',
'original_ann_level_1', 'original_ann_level_2', 'original_ann_level_3',
'original_ann_level_4', 'original_ann_level_5',
'original_ann_nonharmonized', 'reannotation_type', 'sample',
'scanvi_label', 'sequencing_platform', 'smoking_status', 'study',
'subject_type', 'tissue_coarse_unharmonized',
'tissue_detailed_unharmonized', 'tissue_dissociation_protocol',
'tissue_level_2', 'tissue_level_3', 'tissue_sampling_method',
'total_counts', 'transf_ann_level_1_label', 'transf_ann_level_1_uncert',
'transf_ann_level_2_label', 'transf_ann_level_2_uncert',
'transf_ann_level_3_label', 'transf_ann_level_3_uncert',
'transf_ann_level_4_label', 'transf_ann_level_4_uncert',
'transf_ann_level_5_label', 'transf_ann_level_5_uncert', 'tissue_type',
'cell_type', 'assay', 'disease', 'sex', 'tissue',
'self_reported_ethnicity', 'development_stage', 'observation_joinid'],
dtype='object')

====================================
CPU Time used: 00:04:22
CPU Percent: 86%
Memory usage: 73536196kb
Approx Power usage: 0.0008
Walltime usage: 00:08:49

====================================
141 changes: 141 additions & 0 deletions HPC_jobs/HLCA_full_tissue_type.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
tissue_coarse_unharmonized distribution:
tissue_coarse_unharmonized
parenchyma 455629
airway 218015
nose 160397
Trachea 20411
Intermediate Bronchi 18658
Inferior turbinate 18126
Distal Bronchi 17292
segmental_bronchi 9010
Name: count, dtype: int64
----------
tissue_detailed_unharmonized distribution:
tissue_detailed_unharmonized
Lower left lobe 68321
right bronchus (intermediate) 55806
right inferior turbinate 45557
side unknown, lower lobe 41220
trachea 33593
right upper lobe 29677
Upper left lobe 25485
Trachea 24166
parenchyma 22734
lobar_bronchi 22160
left lung, superior lobe, apical-posterior segment 18612
right middle lobe, alveolar region 18541
4th generation airway 18038
Parenchyma 17222
2nd-3rd generation airway 16980
left lower lobe, alveolar region 16898
Lower inferior turbinate 14596
anterior carina 11549
right middle lobe, bronchioles 10251
upper left lobe 9822
left main bronchus 9417
lower right lobe 9137
segmental_bronchi 9010
posterior carina 8862
right lobe 7821
left lower lobe, bronchi 7769
lower left lobe 7718
left upper lobe, alveolar region 7523
left lobe 7122
middle right lobe 5976
upper lobe 5923
upper right lobe 5619
parenchyma left lower lobe 5348
left lower lobe 4516
lower lobe 4249
Lower right lobe 4146
right lower lobe 3966
## lobe 3183
parenchyma right upper lobe 2269
Bronchi 445
parenchyma right middle lobe 399
Name: count, dtype: int64
----------
tissue_dissociation_protocol distribution:
tissue_dissociation_protocol
Collagenase D + DNAse 224250
Dispase + collagenase 121894
Cold protease 1h 120044
Collagenase + Elastase + DNAse 60982
Cold protease overnight 33593
Collagenase A + DNAse 24181
Name: count, dtype: int64
----------
tissue_level_2 distribution:
tissue_level_2
parenchyma lower lobe 118634
inferior turbinate 78279
lobular bronchi 74464
parenchyma upper lobe 61735
trachea 54004
distal lobular airways 27543
parenchyma right middle lobe 18541
left or right main bronchus 9417
segmental bronchi 7769
Name: count, dtype: int64
----------
tissue_level_3 distribution:
tissue_level_3
parenchyma left lower lobe 65053
inferior turbinate right nostril 53378
parenchyma right upper lobe 29677
parenchyma left upper lobe 26135
distal airways middle right lobe 16227
parenchyma right lower lobe 8112
inferior turbinate left nostril 7122
lobular bronchi upper left lobe 7049
lobular bronchi lower right lobe 5056
distal airways lower right lobe 4081
lobular bronchi lower left lobe 3411
lobular bronchi upper right lobe 3142
distal airways upper left lobe 2773
distal airways upper right lobe 2477
distal airways lower left lobe 1985
Name: count, dtype: int64
----------
tissue_sampling_method distribution:
tissue_sampling_method
donor_lung 702873
lung_explant 428431
surgical_resection 292307
autopsy 205374
balf 202476
brush 164056
biopsy 100467
scraping 82297
balf_cryopreserved 51689
donor_lung_cryopreserved 46500
autopsy_cryopreserved 4366
biopsy_cryopreserved 1611
Name: count, dtype: int64
----------
tissue distribution:
tissue
lung 1506615
lung parenchyma 356202
respiratory airway 304611
nose 115019
Name: count, dtype: int64
----------
ann_level_1 distribution:
ann_level_1
Immune 1222972
Epithelial 705307
Stroma 181028
Endothelial 156585
Unknown 16555
Name: count, dtype: int64
----------

====================================
CPU Time used: 00:04:34
CPU Percent: 70%
Memory usage: 88996004kb
Approx Power usage: 0.0008
Walltime usage: 00:09:22

====================================
19 changes: 19 additions & 0 deletions HPC_jobs/hlca_full.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
#PBS -l walltime=5:0:0
#PBS -lselect=1:ncpus=16:mem=512gb

# Load production tools
module load tools/prod

# Load python and bundle
module load Biopython/1.84-foss-2024a

# Change to directory
cd /rds/general/user/sep22/home/Projects/Xenium_5k_analysis_pipeline

# Activate virtual environment
source xenium_5k_venv/bin/activate

# Run
#python /rds/general/user/sep22/home/Projects/Xenium_5k_analysis_pipeline/src/manual_src/hlca_full_filt_process.py
python /rds/general/user/sep22/home/Projects/Xenium_5k_analysis_pipeline/src/manual_src/umap_hlca.py
18 changes: 18 additions & 0 deletions HPC_jobs/hpc_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
#PBS -l walltime=5:0:0
#PBS -lselect=1:ncpus=16:mem=512gb

# Load production tools
module load tools/prod

# Load python and bundle
module load Biopython/1.84-foss-2024a

# Change to directory
cd /rds/general/user/sep22/home/Projects/Xenium_5k_analysis_pipeline

# Activate virtual environment
source xenium_5k_venv/bin/activate

# Run
python -m recode_st config_files/config_HPC_dev.toml
18 changes: 18 additions & 0 deletions HPC_jobs/hpc_run_analysis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
#PBS -l walltime=1:0:0
#PBS -lselect=1:ncpus=8:mem=256gb

# Load production tools
module load tools/prod

# Load python and bundle
module load Biopython/1.84-foss-2024a

# Change to directory
cd /rds/general/user/sep22/home/Projects/Xenium_5k_analysis_pipeline

# Activate virtual environment
source xenium_5k_venv/bin/activate

# Run
python -m recode_st config_files/config_HPC_drug2cell.toml
18 changes: 18 additions & 0 deletions HPC_jobs/hpc_run_format.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
#PBS -l walltime=5:0:0
#PBS -lselect=1:ncpus=16:mem=512gb

# Load production tools
module load tools/prod

# Load python and bundle
module load Biopython/1.84-foss-2024a

# Change to directory
cd /rds/general/user/sep22/home/Projects/Xenium_5k_analysis_pipeline

# Activate virtual environment
source xenium_5k_venv/bin/activate

# Run
python -m recode_st config_files/config_HPC_format.toml
Loading
Loading