Giter VIP home page Giter VIP logo

faststructure3's People

Contributors

stevemussmann avatar

Watchers

 avatar  avatar

Forkers

jiangchb

faststructure3's Issues

Setup.py not up to date

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 :)

ModuleNotFoundError: No module named 'allelefreq' .

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'

TypeError: 'float' object cannot be interpreted as an integer

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!

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.