Comments (9)
Thanks a lot! We found 18-19% identity threshold was ideal for us.
You have been extremely helpful, thanks again for your time and for this very useful tool!
Kind regards,
Emanuele
from clinker.
Hi @EmaBoni, I haven't tried using clinker inside a Jupyter notebook before so I'm not exactly sure about that - from what you've listed there it looks like the command should be correct. Would it be possible to post the full error log from when you try to run the program inside the notebook or in the command line?
from clinker.
Hello @gamcil , thank you for your answer!
Here is the full attempt from the command line (NB: it is windows command line, not linux, might this be an issue?).
(Clinker) is my python environment created with Anaconda Navigator
`(Clinker) C:\Users\Emanuele Boni\clinker>python
Python 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:00) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import clinker
clinker
<module 'clinker' from 'C:\Users\Emanuele Boni\clinker\clinker\init.py'>
import os
os.listdir('C:\Users\Emanuele Boni\clinker\examples')
['A. alliaceus CBS 536.65.gbk', 'A. burnettii MST-FP2249.gbk', 'A. mulundensis DSM 5745.gbk', 'A. versicolor CBS 583.65.gbk', 'note.md', 'P. vexata CBS 129021.gbk']
clinker 'C:\Users\Emanuele Boni\clinker\examples\*' -p
File "", line 1
clinker 'C:\Users\Emanuele Boni\clinker\examples\*' -p
^
SyntaxError: invalid syntax
clinker 'C:\Users\Emanuele Boni\clinker\examples'+'/' -p
File "", line 1
clinker 'C:\Users\Emanuele Boni\clinker\examples'+'/' -p
^
SyntaxError: invalid syntax
clinker examples/* -p
File "", line 1
clinker examples/* -p
^
SyntaxError: invalid syntax`
NB: the '^' arrow points at the first character after clinker
from clinker.
Ah you are trying to run clinker from within the Python interactive shell, which is then recognising it as invalid syntax (since it isn't Python code). clinker should be run just from the command line itself - try exiting the Python shell and running the exact same command, e.g. clinker 'C:\Users\Emanuele Boni\clinker\examples\*' -p
and it should work.
from clinker.
This clarifies a lot, thank you!
I managed to run the pipeline on the examples (resulting image is as expected) and on my files. This is what I get:
I am a bit uncertain about the result because I expected the sequences to have much higher identity (more groups matching, higher identity percentage for the group that is correctly recognized). The alignment is done on the protein sequences, is that correct?
I will double check the gene sequences to make sure there are no errors there.
Any idea of other things that I am not considering when aligning these two files?
from clinker.
Yes the alignments are done on the protein sequences - however if they are missing, clinker will try to translate the regions corresponding to gene/CDS coordinates in the input file. Not sure what is causing the issue in your case, would you be able to upload your files?
from clinker.
Ok! Yes, protein sequences are annotate in my files.
Here are the two files that I am using:
EBoni.zip
from clinker.
Thanks a lot for your time and for your help!
from clinker.
Just had some time to have a look at this. It seems the files are read in correctly (it is picking up the AA translations just fine), but the alignments are falling below the default identity threshold (30%) and so are getting filtered out. You can lower this threshold using the -i/--identity
argument, e.g. clinker EBoni/*.gb -i 0.2 -p
. That command gives me this:
from clinker.
Related Issues (20)
- Errors in using gff and faa file
- The output result has no information HOT 4
- some issues for -mo --matrix_out parameter HOT 2
- Locus inversion showing incorrect locations
- Possible bug in cluster similarity output (-mo option)
- -gf/--gene_functions not working?
- Problem with -gf and -cm parameteres HOT 3
- try example encouter error
- Gene and species limit HOT 1
- Broken pipe error when using clinker to plot gene clusters HOT 2
- Renaming coding sequence back to gene number HOT 3
- Running clinker via spyder
- Can different domains within a gene also be applicable? HOT 2
- Can't save changes to session HOT 2
- update 0.0.28 HOT 3
- the legend HOT 4
- How to visualize a gene on a large chromosome?
- Use clinker to visualize individual exons rather than whole gene?
- ValueError: not enough values to unpack (expected 2, got 1)
- Error in clinker HTML plotting function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clinker.