Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
variant_germline
Manage
Activity
Members
Labels
Plan
Issues
0
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
variant_germline
Commits
eab64372
"git@git.biohpc.swmed.edu:gudmap_rbk/rna-seq.git" did not exist on "adf2b8be72b73d1c3a9ce4358577207f095c1245"
Commit
eab64372
authored
7 years ago
by
Brandi Cantarel
Browse files
Options
Downloads
Patches
Plain Diff
removing somatic file
parent
fd3d529f
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sequenceqc_somatic.pl
+0
-48
0 additions, 48 deletions
sequenceqc_somatic.pl
with
0 additions
and
48 deletions
sequenceqc_somatic.pl
deleted
100755 → 0
+
0
−
48
View file @
fd3d529f
#!/usr/bin/perl -w
#uploadqc.pl
use
Getopt::
Long
qw(:config no_ignore_case no_auto_abbrev)
;
my
%opt
=
();
my
$results
=
GetOptions
(
\
%opt
,'
refdir|r=s
','
input|i=s
','
output|o=s
','
help|h
');
open
MATE
,
"
<
$opt
{input}
"
or
die
$!
;
### Begin File Information ###
my
@stats
=
stat
("
$opt
{input}
");
my
(
$day
,
$month
,
$year
)
=
(
localtime
(
$stats
[
9
]))[
3
,
4
,
5
];
$year
+=
1900
;
$month
++
;
$date
=
join
("
-
",
$year
,
sprintf
("
%02s
",
$month
),
sprintf
("
%02s
",
$day
));
$fileowner
=
'
s
'
.
$stats
[
4
];
$fileowner
=
$fileowner
;
### End File Information ###
### Begin Version Information ###
my
$source
=
`
zgrep '#'
$opt
{refdir}
\
/cosmic.vcf.gz |grep source
`;
my
$cosmic_ref
=
(
split
(
/=/
,
$source
))[
1
];
chomp
(
$cosmic_ref
);
my
$dbsnp_source
=
`
zgrep '#'
$opt
{refdir}
\
/dbSnp.vcf.gz |grep dbSNP_BUILD_ID
`;
my
$dbsnp_ref
=
(
split
(
/=/
,
$dbsnp_source
))[
1
];
chomp
(
$dbsnp_ref
);
my
$gen_ref
=
(
split
(
/\//
,
$opt
{
refdir
}))[
-
1
];
my
$gittag
=
`
cd /project/PHG/PHG_Clinical/clinseq_workflows;git describe --abbrev=0 --tags
`;
chomp
$gittag
;
### End Version Information ###
while
(
my
$line
=
<
MATE
>
)
{
chomp
(
$line
);
my
(
$sam1
,
$pf
,
$sam2
,
$corr
,
$depth
)
=
split
(
/\t/
,
$line
);
$sam1
=~
s/\.vcf//g
;
$sam2
=~
s/\.vcf//g
;
open
OUT
,
"
>
$opt
{output}
"
or
die
$!
;
my
$status
=
'
PASS
';
$status
=
'
FAIL
'
if
(
$pf
eq
'
unmatched
');
print
OUT
join
("
\n
","
Sample_1
\t
"
.
$sam1
,"
Sample_2
\t
"
.
$sam2
,"
Correlation
\t
"
.
$corr
,
"
Depth
\t
"
.
$depth
,"
Status
\t
"
.
$status
,"
Somatic_Date
\t
"
.
$date
,
"
File_Owner
\t
"
.
$fileowner
,"
Workflow_Version
\t
"
.
$gittag
,
"
Cosmic_Reference
\t
"
.
$cosmic_ref
,"
dbSnp_Reference
\t
"
.
$dbsnp_ref
,
"
Genome_Reference
\t
"
.
$gen_ref
),"
\n
";
}
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