Giter Site home page Giter Site logo

csb-toolbox / csb Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 3.0 5.58 MB

A Python framework for structural bioinformatics.

Home Page: https://doi.org/10.1093/bioinformatics/bts538

License: MIT License

Python 80.91% CSS 0.82% Inno Setup 18.27%
bioinformatics algorithms structural-bioinformatics library

csb's People

Contributors

ivan-kalev avatar klauskopec avatar michaelhabeck avatar simeoncarstens avatar speleo3 avatar tdido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

csb's Issues

Using a non-tuple sequence for multidimensional indexing

Multidimensional indexing must use tuple after using the slice command when indexing, arr[tuple(seq)] instead of arr[seq].

In the package for example under csb.numeric.pad:
slices = [slice(s[i], -s[i]) for i in range(len(s))]
y[slices] = x

Instead of y[slices], it should be y[tuple(slices)]

Currently it throws a future warning as:
FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result.

Add to bioconda repository

Hey guys.

Back in the day I got the package into Debian, but honestly I'm now almost exclusively using conda for my environments. I saw that there's a package by @ivan-kalev in his private anaconda repo, and some others by other people/projects, but it's not yet in bioconda I think? I'd be happy to get it there if there's interest.

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.