Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
PathoLive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Simon H. Tausch
PathoLive
Commits
795c6d5d
Commit
795c6d5d
authored
7 years ago
by
Simon H. Tausch
Browse files
Options
Downloads
Patches
Plain Diff
bamfile parser skips non-unique reads.
parent
c511bcf3
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
HiLiveViral.py
+8
-10
8 additions, 10 deletions
HiLiveViral.py
HiLiveViral_uniquereads.py
+524
-0
524 additions, 0 deletions
HiLiveViral_uniquereads.py
with
532 additions
and
10 deletions
HiLiveViral.py
+
8
−
10
View file @
795c6d5d
...
...
@@ -419,6 +419,13 @@ def main():
os
.
makedirs
(
os
.
path
.
join
(
arguments
.
resultfolder
))
cyclelist
=
sorted
(
set
([
int
(
x
)
for
x
in
arguments
.
cycles
]))
if
not
arguments
.
tiles
:
print
(
'
detecting tiles
'
)
arguments
.
tiles
=
detect_tiles
(
arguments
.
bcdir
)
if
not
arguments
.
lanes
:
print
(
'
detecting lanes
'
)
arguments
.
lanes
=
detect_lanes
(
arguments
.
bcdir
)
if
not
arguments
.
skip_mapping
:
# detect tiles to map
while
not
os
.
path
.
isdir
(
os
.
path
.
join
(
arguments
.
bcdir
,
'
L00
'
+
str
(
arguments
.
lanes
[
0
]),
...
...
@@ -426,12 +433,7 @@ def main():
print
(
'
waiting for first cycle to finish
'
)
time
.
sleep
(
30
)
if
not
arguments
.
tiles
:
print
(
'
detecting tiles
'
)
arguments
.
tiles
=
detect_tiles
(
arguments
.
bcdir
)
if
not
arguments
.
lanes
:
print
(
'
detecting lanes
'
)
arguments
.
lanes
=
detect_lanes
(
arguments
.
bcdir
)
# run hilive
print
(
'
starting hilive
'
)
...
...
@@ -477,8 +479,6 @@ def main():
shutil
.
rmtree
(
os
.
path
.
join
(
arguments
.
resultfolder
,
'
output_cycle{}
'
.
format
(
cycle
)))
copy_tree_structure
(
os
.
path
.
join
(
program_path
,
'
prelim_data
'
),
os
.
path
.
join
(
arguments
.
resultfolder
,
'
output_cycle{}
'
.
format
(
cycle
)))
print
(
time
.
time
()
-
start
)
start
=
time
.
time
()
# generate tree
print
(
'
writing data for tree
'
)
...
...
@@ -507,8 +507,6 @@ def main():
with
multiprocessing
.
Pool
(
processes
=
int
(
arguments
.
threads
))
as
pool
:
pool
.
map
(
coverage_plot
,
worker_args
)
print
(
time
.
time
()
-
start
)
if
__name__
==
'
__main__
'
:
main
()
This diff is collapsed.
Click to expand it.
HiLiveViral_uniquereads.py
0 → 100644
+
524
−
0
View file @
795c6d5d
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