Closed sinamajidian closed 4 years ago
Hi Sina
Have you resolved your installation problem?
On Fri, 17 Apr 2020 at 11:17 pm, Sina Majidian notifications@github.com wrote:
Closed #16 https://github.com/cerebis/sim3C/issues/16.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cerebis/sim3C/issues/16#event-3244345649, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABN2PCY26TQVI2EECP7TMTTRNBJFDANCNFSM4MKPTLUQ .
Thanks for your reply.
No, but I've found the commit on Jul 25, 2019
containing the sim3c.py. It looks working.
This warning can safely be ignored. It pertains to how the dependent Art.py module is used by sim3C and I should really change that to be a debug statement, rather than warning.
On Sun, 19 Apr 2020 at 14:08, Sina Majidian notifications@github.com wrote:
Thanks for your reply. No, but I've found the commit on Jul 25, 2019 containing the sim3c.py. It looks working. I've mentioned the reference genome and I'm facing with a warning.
sim3C.py --dist uniform -n 500000 -l 150 -e NlaIII -m hic simHap1.fasta sim.fastq ...
WARNING | 2020-04-19 08:21:36,897 | Art | No reference supplied, calls will have to supply a template
Would you please describe the warning? I can guess sim3c doesn't complain about the reference genome. I'm wondering whether there is an option in simulation for using HindIII or MboI enzyme?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cerebis/sim3C/issues/16#issuecomment-616023918, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABN2PC2G6TCV47BVAH4D4GTRNJ2NXANCNFSM4MKPTLUQ .
To answer your original question, sim3C was indeed originally developed using Python 2.7. Since it is now 2020 and 2.7 is officially deprecated, other modules have changed to only >=3 support. This is where your installation problem is stemming.
One solution is to use my experimental Python 3 branch (named python3) but it is not thoroughly tested.
The other is to try installing again for Python 2.7. Since you raised this issue, I have added version constraints on the dependent modules to avoid pulling down the latest code which is no longer Python 2.7 compatible.
To answer your original question, sim3C was indeed originally developed using Python 2.7. Since it is now 2020 and 2.7 is officially deprecated, other modules have changed to only >=3 support. This is where your installation problem is stemming.
One solution is to use my experimental Python 3 branch (named python3) but it is not thoroughly tested.
The other is to try installing again for Python 2.7. Since you raised this issue, I have added version constraints on the dependent modules to avoid pulling down the latest code which is no longer Python 2.7 compatible.
43e2ccfabf55f9ddb84754e9b29b8791d4bd34c0
Hi I want to use sim3C. So, based on the instruction I run the following on my mac
But when I run it, I face a problem
This is my conda info
I've heard that running
pip
inconda
environment is not a good idea. Do you think that's the reason? or Should I add sth to path? Can I run the python code without installation?PS.
I found that you mentioned it should be run on python 2.7. So, I deactivated the conda and use pip like this
When I check the
pip list
it is thereWhen I go in to
python 2.7
. I can import sim3CIt shows that
sim3C
is installed. But my question is How I can use it in Terminal?