Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
NGS CLIA Lab
process_scripts
Commits
e5e905a0
Commit
e5e905a0
authored
Oct 19, 2020
by
Brandi Cantarel
Browse files
updates cn definitions
parent
56d7ffe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
variants/filter_cnvkit.pl
View file @
e5e905a0
...
@@ -102,8 +102,12 @@ while (my $line = <IN>) {
...
@@ -102,8 +102,12 @@ while (my $line = <IN>) {
print
CNSO
join
("
\t
",
$hash
{
chromosome
},
$hash
{
start
},
$hash
{
end
},
print
CNSO
join
("
\t
",
$hash
{
chromosome
},
$hash
{
start
},
$hash
{
end
},
$hash
{
log2
},
$hash
{
cn
}),"
\n
";
$hash
{
log2
},
$hash
{
cn
}),"
\n
";
next
if
(
$hash
{
cn
}
==
2
&&
$hash
{
cn1
}
ne
''
&&
$hash
{
cn2
}
ne
''
&&
$hash
{
cn1
}
>
0
&&
$hash
{
cn2
}
>
0
)
||
scalar
(
keys
%genes
)
<
1
;
if
(
exists
$hash
{
cn1
}
&&
exists
$hash
{
cn2
})
{
next
if
(
$hash
{
cn
}
==
2
&&
$hash
{
cn1
}
eq
''
&&
$hash
{
cn2
}
eq
'');
next
if
((
$hash
{
cn
}
==
2
&&
$hash
{
cn1
}
ne
''
&&
$hash
{
cn2
}
ne
''
&&
$hash
{
cn1
}
>
0
&&
$hash
{
cn2
}
>
0
)
||
scalar
(
keys
%genes
)
<
1
);
next
if
(
$hash
{
cn
}
==
2
&&
$hash
{
cn1
}
eq
''
&&
$hash
{
cn2
}
eq
'');
}
else
{
next
if
(
$hash
{
cn
}
==
2
||
scalar
(
keys
%genes
)
<
1
);
}
my
$abtype
=
'
cnLOH
';
my
$abtype
=
'
cnLOH
';
if
(
$hash
{
cn
}
<
2
)
{
if
(
$hash
{
cn
}
<
2
)
{
if
(
$hash
{
cn
}
<
1
)
{
if
(
$hash
{
cn
}
<
1
)
{
...
@@ -116,8 +120,10 @@ while (my $line = <IN>) {
...
@@ -116,8 +120,10 @@ while (my $line = <IN>) {
if
(
$hash
{
cn
}
>
6
)
{
if
(
$hash
{
cn
}
>
6
)
{
$abtype
=
'
amplification
';
$abtype
=
'
amplification
';
}
}
if
(
$hash
{
cn1
}
ne
''
&&
$hash
{
cn2
}
ne
''
&&
(
$hash
{
cn1
}
==
0
||
$hash
{
cn2
}
==
0
))
{
if
(
exists
$hash
{
cn1
}
&&
exists
$hash
{
cn2
})
{
$abtype
.=
'
LOH
';
if
(
$hash
{
cn1
}
ne
''
&&
$hash
{
cn2
}
ne
''
&&
(
$hash
{
cn1
}
==
0
||
$hash
{
cn2
}
==
0
))
{
$abtype
.=
'
LOH
';
}
}
}
}
else
{
}
else
{
$abtype
=
'
cnLOH
';
$abtype
=
'
cnLOH
';
...
...
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