/usr/share/ray/scripts/NCBI-Taxonomy/getName.py is in ray-extra 2.3.0-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/usr/bin/python
#>gi|148243635|ref|NC_009467.1| Acidiphilium cryptum JF-5 plasmid pACRY01, complete sequence
import sys
file=sys.argv[1]
tokens=file.split('/')
tokens2=tokens[1].split("_uid")
name=tokens2[0].strip()
print name
|