Giter VIP home page Giter VIP logo

pathogenie's People

Contributors

dmnfarrell avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

pathogenie's Issues

pygenefindergui: "Draw features" does not set slider location value

When highlighting a set of features in the feature table and right-clicking to "draw features", the slider location value in the interactive sequence feature viewer is not updated.

This means that the slider stays at position 1 in the currently viewed genome, so trying to zoom in and out from the current view resets the position to the start of the genome. Similarly, it means you can't pan to the left or right of the feature selection, because the location resets to the start of the genome.

When zooming, the slider position is read from start = int(self.slider.value()). I don't think this value is updated when using "draw features".

I'd suggest setting self.slider.value to the range for the currently viewed features. Something like
self.slider.setvalue(new_location) (I'd attempt to submit a patch myself, but I haven't really used github much so not sure how the process works!)

Thanks!

Annotations problem

Hi Damien,

It is my first time using your script for annotating my bacterial FASTA sequence. From the console of my python (3.8) on Ubuntu/Linux 20.10, I see the script stuck with Aragon. I updated all dependencies; however, I still get the same error.
""
Traceback (most recent call last):

File "", line 11, in
featdf,recs = pathogenie.app.run_annotation(infile, threads=10, kingdom='bacteria')

File "/home/ahmed/src/pathogenie/pathogenie/app.py", line 461, in run_annotation
arag = aragorn(infile)

File "/home/ahmed/src/pathogenie/pathogenie/app.py", line 333, in aragorn
df = tools.read_aragorn(outfile)

File "/home/ahmed/src/pathogenie/pathogenie/tools.py", line 841, in read_aragorn
if m.group(1):

AttributeError: 'NoneType' object has no attribute 'group'
"""
#######################################################
This error refers to this chunk specifically in tools.py script

m = re.match('(c*)[(\d+),(\d+)]', cols[2])
if m:
start = int(m.group(2)) - 1
end = int(m.group(3))
if m.group(1): #here I change
rstrand = -1
else:
rstrand = 1
res.append([contig, name, feat_type, start, end, anticodon, rstrand])
#######################################################
Any advice for fixing this issue?
Ps: I tried using the GUI and no output for annotation work.
Thanks in advance.

annotation_files and clustal_alignment function errors

The function annotation_files has a wrong filepath for output files. I think the best workaround is replace string "temp" with the variable outdir in the def annotation_files()

The functionclustal_alignment has get_cmd("clustalw") giving an error when running clustal. A tip is replace "clustalw" with "clustalw2".

Installing pygenefinder issue

I am having issues installing pygenefinder on my Macintosh machine (python 3.7.0), would you have any suggestion to resolve the issue?

pip install pygenefinder resulted in the following errors:

ERROR: Could not find a version that satisfies the requirement pygenefinder (from versions: none)
ERROR: No matching distribution found for pygenefinder

Kind regards

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.