Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PRESCOTT
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mustafa Tekpinar
PRESCOTT
Commits
c04a6b44
Commit
c04a6b44
authored
Jul 20, 2022
by
Mustafa Tekpinar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean tree files in Newick format produced by JET
parent
282a71e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
gemmeAnal.py
gemmeAnal.py
+9
-0
No files found.
gemmeAnal.py
View file @
c04a6b44
...
...
@@ -11,6 +11,7 @@ import re
import
math
import
subprocess
import
shutil
import
glob
...
...
@@ -201,6 +202,14 @@ def cleanTheMess(prot,bFile,fFile, chainID):
# if os.path.isfile(prot+"/"+prot+"_jet.res"):
# os.rename(prot+"/"+prot+"_jet.res",prot+"_jet.res")
# os.remove(prot+".pdb")
# Get all files with suffix nwk
treefiles
=
glob
.
glob
(
'*.nwk'
)
# Iterate over the list of files and remove individually
for
file
in
treefiles
:
os
.
remove
(
file
)
dir_name
=
prot
+
"/"
if
os
.
path
.
isdir
(
dir_name
):
for
f
in
os
.
listdir
(
dir_name
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment