Coder Social home page Coder Social logo

paste.py about rmats-stat HOT 3 OPEN

Yan-Xiaomin avatar Yan-Xiaomin commented on July 17, 2024
paste.py

from rmats-stat.

Comments (3)

sunnyfanyy avatar sunnyfanyy commented on July 17, 2024 1

Dear professors:
I met some questions when I run the rmats.py. The version of the rMATS is 'rMATS.4.0.2'. when I run the rmats.py, it would have some errors about "Traceback (most recent call last):
File "/panfs/sugon/home/yanxm/softwares/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/paste.py", line 52, in main()
File "/panfs/sugon/home/yanxm/softwares/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/paste.py", line 45, in main ofp1.write(line[0]+'\n')
TypeError: 'map' object is not subscriptable". I have tried many times, however ,still unsolved. I hope you can hep me out. I really don't know the reason. I am looking forward to your reply.

I solved this problem:
$ vi /yourdir/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/paste.py
then change line = map(str, line) into line = list(map(str, line))

from rmats-stat.

sunnyfanyy avatar sunnyfanyy commented on July 17, 2024

I also have the same problem...

from rmats-stat.

yanxm-123 avatar yanxm-123 commented on July 17, 2024

Dear professors:
I met some questions when I run the rmats.py. The version of the rMATS is 'rMATS.4.0.2'. when I run the rmats.py, it would have some errors about "Traceback (most recent call last):
File "/panfs/sugon/home/yanxm/softwares/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/paste.py", line 52, in main()
File "/panfs/sugon/home/yanxm/softwares/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/paste.py", line 45, in main ofp1.write(line[0]+'\n')
TypeError: 'map' object is not subscriptable". I have tried many times, however ,still unsolved. I hope you can hep me out. I really don't know the reason. I am looking forward to your reply.

I solved this problem:
$ vi /yourdir/rMATS.4.0.2/rMATS-turbo-Linux-UCS4/rMATS_P/paste.py
then change line = map(str, line) into line = list(map(str, line))

Thank you for your solution~

from rmats-stat.

Related Issues (6)

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.