This file is indexed.

/usr/lib/python2.7/dist-packages/metastudentPkg/BlastWrapper.py is in metastudent 1.0.11-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
'''
Created on May 18, 2010

@author: tobiashamp
'''


class blastallParameters:
	def __init__(self):
		self.hValue = ""
		self.numberOfCPUs = 1
	
	def setBlastExePath(self, path):
		self.blastExePath = path
	
	def setOutputFilePath(self, path):
		self.outputFilePath = path
		
	def getOutputFilePath(self):
		return self.outputFilePath

	def setInputFilePath(self, path):
		self.inputFilePath = path
		
	def getBlastExePath(self):
		return self.blastExePath
	
	def getInputFilePath(self):
		return self.inputFilePath

	def setBlastDatabasePath(self, path):
		self.blastDatabasePath = path
		
	def getBlastDatabasePath(self):
		return self.blastDatabasePath

	def setEValue(self, value):
		self.eValue = value
		
	def getEValue(self):
		return self.eValue

	def setJ(self, value):
		self.j = value
		
	def getJ(self):
		return self.j
		

def createBlastPGPCommand(blastParameters):
	returnString = blastParameters.getBlastExePath()
	returnString +=	" -i " + blastParameters.getInputFilePath() + \
		" -o " + blastParameters.getOutputFilePath() + \
		" -d " + blastParameters.getBlastDatabasePath() + \
		" -e " + str(blastParameters.getEValue()) + \
		" -j " + str(blastParameters.getJ()) + \
		" 1>" + blastParameters.getOutputFilePath()+".out" + \
		" 2>" + blastParameters.getOutputFilePath()+".err"

	return returnString