I already installed embassy-phylipnew in my system. And I'm figuring out how to use it in python. Bad thing that there's no documentation I can find.
Does anyone know how to use it? I'm trying to use this to perform Phylip's dnadist and neighbor in commandline.
There is documentation:
http://emboss.sourceforge.net/apps/cvs/embassy/phylipnew/
If you want to use it from python you'll have to use a command line interface like the subprocess module. Biopython makes it easy to read the fneighbor output format (Newick) with the code at Bio.Phylo.
Related
I remember seeing an article or example about custom command line in dart, but I can't find the example that I saw.
I want to create an application that looks like a terminal but is actually a full application.
If you know where this custom command line example is, or can provide your own example, that would be greatly appreciated.
Basically, I want to create my own "Powershell" application, but in dart.
The documentation for command line apps should give you everything you need to get started.
I am trying to send some custom metrics(outputs a json) to InfluxDB, are there any plugins or sample scripts that I can use to convert to Line protocol?
Please check https://www.npmjs.com/package/json-to-line-protocol .
You didn't mention about language you want to use to achieve this task so I propose using Node.js with above package that can be easily installed via NPM
#edit
Oh now I saw the tag python ... sorry :)
Anyway, as I see it's also easy to find sth for python
Did you check https://github.com/influxdata/influxdb-python ?
I wrote a driver on linux, now i want to port it to freeRTOS, here i am getting trouble.
such as file handling API like fseek, opendir, readdir, fopen, fwrite, ftell how to find alternate in freeRTOS.
Take a look at this: FreeRTOS+IO.
But as you are referring to opendir(), readdir, etc, i suppose you need a File System library, and if it's the case, this is an excellent one : FatFs.
Should not be difficult to make FatFs work with FreeRTOS+IO.
I am trying to use the file:open(....) function in erlang but it doesn't seem to work. I keep getting an {error, eio} exception.
Ive looked into it in the erlang documentation and all i have found is that it is the posix error for input/output... go figure.
The file name im outputting in is in the formation of "C:/directory/file.txt"
Im not sure if this has something to do with it.
Is there anyway i can make erlang give me a more specific explanation to what is wrong?
Thanks,
Jack
Unfortunately I do not know of a way to find out more without peeking inside the Erlang/VM.
If you look in the windows erlang source code there are a bunch of different errors which could cause en eio error. You can find a list of them here. In order to figure out which specific one it is, I would attach with windbg and step through the code as instrumenting and recompiling it on windows is a pain.
You might also be able to use something like Process Monitor to find out which system calls are being made and what they return.
I'd like to utilize an etherpad interface on my website. Two questions:
1) is there any site with an etherpad api that I could just call remotely?
2) if not, how much trouble is it to install scala and have the two run concurrently?
Thanks
Check out http://piratepad.net and http://ietherpad.com
And you can embed those etherpad instances using a simple iframe as suggested here: http://etherpad.com/ep/blog/posts/embedding-etherpad
There doesn't seem to be a proper API yet for more robust interactions.
The original etherpad.com has now gone away but at that link there is a list of clones.
The instructions for embedding etherpads seems to have gone away with the rest of etherpad.com but I believe it's as simple as this:
<div id="ep">
<iframe src="http://etherpad.com/foo?fullScreen=1"></iframe>
</div>
Replace "etherpad.com" with whatever clone you're using, "foo" with the name of your pad, and you may or may not want to change that fullScreen=1 to fullScreen=0 (or leave it off altogether).
Installing scala might mean a few things:
Installing the SDK (i.e. scalac)
Installing the runtime
Assuming you mean the runtime, scala runs entirely on the Java Virtual Machine (JVM) so assuming you have 1.5+ JVM installed, you can run scala programs on it easily (Scala just compiles down to bytecode, after all). All a scala program requires is a few JARs on the classpath (scala-library and scala-compiler)
Now there is a better solution Etherpad Lite it is easily installable and embedable. See http://etherpad.org