Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
atacseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BICF
Astrocyte
atacseq_analysis
Commits
7022e417
Commit
7022e417
authored
5 years ago
by
Holly Ruess
Browse files
Options
Downloads
Patches
Plain Diff
fix pool and pseudo
parent
fd1e0176
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!12
Resolve "Fix Pool and Pseudoreps"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workflow/scripts/xcor.py
+1
-1
1 addition, 1 deletion
workflow/scripts/xcor.py
workflow/tests/test_pool_and_psuedoreplicate.py
+11
-4
11 additions, 4 deletions
workflow/tests/test_pool_and_psuedoreplicate.py
with
12 additions
and
5 deletions
workflow/scripts/xcor.py
+
1
−
1
View file @
7022e417
...
...
@@ -102,7 +102,7 @@ def xcor(tag, paired):
# Subsample tagAlign file
number_reads
=
15000000
subsampled_tag_filename
=
\
tag_basename
+
"
.%d.tagAlign.gz
"
%
(
num
R
eads
/
1000000
)
tag_basename
+
"
.%d.tagAlign.gz
"
%
(
num
ber_r
eads
/
1000000
)
steps
=
[
'
zcat %s
'
%
(
tag
),
...
...
This diff is collapsed.
Click to expand it.
workflow/tests/test_pool_and_psuedoreplicate.py
+
11
−
4
View file @
7022e417
...
...
@@ -41,15 +41,22 @@ def test_check_replicates_single(design_experiment_2):
assert
no_reps
==
1
@pytest.mark.in
tegratio
n
def
test_pool_and_psuedoreplicate_single
_
end
():
@pytest.mark.
s
in
gleend_huma
n
def
test_pool_and_psuedoreplicate_singleend
_human
():
design_file
=
os
.
path
.
join
(
test_output_path
,
'
ENCSR265ZXX_ppr.tsv
'
)
assert
os
.
path
.
exists
(
design_file
)
design_df
=
pd
.
read_csv
(
design_file
,
sep
=
"
\t
"
)
assert
design_df
.
shape
[
0
]
==
6
@pytest.mark.
integration
def
test_experiment_design_paired
_
end
():
@pytest.mark.
pairedend_mouse
def
test_experiment_design_pairedend
_mouse
():
# Do the same thing for paired end data
pass
@pytest.mark.pairedend_mouse
def
test_pool_and_psuedoreplicate_pairedend_mouse
():
design_file
=
os
.
path
.
join
(
test_output_path
,
'
ENCSR451NAE_ppr.tsv
'
)
assert
os
.
path
.
exists
(
design_file
)
design_df
=
pd
.
read_csv
(
design_file
,
sep
=
"
\t
"
)
assert
design_df
.
shape
[
0
]
==
5
This diff is collapsed.
Click to expand it.
Preview
0%
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