09-04-2017
9 More Discussions You Might Find Interesting
1. Programming
I'm a newbie and want to learn a programming language, willy-nilly I picked python...
Should I go with 2.6.x which at first glance seems extremely well documented, or should I go with 3.0, which is new and shiny?!
I want...no...I'm going to NEED fantastic documentation or I'm going to fail... (2 Replies)
Discussion started by: guptaxpn
2 Replies
2. Shell Programming and Scripting
I starting teaching myself python and am stuck on trying to understand why I am not getting the output that I want. Long story short, I am using PDB for debugging and here my function in which I am having my issue:
import re
...
...
...
def find_all_flvs(url):
soup =... (1 Reply)
Discussion started by: metallica1973
1 Replies
3. Programming
I am planning on taking a class in Python. My choices are 2.5 or 3.0. Which version should I choose? I am getting the impression they are two separate paths.
thanks. (5 Replies)
Discussion started by: djehresmann
5 Replies
4. UNIX for Dummies Questions & Answers
Hello All,
I was looking for a solution for enabling/disabling the Capslock from the command line and came across some Python code for doing just that...
Well, in this case the code was written to ONLY turn-off Capslock but I assume there has to be a way to turn it on too.
Site where I... (0 Replies)
Discussion started by: mrm5102
0 Replies
5. Shell Programming and Scripting
#!/usr/bin/python
def genCommanString(s):
print s
abc = {
"sftp":genCommanString('f5sftp'),
"/usr/local/ssh/bin/sftp": genCommanString('f5sftp')
}
value="sftp"
xyz = abc.get(value)
Why the above coding produce 2 row output?
(i.e.
f5sftp
f5sftp)
Is it... (1 Reply)
Discussion started by: cstsang
1 Replies
6. Shell Programming and Scripting
Greetings!
After some cut-and-try, I've cobbled together the following bit of basic code:#!/usr/bin/python
import gtk
class PyApp(gtk.Window):
def __init__(self):
super(PyApp, self).__init__()
self.set_size_request(250, 250)
... (0 Replies)
Discussion started by: LinQ
0 Replies
7. Shell Programming and Scripting
Hi,
I get he values for nmval=MS1 & csval=Cluster from the properties file like below.
nmval=configProps.get("SVR_NAME")
csval=configProps.get("CLS_NAME")What should i do in the commands below so as to use the variables nmval and csval instead of manually typing MS1 and Cluster
I want to... (1 Reply)
Discussion started by: mohtashims
1 Replies
8. Programming
Hi all...
Simple yes or no answer question for the big guns with a qualifier if YES.
I can possibly do FFT for my needs in AudioScope using python.
Q: Is python now considered part of the /usr/bin or other command paths for ALL current *NIX style OSes?
IF YES which version(s) should I... (4 Replies)
Discussion started by: wisecracker
4 Replies
9. Shell Programming and Scripting
I have the following code:
#!/usr/bin/env python
mylist =
def printWithoutNewlines():
for objects in mylist:
#print(objects)
objects = objects.replace('hello', "hi")
print objects
When executed, it gives the following output:
## ./loop.py
hi... (3 Replies)
Discussion started by: SkySmart
3 Replies
LEARN ABOUT DEBIAN
hmmfetch
hmmfetch(1) HMMER Manual hmmfetch(1)
NAME
hmmfetch - retrieve profile HMM(s) from a file
SYNOPSIS
hmmfetch [options] <hmmfile> <key>
(retrieves HMM named <key>)
hmmfetch -f [options] <hmmfile> <keyfile>
(retrieves all HMMs listed in <keyfile>)
hmmfetch --index [options] <hmmfile>
(indexes <hmmfile> for fetching)
DESCRIPTION
Quickly retrieves one or more profile HMMs from an <hmmfile> (a large Pfam database, for example).
The <hmmfile> must be indexed first, using hmmfetch --index. The index is a binary file named <hmmfile>.ssi.
The default mode is to retrieve a single profile by name or accession, called the <key>. For example:
% hmmfetch Pfam-A.hmm Caudal_act
% hmmfetch Pfam-A.hmm PF00045
With the -f option, a <keyfile> containing a list of one or more keys is read instead. The first whitespace-delimited field on each non-
blank non-comment line of the <keyfile> is used as a <key>, and any remaining data on the line is ignored; this allows a variety of white-
space delimited datafiles to be used as <keyfile>s. The <keyfile> argument can be a '-' (dash) character, in which case the keyfile is
read from standard input; this allows unix ninjas to construct sophisticated invocations using pipes.
By default, the HMM is printed to standard output in HMMER3 format.
OPTIONS
-h Help; print a brief reminder of command line usage and all available options.
-f The second commandline argument is a <keyfile> instead of a single <key>. The first field on each line of the <keyfile> is used as
a retrieval <key> (an HMM name or accession). Blank lines and comment lines (that start with a # character) are ignored.
-o <f> Output HMM(s) to file <f> instead of to standard output.
-O Output HMM(s) to individual file(s) named <key> instead of standard output. With the -f option, this can result in many files being
created.
--index
Instead of retrieving one or more profiles from <hmmfile>, index the <hmmfile> for future retrievals. This creates a <hmmfile>.ssi
binary index file.
SEE ALSO
See hmmer(1) for a master man page with a list of all the individual man pages for programs in the HMMER package.
For complete documentation, see the user guide that came with your HMMER distribution (Userguide.pdf); or see the HMMER web page
(@HMMER_URL@).
COPYRIGHT
@HMMER_COPYRIGHT@
@HMMER_LICENSE@
For additional information on copyright and licensing, see the file called COPYRIGHT in your HMMER source distribution, or see the HMMER
web page (@HMMER_URL@).
AUTHOR
Eddy/Rivas Laboratory
Janelia Farm Research Campus
19700 Helix Drive
Ashburn VA 20147 USA
http://eddylab.org
HMMER
@HMMER_VERSION@ @HMMER_DATE@ hmmfetch(1)