Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
baseLess
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Lannoy, Carlos de
baseLess
Commits
dad676c4
Commit
dad676c4
authored
3 years ago
by
Noordijk, Ben
Browse files
Options
Downloads
Patches
Plain Diff
Fixed duplicate species in ground_truth
parent
728eaa55
No related branches found
No related tags found
1 merge request
!3
Added data preparation, hyperparameter optimisation, benchmarking code and k-mer library visualisation
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/set_ground_truths_of_reads.py
+2
-2
2 additions, 2 deletions
tools/set_ground_truths_of_reads.py
with
2 additions
and
2 deletions
tools/set_ground_truths_of_reads.py
+
2
−
2
View file @
dad676c4
...
...
@@ -52,9 +52,9 @@ def main():
'
read id
'
,
'
species
'
,
'
species id
'
])
# Dirty fix because NZ_DS264585.1 and NZ_DS264586.1 belong to same species.
# Name is different due to scaffold so we have to change the species id
# Dirty fix because some species ID belong to same species
df
.
loc
[
df
[
'
species id
'
]
==
'
NZ_DS264585.1
'
,
'
species id
'
]
=
'
NZ_DS264586.1
'
df
.
loc
[
df
[
'
species id
'
]
==
'
CP000143.2
'
,
'
species id
'
]
=
'
CP000144.2
'
df
.
to_csv
(
args
.
out_path
,
index
=
False
)
...
...
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