stevemussmann / faststructure3 Goto Github PK
View Code? Open in Web Editor NEWPython3 compatible update of Anil Raj's fastStructure
License: MIT License
Python3 compatible update of Anil Raj's fastStructure
License: MIT License
Hi,
I've had some issues with fastStructure3. fastStructure only seemed to work with python3.6 or lower. I found out that it is an issue with the setup.py scripts. In the newer versions the command 'include_dirs' is supposed to be in the Extension and not in the setup function. Can this be changed so that it's usable for the newer Python versions? When I changed this and ran the script with PYTHONPATH=vars python3 structure.py everything worked.
I would like to hear if it's updated :)
When I run fastSTRUCTURE3 I get a ModuleNotFoundError. What is the cause and how can I fix this? The error is as follows:
Traceback (most recent call last):
File "~/fastStructure3/structure.py", line 4, in
import fastStructure
File "fastStructure.pyx", line 2, in init fastStructure
import numpy as np
File "admixprop.pyx", line 1, in init admixprop
ModuleNotFoundError: No module named 'allelefreq'
Hi,
I'm trying to use a .str file as input voor fastStructure with Python3 , but I keep getting a TypeError. When I run the .str file in fastStructure with Python2 it seems te work fine and I get results. However, I need it to work in Python 3.
Because I don't get the error when I run it with the original fastStructure (in Python2) I'm suspecting that the problem is with the code in parse_str.pyx. I don't get this error when i run fastStructure (Python 3) with a bed-file.
Update- I fixed it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.