Zulko

Results 184 comments of Zulko

I haven't tested it but you could try with ``SeqIO.parse()``, like this: ``` from Bio import SeqIO from dna_features_viewer import BiopythonTranslator translator = BiopythonTranslator() graphic_records = [ translator.translate_record(record) for record...

I am not sure I understand. Can you please explain from the beginning what you are trying to achieve ?

Still not clear sorry - I take it that what you are trying to do would be obvious for people from the same field, but in my case I cant...

There is no way right now but that's a nice suggestion, you could imagine a `squash_empty_regions_over=5000` which would re-coordinate the features while keeping the x tick labels correct, but it...

One way is to redefine `compute_feature_label` like in the last example in the Readme. Here is the minimal version: ```python from dna_features_viewer import BiopythonTranslator class MyCustomTranslator(BiopythonTranslator): def compute_feature_label(self, feature): #...

The `font.style='italic'` is part of the fontdict, which you can customize separately for each feature in DNA Features Viewer. I don't know the use case here but something like this...

Hi, there is no official way to cite this library now. A simple way is to refer to it as "the *DNA Features Viewer* Python library" and give the source...

There is also Bokeh support in the DNA Features Viewer, which provides some interactive plots, although the features are limited. It basically uses the matplotlib plot to understand the vertical...

What is your matplotlib version? ``` import matplotlib print (matplotlib.__version__) ```

Hmmm, same version I have on my machine, and I don't get any error. Try adding this at the top of your script: ``` import matplotlib matplotlib.use('agg') ```