Git Product home page Git Product logo

Comments (13)

jiangdydy avatar jiangdydy commented on July 2, 2024

Sorry,I met the same question.I don't know if you've solved the problem. @JiawenChenn
Or could you tell us how to slove this problem? @bryanhe

from st-net.

jiangdydy avatar jiangdydy commented on July 2, 2024

it seems that the file can be download from https://www.genenames.org/download/custom/ if you have a look at ensembl.py @JiawenChenn But i have got another problem.
When i run python3 -m stnet prepare spatial.I get ValueError: need at least one array to concatenate .Do you have the same problem?

from st-net.

engrodawood avatar engrodawood commented on July 2, 2024

@jiangdydy Have you resolve the concatenate error?

from st-net.

mjt-zdz avatar mjt-zdz commented on July 2, 2024

@jiangdydy Have you resolve the concatenate error? I have the same problem.

from st-net.

chenyang1999 avatar chenyang1999 commented on July 2, 2024

I have the same problem

FileNotFoundError: [Errno 2] No such file or directory: '/home/chenyang/ST-Net/stnet/utils/ensembl.tsv'
could anyone help me?
my email is [email protected]

from st-net.

chenyang1999 avatar chenyang1999 commented on July 2, 2024

Thanks @jiangdydy a lot,
I download the emseml.tsv from https://www.genenames.org/cgi-bin/download/custom?col=gd_hgnc_id&col=gd_app_sym&col=gd_app_name&col=md_ensembl_id&status=Approved&status=Entry%20Withdrawn&hgnc_dbtag=on&order_by=gd_app_sym_sort&format=text&submit=submit
you can download it

from st-net.

chenyang1999 avatar chenyang1999 commented on July 2, 2024

兄弟们,要不要加个微信,讨论怎么复现代码?
我的微信是: cyang23333

from st-net.

JiawenChenn avatar JiawenChenn commented on July 2, 2024

Thanks @jiangdydy .

from st-net.

jiayiwus1x avatar jiayiwus1x commented on July 2, 2024

it seems that the file can be download from https://www.genenames.org/download/custom/ if you have a look at ensembl.py @JiawenChenn But i have got another problem.
When i run python3 -m stnet prepare spatial.I get ValueError: need at least one array to concatenate .Do you have the same problem?

Probably because the data is empty?

from st-net.

andrewbrown1022 avatar andrewbrown1022 commented on July 2, 2024

@jiayiwus1x it is because in the load_raw function located in stnet > cmd > prepare > spatial.py, where the variable "images" is initialized, it is trying to match a file structure that they didn't give us. I assume in the version they were using, the data was structured into folders by patient. @chenyang1999 seems to have a fix here: #4, however, I just modified the spatial.py script to change the location it tries to match instead of the file structure. However, even after that fix, I and others are having the issue where there is a file called "_Coords.tsv" missing. Good luck!

from st-net.

chenyang1999 avatar chenyang1999 commented on July 2, 2024

@jiayiwus1x it is because in the load_raw function located in stnet > cmd > prepare > spatial.py, where the variable "images" is initialized, it is trying to match a file structure that they didn't give us. I assume in the version they were using, the data was structured into folders by patient. @chenyang1999 seems to have a fix here: #4, however, I just modified the spatial.py script to change the location it tries to match instead of the file structure. However, even after that fix, I and others are having the issue where there is a file called "_Coords.tsv" missing. Good luck!

我不是很关心癌症具体的位置,我只是想预测空间转录组基因表达,所以去掉这tumor部分的预测就行了

from st-net.

andrewbrown1022 avatar andrewbrown1022 commented on July 2, 2024

@chenyang1999 Where do you remove the tumor prediction part? It seems to be fairly embedded in several parts within the processing script.

from st-net.

johnchen99 avatar johnchen99 commented on July 2, 2024

ValueError: need at least one array to concatenate

Have the same ValueError: need at least one array to concatenate error as above. May I know is there any solution for it? @jiangdydy @engrodawood @mjt-zdz @JiawenChenn @jiayiwus1x @andrewbrown1022

from st-net.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.