timoast / sinto

Tools for single-cell data processing
https://timoast.github.io/sinto/
MIT License
112 stars 24 forks source link

sinto installation - problem with python #26

Closed mirifax closed 3 years ago

mirifax commented 3 years ago

Hi, I installed sinto successfully with python2 etc. But I seem to have an error with python:

File "/home/mfaxel/lib/python2.7/site-packages/sinto-0.7.2.2-py2.7.egg/sinto/tagtorg.py", line 9 return "\t".join(f"{k}:{v}" for k, v in line.items()) ^ SyntaxError: invalid syntax

Is there a workaround or anyone already had this problem? Thanks in advance!

timoast commented 3 years ago

Sinto requires python 3

binggan007 commented 3 years ago

Hi I have similar problem. My command sinto fragments XX.bam:

Traceback (most recent call last): File "/home/fuy3/.local/bin/sinto", line 5, in from sinto.arguments import main File "/home/fuy3/.local/lib/python3.5/site-packages/sinto/arguments.py", line 4, in from sinto import cli File "/home/fuy3/.local/lib/python3.5/site-packages/sinto/cli.py", line 1, in from sinto import ( File "/home/fuy3/.local/lib/python3.5/site-packages/sinto/tagtorg.py", line 9 return "\t".join(f"{k}:{v}" for k, v in line.items()) ^ SyntaxError: invalid syntax

Thank you!