Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
popsim
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SVdetection
popsim
Commits
436fcebe
Commit
436fcebe
authored
6 years ago
by
Floreal Cabanettes
Browse files
Options
Downloads
Patches
Plain Diff
Filter rules file to only add the variant lines
parent
e0bde431
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_results.py
+6
-1
6 additions, 1 deletion
build_results.py
with
6 additions
and
1 deletion
build_results.py
+
6
−
1
View file @
436fcebe
...
@@ -910,7 +910,12 @@ def init(output, vcf_files, true_vcf, rules, filtered_vcfs=None, type_v="del", o
...
@@ -910,7 +910,12 @@ def init(output, vcf_files, true_vcf, rules, filtered_vcfs=None, type_v="del", o
ipynb
=
os
.
path
.
join
(
prg_path
,
"
Summarized_results.ipynb
"
)
ipynb
=
os
.
path
.
join
(
prg_path
,
"
Summarized_results.ipynb
"
)
shutil
.
copy
(
ipynb
,
os
.
path
.
join
(
output
,
os
.
path
.
basename
(
ipynb
)))
shutil
.
copy
(
ipynb
,
os
.
path
.
join
(
output
,
os
.
path
.
basename
(
ipynb
)))
shutil
.
copy
(
rules
,
os
.
path
.
join
(
output
,
"
rules.sim
"
))
with
open
(
rules
,
"
r
"
)
as
rules_in
,
open
(
os
.
path
.
join
(
output
,
"
rules.sim
"
),
"
w
"
)
as
rules_out
:
for
line
in
rules_in
:
parts
=
line
.
rstrip
().
split
(
"
\t
"
)
if
parts
[
0
]
==
type_v
.
upper
():
rules_out
.
write
(
line
)
# Build HTML summary:
# Build HTML summary:
ipynb
=
os
.
path
.
join
(
output
,
"
Summarized_results.ipynb
"
)
ipynb
=
os
.
path
.
join
(
output
,
"
Summarized_results.ipynb
"
)
...
...
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