Skip to content

Commit 5630318

Browse files
committed
save notebooks and commit
1 parent 63cef81 commit 5630318

File tree

9 files changed

+146
-0
lines changed

9 files changed

+146
-0
lines changed

cellranger_related/cellranger_code/cellranger_count/SE12.mri.tgz

Whitespace-only changes.

cellranger_related/cellranger_code/cellranger_count/job.8681809.out

+27
Original file line numberDiff line numberDiff line change
@@ -2727,3 +2727,30 @@ samtools: samtools 1.16.1
27272727
2025-02-28 16:39:22 [runtime] (chunks_complete) ID.SE12.SC_RNA_COUNTER_CS.SC_MULTI_CORE.MULTI_REPORTER.CHOOSE_CLOUPE
27282728
2025-02-28 16:40:28 [runtime] (update) ID.SE12.SC_RNA_COUNTER_CS.SC_MULTI_CORE.MULTI_GEM_WELL_PROCESSOR.COUNT_GEM_WELL_PROCESSOR._BASIC_SC_RNA_COUNTER.WRITE_POS_BAM.fork0 join_running
27292729
2025-02-28 16:40:54 [runtime] (join_complete) ID.SE12.SC_RNA_COUNTER_CS.SC_MULTI_CORE.MULTI_GEM_WELL_PROCESSOR.COUNT_GEM_WELL_PROCESSOR._BASIC_SC_RNA_COUNTER.WRITE_POS_BAM
2730+
2731+
Outputs:
2732+
- Run summary HTML: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/web_summary.html
2733+
- Run summary CSV: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/metrics_summary.csv
2734+
- BAM: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/possorted_genome_bam.bam
2735+
- BAM BAI index: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/possorted_genome_bam.bam.bai
2736+
- BAM CSI index: null
2737+
- Filtered feature-barcode matrices MEX: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/filtered_feature_bc_matrix
2738+
- Filtered feature-barcode matrices HDF5: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/filtered_feature_bc_matrix.h5
2739+
- Unfiltered feature-barcode matrices MEX: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/raw_feature_bc_matrix
2740+
- Unfiltered feature-barcode matrices HDF5: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/raw_feature_bc_matrix.h5
2741+
- Secondary analysis output CSV: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/analysis
2742+
- Per-molecule read information: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/molecule_info.h5
2743+
- CRISPR-specific analysis: null
2744+
- Antibody aggregate barcodes: null
2745+
- Loupe Browser file: /groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/outs/cloupe.cloupe
2746+
- Feature Reference: null
2747+
- Target Panel File: null
2748+
- Probe Set File: null
2749+
- cell_types: null
2750+
- Symlink web_summary_cell_types.html: null
2751+
2752+
Waiting 6 seconds for UI to do final refresh.
2753+
Pipestance completed successfully!
2754+
2755+
2025-02-28 16:41:33 Shutting down.
2756+
Saving pipestance info to "/groups/mpistaff/Cranio_Lab/Louk_Seton/4_species_project/cellranger_related/cellranger_output/sc_rnaseq/catshark/sScyCan1.1/SE12/SE12.mri.tgz"

cellranger_related/cellranger_code/velocyto/job.8681948.out

+1
Original file line numberDiff line numberDiff line change
@@ -1889,3 +1889,4 @@ A00709:866:HHG3WDSXC:2:2561:9408:20353 0 12 17841724 255 145M3507778N6M * 0 0 AG
18891889
2025-02-28 16:37:41,364 - DEBUG - Read first 240 million reads
18901890
2025-02-28 16:38:02,175 - DEBUG - Counting for batch 58, containing 100 cells and 3058500 reads
18911891
2025-02-28 16:39:56,647 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions
1892+
2025-02-28 16:41:06,141 - DEBUG - Counting for batch 59, containing 100 cells and 2801888 reads

cellranger_related/cellranger_code/velocyto/job.8681949.out

+3
Original file line numberDiff line numberDiff line change
@@ -5885,3 +5885,6 @@
58855885
2025-02-28 16:39:16,066 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions
58865886
2025-02-28 16:39:53,672 - DEBUG - Counting for batch 142, containing 100 cells and 1662891 reads
58875887
2025-02-28 16:40:33,849 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions
5888+
2025-02-28 16:40:50,487 - DEBUG - Read first 390 million reads
5889+
2025-02-28 16:41:12,475 - DEBUG - Counting for batch 143, containing 100 cells and 1978907 reads
5890+
2025-02-28 16:41:57,822 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions

cellranger_related/cellranger_code/velocyto/job.8681950.out

+1
Original file line numberDiff line numberDiff line change
@@ -5147,3 +5147,4 @@ A00551:766:HKTVVDSX7:1:2545:9869:5400 0 W 4225527 255 33M3877621N118M * 0 0 GGAG
51475147
2025-02-28 16:39:40,040 - DEBUG - Counting for batch 78, containing 100 cells and 1660169 reads
51485148
2025-02-28 16:40:23,523 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions
51495149
2025-02-28 16:40:54,784 - DEBUG - Counting for batch 79, containing 100 cells and 1679970 reads
5150+
2025-02-28 16:41:37,010 - DEBUG - 0 reads not considered because fully enclosed in repeat masked regions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "f2b11fab-44ce-4100-b7f4-aa28689364e6",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"import logging\n",
11+
"logging.getLogger('matplotlib.font_manager').setLevel(logging.ERROR)\n",
12+
"import scanpy as sc\n",
13+
"import scvelo as scv\n",
14+
"import scvi\n",
15+
"import plotly.express as px\n",
16+
"import numpy as np\n",
17+
"from dash import Dash, dcc, html, Input, Output\n",
18+
"\n",
19+
"import pandas as pd\n",
20+
"\n",
21+
"import os\n",
22+
"import sys\n",
23+
"import time\n",
24+
"os.environ['R_HOME'] = sys.exec_prefix+\"/lib/R/\"\n",
25+
"\n",
26+
"# Plotting\n",
27+
"import matplotlib\n",
28+
"import matplotlib.pyplot as plt\n",
29+
"import matplotlib as mpl\n",
30+
"\n",
31+
"project_directory = '/Cranio_Lab/Louk_Seton/4_species_project'\n",
32+
"os.chdir(os.path.expanduser(\"~\")+project_directory)"
33+
]
34+
},
35+
{
36+
"cell_type": "code",
37+
"execution_count": null,
38+
"id": "cbb1cd63-6fbf-4587-890d-beb22fae5d94",
39+
"metadata": {},
40+
"outputs": [],
41+
"source": [
42+
"######Mouse mm10######\n",
43+
"start_time=time.strftime(\"%Y_%m_%d-%I_%M_%S_%p\")\n",
44+
"print('start time:',start_time)\n",
45+
"\n",
46+
"sample_names = ['ME8','ME9','ME10','ME11','ME12'] #specify the sample names\n",
47+
"species = 'mouse' #specify the species\n",
48+
"genome = 'mm10' #specify the genome\n",
49+
"output_prefix = 'cellranger_related/cellranger_output/sc_rnaseq/' #specify the location of the cellranger output\n",
50+
"\n",
51+
"cellranger_locs = []\n",
52+
"velocyto_locs = []\n",
53+
"\n",
54+
"for sample in sample_names: #simple loop to create a list with the location of the required files\n",
55+
" cellranger_locs = cellranger_locs + [output_prefix+species+'/'+genome+'/'+sample+'/outs/filtered_feature_bc_matrix/']\n",
56+
" velocyto_locs = velocyto_locs + [output_prefix+species+'/'+genome+'/'+sample+'/velocyto/'+sample+'.loom']\n",
57+
"\n",
58+
"adata_files={}\n",
59+
"adata_list=[]\n",
60+
"print(time.strftime(\"%Y_%m_%d-%I_%M_%S_%p\"),'Reading file(s)')\n",
61+
"for i,j,k in zip(sample_names, cellranger_locs, velocyto_locs):\n",
62+
" adata_cellr = sc.read_10x_mtx(j)\n",
63+
" adata_cellr.obs.index = adata_cellr.obs.index.str[:-2]\n",
64+
" adata_cellr.var['gene_name'] = adata_cellr.var.index\n",
65+
" adata_cellr.var.index = adata_cellr.var['gene_ids']\n",
66+
" adata_veloc = sc.read(k)\n",
67+
" adata_veloc.obs.index = adata_veloc.obs.index.str.split(':').str[1]\n",
68+
" adata_veloc.obs.index = adata_veloc.obs.index.str[:-1]\n",
69+
" adata_veloc.var['gene_name'] = adata_veloc.var.index\n",
70+
" adata_veloc.var.index = adata_veloc.var['Accession']\n",
71+
" adata_merge = scv.utils.merge(adata_cellr, adata_veloc)\n",
72+
" adata_files['adata'+i]=adata_merge\n",
73+
" adata_files['adata'+i].obs['sample']=i\n",
74+
" adata_files['adata'+i].obs['barcode']=adata_files['adata'+i].obs.index\n",
75+
" adata_files['adata'+i].obs.index=adata_files['adata'+i].obs['barcode']+'.'+adata_files['adata'+i].obs['sample']\n",
76+
" adata_list.append('adata'+i)\n",
77+
" del adata_cellr\n",
78+
" del adata_veloc\n",
79+
" del adata_merge\n",
80+
" gc.collect()\n",
81+
"print(time.strftime(\"%Y_%m_%d-%I_%M_%S_%p\"),'Finished Reading file(s)')"
82+
]
83+
},
84+
{
85+
"cell_type": "code",
86+
"execution_count": null,
87+
"id": "15c33e3e-deb3-4642-9a46-f762db5c7a3f",
88+
"metadata": {},
89+
"outputs": [],
90+
"source": []
91+
}
92+
],
93+
"metadata": {
94+
"kernelspec": {
95+
"display_name": "scanpy_2025",
96+
"language": "python",
97+
"name": "scanpy_2025"
98+
},
99+
"language_info": {
100+
"codemirror_mode": {
101+
"name": "ipython",
102+
"version": 3
103+
},
104+
"file_extension": ".py",
105+
"mimetype": "text/x-python",
106+
"name": "python",
107+
"nbconvert_exporter": "python",
108+
"pygments_lexer": "ipython3",
109+
"version": "3.11.11"
110+
}
111+
},
112+
"nbformat": 4,
113+
"nbformat_minor": 5
114+
}
59.2 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)