I am using Alphafold for protein modeling using this link:
https://colab.research.google.com/github/sokrypton/ColabFold/blob/main/AlphaFold2.ipynb
recently, it gives me the output as PNG, and JSON files! how can I fix that?
here is a photo of an output
photo for output files
I am trying to get the protein models in PDB files
Related
I'm using rst2pdf to collect several images (named A1.png, A2.png, ... etc) from images folder into one pdf file.
to include one image I write the following in file.txt
.. image:: images/A1.png
then run the following in Linux terminal to convert to pdf
cat file.txt | rst2pdf -o file.pdf
is there a way to include all images at once using the name pattern, something like "images/*.png"?
Thank you
I'm not sure if I quite understand what you are trying to do, do you want to convert your images into PDFs? For that I recommend you could try ImageMagick's convert tool https://imagemagick.org/index.php
If you need to include all images in one PDF, then create an rst file with an image directive for each of the images to include, and rst2pdf will produce a PDF with all the images (or any other restructuredtext content) in it.
Objective:
To save a bi-level image to file as Array{Gray{Bool},2}, but not of type Array{Gray{Normed{UInt8,8}},2}.
It is understood from https://github.com/JuliaIO/FileIO.jl, that new formats for loading from and saving to file can be defined. I am new to image processing.
Please guide me in adding binary image format to FileIO to load from and save to file.
I'm trying to decrease the size of my static library libfoo.a (compiling with avr-g++). When I call avr-strip on the library, I get an error
avr-strip libfoo.a
avr-strip: Unable to recognise the format of the input file `libfoo.a(bar0.cpp.o)'
I also tried this with strip, and get a different result:
strip libfoo.a
strip: Unable to recognise the format of the input file `libfoo.a(bar0.cpp.o)'
strip: Unable to recognise the format of the input file `libfoo.a(bar1.cpp.o)'
strip: Unable to recognise the format of the input file `libfoo.a(bar2.cpp.o)'
strip: Unable to recognise the format of the input file `libgfoo.a(bar3.cpp.o)'
The bar.cpp files are the sources of my library.
I found a similar question for arm suggesting to use an arm version of strip. This isn't really helpful for me because I'm already using avr-strip for my avr library.
What could I do to solve this problem? Why doesn't avr-strip recognise one object in particular when strip recognises none on them?
In my Qt application I am conducting some network tests. I have to create a report according to the test output. So I need to create the report in pdf format.
Can anybody please let me know how I can put my test results in a pdf file? My result contains graphs using the Qwt library.
this code outputs pdf from html:
QTextDocument doc;
doc.setHtml("<h1>hello, I'm an head</h1>");
QPrinter printer;
printer.setOutputFileName("c:\\temp\\file.pdf");
printer.setOutputFormat(QPrinter::PdfFormat);
doc.print(&printer);
printer.newPage();
I guess you can generate an html wrapper for your img and quickly print your image. Otherwise you might copy the image directly on the printer, since it is a paint device in a similar fashion
QPrinter printer;
QPainter painter(&printer);
printer.setOutputFileName("c:\\temp\\file.pdf");
printer.setOutputFormat(QPrinter::PdfFormat);
painter.drawImage(QRect(0,0,100,100), <QImage loaded from your file>);
printer.newPage();
I am looking for a script that will go through ~75,000 SWF files that we have, will decompile each and find all the Shapes/Elements which size is greater than x.
The output should look smthng like:
SWF Filename "SWF Path" "SWF overall Size" "Element Name" "Element Size"....
Does anybody know of a software that might be able to handle that task?
How do decompile scripts work ? would it be easy to write something to handle the above task?
Thanks
Library for swf parsing: as3swf
SWF format reference: version 10
You'll need to know SWF format basics and shapes/frames definitions. Make an AIR app that will read files and parse them. Surprisingly, ActionScript is probably best way to parse SWF.
There's a .NET based parser called SWFModeller that forms part of the Swiffotron project. It would be able to parse and then inspect the shapes in the SWF.