Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

--use-fast-tsne segfaults #19

Closed
ghuls opened this issue Oct 14, 2019 · 2 comments
Closed

--use-fast-tsne segfaults #19

ghuls opened this issue Oct 14, 2019 · 2 comments

Comments

@ghuls
Copy link
Collaborator

ghuls commented Oct 14, 2019

I get a segfault when running SC__SCANPY__DIM_REDUCTION__UMAP on my data

Multicore-TSNE segfault bug report: DmitryUlyanov/Multicore-TSNE#59

Maybe it is worth to look if https://github.com/pavlin-policar/openTSNE/ can be used instead of Multicore-TSNE in scanpy.

Error executing process > 'single_sample:SINGLE_SAMPLE:DIM_REDUCTION:SC__SCANPY__DIM_REDUCTION__UMAP (1)'

Caused by:
  Process `single_sample:SINGLE_SAMPLE:DIM_REDUCTION:SC__SCANPY__DIM_REDUCTION__UMAP (1)` terminated with an error exit status (139)

Command executed:

  /staging/leuven/stg_00002/lcb/ghuls/software/SingleCellTxBenchmark/src/scanpy/bin/dim_reduction/sc_dim_reduction.py          --method UMAP                              --n-comps 20                              --use-fast-tsne          TEW__7b2a3b__scNuc_Liver_Habib.SC__SCANPY__DIM_REDUCTION_TSNE.h5ad          "TEW__7b2a3b__scNuc_Liver_Habib.SC__SCANPY__DIM_REDUCTION_UMAP.h5ad"

Command exit status:
  139

Command output:
  (empty)

Command error:
  /opt/venv/lib/python3.7/site-packages/louvain/Optimiser.py:349: SyntaxWarning: assertion is always true, perhaps remove parentheses?
    assert(issubclass(partition_type, LinearResolutionParameterVertexPartition),
  /staging/leuven/stg_00002/lcb/ghuls/software/SingleCellTxBenchmark/src/scanpy/bin/dim_reduction/sc_dim_reduction.py:96: UserWarning: The neighborhood graph of observations has not been computed. Computing...
    warnings.warn("The neighborhood graph of observations has not been computed. Computing...")
  .command.sh: line 2:  4807 Segmentation fault      (core dumped) /staging/leuven/stg_00002/lcb/ghuls/software/SingleCellTxBenchmark/src/scanpy/bin/dim_reduction/sc_dim_reduction.py --method UMAP --n-comps 20 --use-fast-tsne TEW__7b2a3b__scNuc_Liver_Habib.SC__SCANPY__DIM_REDUCTION_TSNE.h5ad "TEW__7b2a3b__scNuc_Liver_Habib.SC__SCANPY__DIM_REDUCTION_UMAP.h5ad"

Work dir:
  /.../analysis_ghuls/work/d8/909b46cf55fe12d36e3977738e167c

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
@KrisDavie
Copy link
Member

That process is the UMAP one, so unless I'm mistaken, it isn't even running the tSNE. Must be something to do with the UMAP instead.

@ghuls
Copy link
Collaborator Author

ghuls commented Oct 15, 2019

Pull request #21 fixes the error.

@dweemx dweemx closed this as completed Oct 23, 2019
KrisDavie pushed a commit that referenced this issue Dec 7, 2020
Fix bug BEC_MNNCORRECT module should return the marker genes channel
KrisDavie pushed a commit that referenced this issue Dec 7, 2020
Fix container urls and update to version 0.10.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants