Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
metagWGS
Commits
60e31ed9
Commit
60e31ed9
authored
Jan 17, 2022
by
Jean Mainguy
Browse files
take all selected hits to affiliate contigs
parent
112c29c8
Pipeline
#48112
skipped with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/aln2taxaffi.py
View file @
60e31ed9
...
...
@@ -501,9 +501,8 @@ def main():
logging
.
debug
(
f
'PROTEIN
{
consensual_protein_taxid
}
,
{
taxid2rankedlineage
[
consensual_protein_taxid
]
}
'
)
# manage contig affiliation
best_hit
=
[
sorted_hits
[
0
]]
protein_collate_hits
=
collate_protein_hits
(
best
_hit
,
main_ranks
,
taxid2rankedlineage
,
accession2taxid
)
sorted
_hit
s
,
main_ranks
,
taxid2rankedlineage
,
accession2taxid
)
add_collate_hits
(
contig_collate_hits
,
protein_collate_hits
)
...
...
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