You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job counts:
count jobs
39 create_automated_analysis_processed_data_files
39 create_automated_report
1 run_analysis
39 run_automated_analysis
118
Select jobs to execute...
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
/Users/server3/spacemake/.snakemake/scripts/tmpmv8a5d3_.automated_analysis.py:84: FutureWarning: In the future, the default backend for leiden will be igraph instead of leidenalg.
To achieve the future defaults please pass: flavor="igraph" and n_iterations=2. directed must also be False to work with igraph's implementation.
sc.tl.leiden(adata, resolution = res, key_added = res_key)
filtering by umi cutoff: 500
starting analysis
normalising and log-scaling
calculating pca components
computing neighborhood graph
dimensionality reduction
clustering
ranking genes for resolution 0.4
0%| | 0/1000 [00:00<?, ?/s]Traceback (most recent call last):
File "", line 1, in
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/runpy.py", line 289, in run_path
return _run_module_code(code, init_globals, run_name,
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/runpy.py", line 86, in run_code
exec(code, run_globals)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/spacemake/snakemake/scripts/automated_analysis.py", line 9, in
adata = sc.read_h5ad(snakemake.input[0])
NameError: name 'snakemake' is not defined
Traceback (most recent call last):
File "/Users/server3/spacemake/.snakemake/scripts/tmpmv8a5d3.automated_analysis.py", line 92, in
sq.gr.nhood_enrichment(adata, cluster_key=res_key)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/squidpy/gr/_nhood.py", line 180, in nhood_enrichment
perms = parallelize(
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/squidpy/_utils.py", line 169, in wrapper
queue = Manager().Queue()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/context.py", line 57, in Manager
m.start()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/managers.py", line 566, in start
self._address = reader.recv()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError
RuleException:
CalledProcessError in line 665 of /Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/spacemake/snakemake/main.smk:
Command 'set +o pipefail; JAVA_TOOL_OPTIONS="-Xmx8g -Xss2560k" ; /Users/server3/miniforge3/envs/spacemake/bin/python3.10 /Users/server3/spacemake/.snakemake/scripts/tmpmv8a5d3_.automated_analysis.py' returned non-zero exit status 1.
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 2330, in run_wrapper
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/spacemake/snakemake/main.smk", line 665, in __rule_run_automated_analysis
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 569, in _callback
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/concurrent/futures/thread.py", line 58, in run
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 555, in cached_or_run
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 2362, in run_wrapper
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
output provided by 'mapping.smk' module (via 'get_mapped_BAM_output'): 'projects/openst_demo/processed_data/e13_mouse_head/illumina/complete_data/final.polyA_adapter_trimmed.bam'
I am sured that this py file has run in process, the shell print these lines:
shell:
filtering by umi cutoff: 500
starting analysis
normalising and log-scaling
calculating pca components
computing neighborhood graph
dimensionality reduction
clustering
ranking genes for resolution 0.4
But it still report an error.
it maybe report an error at sc.tl.rank_genes_groups() or sq.gr.nhood_enrichment(). Please tell me how to deal with this problem, I almost run this program successfully on my Mac. The other problems before this have solved, I'm eager to make it success.
The text was updated successfully, but these errors were encountered:
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job counts:
count jobs
39 create_automated_analysis_processed_data_files
39 create_automated_report
1 run_analysis
39 run_automated_analysis
118
Select jobs to execute...
[Tue Jul 16 16:53:03 2024]
rule run_automated_analysis:
input: projects/openst_demo/processed_data/e13_mouse_head/illumina/complete_data/dge/dge.all.polyA_adapter_trimmed.mm_included.spatial_beads.mesh_7_hexagon_fc_1_L3_tile_2518.h5ad
output: projects/openst_demo/processed_data/e13_mouse_head/illumina/complete_data/automated_analysis/openst/umi_cutoff_500/e13_mouse_head_fc_1_L3_tile_2518_results.h5ad
jobid: 161
wildcards: project_id=openst_demo, sample_id=e13_mouse_head, data_root_type=complete_data, downsampling_percentage=, run_mode=openst, umi_cutoff=500, puck_barcode_file_id_qc=fc_1_L3_tile_2518
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
/Users/server3/spacemake/.snakemake/scripts/tmpmv8a5d3_.automated_analysis.py:84: FutureWarning: In the future, the default backend for leiden will be igraph instead of leidenalg.
To achieve the future defaults please pass: flavor="igraph" and n_iterations=2. directed must also be False to work with igraph's implementation.
sc.tl.leiden(adata, resolution = res, key_added = res_key)
filtering by umi cutoff: 500
starting analysis
normalising and log-scaling
calculating pca components
computing neighborhood graph
dimensionality reduction
clustering
ranking genes for resolution 0.4
0%| | 0/1000 [00:00<?, ?/s]Traceback (most recent call last):
File "", line 1, in
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 125, in _main
prepare(preparation_data)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 236, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/spawn.py", line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/runpy.py", line 289, in run_path
return _run_module_code(code, init_globals, run_name,
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/runpy.py", line 86, in run_code
exec(code, run_globals)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/spacemake/snakemake/scripts/automated_analysis.py", line 9, in
adata = sc.read_h5ad(snakemake.input[0])
NameError: name 'snakemake' is not defined
Traceback (most recent call last):
File "/Users/server3/spacemake/.snakemake/scripts/tmpmv8a5d3.automated_analysis.py", line 92, in
sq.gr.nhood_enrichment(adata, cluster_key=res_key)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/squidpy/gr/_nhood.py", line 180, in nhood_enrichment
perms = parallelize(
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/squidpy/_utils.py", line 169, in wrapper
queue = Manager().Queue()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/context.py", line 57, in Manager
m.start()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/managers.py", line 566, in start
self._address = reader.recv()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/connection.py", line 250, in recv
buf = self._recv_bytes()
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/connection.py", line 414, in _recv_bytes
buf = self._recv(4)
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError
0%| | 0/1000 [00:05<?, ?/s]
[Tue Jul 16 16:53:29 2024]
Error in rule run_automated_analysis:
jobid: 161
output: projects/openst_demo/processed_data/e13_mouse_head/illumina/complete_data/automated_analysis/openst/umi_cutoff_500/e13_mouse_head_fc_1_L3_tile_2518_results.h5ad
RuleException:
CalledProcessError in line 665 of /Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/spacemake/snakemake/main.smk:
Command 'set +o pipefail; JAVA_TOOL_OPTIONS="-Xmx8g -Xss2560k" ; /Users/server3/miniforge3/envs/spacemake/bin/python3.10 /Users/server3/spacemake/.snakemake/scripts/tmpmv8a5d3_.automated_analysis.py' returned non-zero exit status 1.
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 2330, in run_wrapper
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/spacemake/snakemake/main.smk", line 665, in __rule_run_automated_analysis
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 569, in _callback
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/concurrent/futures/thread.py", line 58, in run
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 555, in cached_or_run
File "/Users/server3/miniforge3/envs/spacemake/lib/python3.10/site-packages/snakemake/executors/init.py", line 2362, in run_wrapper
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
output provided by 'mapping.smk' module (via 'get_mapped_BAM_output'): 'projects/openst_demo/processed_data/e13_mouse_head/illumina/complete_data/final.polyA_adapter_trimmed.bam'
I am sured that this py file has run in process, the shell print these lines:
shell:
filtering by umi cutoff: 500
starting analysis
normalising and log-scaling
calculating pca components
computing neighborhood graph
dimensionality reduction
clustering
ranking genes for resolution 0.4
But it still report an error.
it maybe report an error at sc.tl.rank_genes_groups() or sq.gr.nhood_enrichment(). Please tell me how to deal with this problem, I almost run this program successfully on my Mac. The other problems before this have solved, I'm eager to make it success.
The text was updated successfully, but these errors were encountered: