Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panacota
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
082ea9a6
Commit
082ea9a6
authored
4 years ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
change str format
parent
7e6447e8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
PanACoTA/align_module/get_seqs.py
+1
-2
1 addition, 2 deletions
PanACoTA/align_module/get_seqs.py
with
1 addition
and
2 deletions
PanACoTA/align_module/get_seqs.py
+
1
−
2
View file @
082ea9a6
...
@@ -90,7 +90,7 @@ def get_all_seqs(all_genomes, dname, dbpath, listdir, aldir, all_fams, quiet):
...
@@ -90,7 +90,7 @@ def get_all_seqs(all_genomes, dname, dbpath, listdir, aldir, all_fams, quiet):
for
genome
in
all_genomes
:
for
genome
in
all_genomes
:
ge_gen
=
os
.
path
.
join
(
listdir
,
dname
+
"
-getEntry_gen_
"
+
genome
+
"
.txt
"
)
ge_gen
=
os
.
path
.
join
(
listdir
,
dname
+
"
-getEntry_gen_
"
+
genome
+
"
.txt
"
)
ge_prt
=
os
.
path
.
join
(
listdir
,
dname
+
"
-getEntry_prt_
"
+
genome
+
"
.txt
"
)
ge_prt
=
os
.
path
.
join
(
listdir
,
dname
+
"
-getEntry_prt_
"
+
genome
+
"
.txt
"
)
logger
.
details
(
"
Extracting proteins and genes from {
}
"
.
format
(
genome
)
)
logger
.
details
(
f
"
Extracting proteins and genes from
{
genome
}
"
)
prtdb
=
os
.
path
.
join
(
dbpath
,
"
Proteins
"
,
genome
+
"
.prt
"
)
prtdb
=
os
.
path
.
join
(
dbpath
,
"
Proteins
"
,
genome
+
"
.prt
"
)
gendb
=
os
.
path
.
join
(
dbpath
,
"
Genes
"
,
genome
+
"
.gen
"
)
gendb
=
os
.
path
.
join
(
dbpath
,
"
Genes
"
,
genome
+
"
.gen
"
)
get_genome_seqs
(
prtdb
,
ge_prt
,
files_todo
)
get_genome_seqs
(
prtdb
,
ge_prt
,
files_todo
)
...
@@ -254,7 +254,6 @@ def extract_sequences(to_extract, fasf, files_todo=None, outf=None):
...
@@ -254,7 +254,6 @@ def extract_sequences(to_extract, fasf, files_todo=None, outf=None):
files_todo
=
frozenset
(
files_todo
)
files_todo
=
frozenset
(
files_todo
)
if
type
(
to_extract
)
==
list
:
if
type
(
to_extract
)
==
list
:
to_extract
=
frozenset
(
to_extract
)
to_extract
=
frozenset
(
to_extract
)
# State machine variables
# State machine variables
previous_fp
=
None
previous_fp
=
None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment