File: script_name

package info (click to toggle)
conservation-code 20110309.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 608 kB
  • sloc: python: 512; sh: 24; makefile: 21
file content (22 lines) | stat: -rw-r--r-- 1,239 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Laszlo Kajan <lkajan@rostlab.org>
Description: change interpreter and remove extension from script
 Policy §1.4.2 Interpreter Location: 'The preferred specification for the Python interpreter is /usr/bin/python'.
 Policy §10.4 Scripts: 'the script name should not include an extension'.
Forwarded: no
--- a/score_conservation.py
+++ b/score_conservation.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 
 ################################################################################
 # score_conservation.py - Copyright Tony Capra 2007 - Last Update: 03/09/11
@@ -98,7 +98,7 @@
 
 
 def usage():
-    print """\nUSAGE:\npython score_conservation.py [options] alignfile\n\t -alignfile must be in fasta or clustal format.\n\nOPTIONS:\n\t
+    print """\nUSAGE:\nscore_conservation [options] alignfile\n\t -alignfile must be in fasta or clustal format.\n\nOPTIONS:\n\t
     -a\treference sequence. Print scores in reference to a specific sequence (ignoring gaps). Default prints the entire column. [sequence name]\n\t
     -b\tlambda for window heuristic linear combination. Default=.5 [real in [0,1]]\n
     -d\tbackground distribution file, e.g., swissprot.distribution. Default=BLOSUM62 background [filename]\n\t