Giter Site home page Giter Site logo

yachielab / queen Goto Github PK

View Code? Open in Web Editor NEW
36.0 6.0 8.0 34.23 MB

QUEEN: a framework to generate quinable and efficiently editable nucleotide sequence resources

License: MIT License

Python 100.00%
bioinformatics biopython plasmids jupyter-notebooks

queen's Issues

visualizemap does not indicate overhangs

from queen import *
fragment = QUEEN(seq="CCGGTATGCG----/----ATACGCAGCT") 
fragment.printsequence(display=True)
fig = visualizemap(fragment, seq= True )
fig = visualizemap(fragment, seq=True, rcseq = True)

image
I'd expect overhang bases to be grayed/alphaed out instead.

flipdna() breaks visualizeflow()

Hi @ponnhide,
The flipdna() function against a QUEEN instance breaks visualizeflow(). Here's a minimal example.

This works without any errors (No flow map would be visualized though).

M13F = QUEEN("GTAAAACGACGGCCAGT")
visualizeflow(M13F)

However, this one fails with the error below.

M13F = QUEEN("GTAAAACGACGGCCAGT")
visualizeflow(flipdna(M13F))
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[83], line 1
----> 1 visualizeflow(flipdna(M13F))

File ~/micromamba/envs/general/lib/python3.11/site-packages/QUEEN/qgraph.py:845, in visualizeflow(search_function, grouping, inherited_process, process_description, split_input, sf, ip, pd, si, alias_dict, *dnas)
    843 sdgflag = 0 
    844 for productname in productnames:
--> 845     if "_load" in info_dict and "cutdna" not in funcname:
    846         if productname not in nodes:
    847             dg.node(productname, label=productname, margin="0.05", shape="oval", fontname="Arial") 

TypeError: argument of type 'NoneType' is not iterable

Here's my environment

% pip list | grep -i queen
python-queen                  1.2.0

unable to pip instal V1.2 from git

Looks like there is an invalid file path in the repository: see below for error message.

error: invalid path 'demo/sakata_et_al_2020/input/original/addg:Users:hideto:Dropbox (Yachie Lab):HIDETO_MORI.LAB:Experiments:Project:Dbrick:github:demo:sakata_et_al_2020:input:original:addgene_79620.gbkene_79620.gbk'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

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.