Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpibr
schu
UTRPolyribosomes
Commits
b57da632
Commit
b57da632
authored
Nov 23, 2017
by
Georgi Tushev
Browse files
add supp table
parent
28292999
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
prepareRUVSeqInput.pl
0 → 100644
View file @
b57da632
#!/usr/bin/perl
use
warnings
;
use
strict
;
sub
parseSupplementary
($$);
sub
parseCountsUtrs
($$);
MAIN:
{
my
$fileSupplementary
=
shift
;
my
$fileCountsUtrs
=
shift
;
my
$fileCountsErcc
=
shift
;
my
%data
=
();
parseSupplementary
(
$fileSupplementary
,
\
%data
);
parseCountsUtrs
(
$fileCountsUtrs
,
\
%data
);
}
sub
parseSupplementary
($$)
{
my
$fileSupplementary
=
$_
[
0
];
my
$data
=
$_
[
1
];
my
$lineCounter
=
0
;
open
(
my
$fh
,
'
<
',
$fileSupplementary
)
or
die
$!
;
while
(
<
$fh
>
)
{
chomp
(
$_
);
next
if
(
$lineCounter
++
==
0
);
my
@line
=
split
("
\t
",
$_
);
$data
->
{"
supplementary
"}{
$line
[
0
]}
++
;
}
close
(
$fh
);
return
;
}
sub
parseSupplementary
($$)
{
my
$fileSupplementary
=
$_
[
0
];
my
$data
=
$_
[
1
];
my
$lineCounter
=
0
;
open
(
my
$fh
,
'
<
',
$fileSupplementary
)
or
die
$!
;
while
(
<
$fh
>
)
{
chomp
(
$_
);
next
if
(
$lineCounter
++
==
0
);
my
@line
=
split
("
\t
",
$_
);
$data
->
{"
supplementary
"}{
$line
[
0
]}
++
;
}
close
(
$fh
);
return
;
}
supplementaryTable1_12Jun2017.txt
0 → 100755
View file @
b57da632
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment