Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OrthoFinder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
remy
OrthoFinder
Commits
06675bb2
Commit
06675bb2
authored
5 years ago
by
remy
Browse files
Options
Downloads
Patches
Plain Diff
still some bugs but nevertheless it gives some results
parent
5862116d
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
orthofinder/scripts/blast_file_processor.py
+6
-7
6 additions, 7 deletions
orthofinder/scripts/blast_file_processor.py
with
6 additions
and
7 deletions
orthofinder/scripts/blast_file_processor.py
+
6
−
7
View file @
06675bb2
...
...
@@ -138,13 +138,12 @@ def WriteNormalizedBlastFile(blastDir_list, B, iSpecies, jSpecies, sep = "_", qD
except
(
IndexError
,
ValueError
):
sys
.
stderr
.
write
(
"
\n
ERROR: Query or hit sequence ID in BLAST results file was missing or incorrectly formatted.
\n
"
)
raise
#try:
# score = float(row[11])
#except (IndexError, ValueError):
# sys.stderr.write("\nERROR: 12th field in BLAST results file line should be the bit-score for the hit\n")
# raise
newscore
=
B
[
sequence1ID
,
sequence2ID
]
row
.
append
(
newscore
)
try
:
newscore
=
B
[
sequence1ID
,
sequence2ID
]
row
.
append
(
newscore
)
except
IndexError
as
e
:
sys
.
stderr
.
write
(
"
\n
ERROR: Matrix index : %s
\n
"
%
e
)
pass
blastwriter
.
writerow
(
row
)
move
(
tempfile
.
name
,
fnNorm
)
except
Exception
:
...
...
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