Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
EPD Web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EPD
EPD Web
Commits
691e045e
Commit
691e045e
authored
Apr 19, 2023
by
Sebastien Moretti
Browse files
Options
Downloads
Patches
Plain Diff
Fix paths
parent
6dce6ee5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
cgi-bin/EPD2NICE.pl
+9
-9
9 additions, 9 deletions
cgi-bin/EPD2NICE.pl
cgi-bin/epdTxt2HTML.pl
+6
-6
6 additions, 6 deletions
cgi-bin/epdTxt2HTML.pl
with
15 additions
and
15 deletions
cgi-bin/EPD2NICE.pl
+
9
−
9
View file @
691e045e
...
...
@@ -423,16 +423,16 @@ while (<RECORD>)
# determine if link to NCBI Genome Map possible
if
(
$taxID
{
$OS1
}){
# determine latest BED file for this organism
open
(
BED
,
"
ls -t /
db
/ftp/epd/BED | grep
$assemb
{
$OS1
} |
")
or
warn
("
error determining BED: $!
\n
");
#print "ls -t /
db
/ftp/epd/BED | grep $assemb{$OS1} |";
open
(
BED
,
"
ls -t /
home/local
/ftp/epd/BED | grep
$assemb
{
$OS1
} |
")
or
warn
("
error determining BED: $!
\n
");
#print "ls -t /
home/local
/ftp/epd/BED | grep $assemb{$OS1} |";
my
$BED
=<
BED
>
;
close
(
BED
);
my
$nBED
=
(
split
(
/\n/
,
$BED
))[
0
];
#print "my bed = $nBED";
if
(
$nBED
ne
''){
# grep BED file to determine position
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
db
/ftp/epd/BED/
$nBED
|
")
or
warn
("
error opening grep: $!
\n
");
#print "grep \$\'\t$ID\t\' /
db
/ftp/epd/BED/$nBED |";
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
home/local
/ftp/epd/BED/
$nBED
|
")
or
warn
("
error opening grep: $!
\n
");
#print "grep \$\'\t$ID\t\' /
home/local
/ftp/epd/BED/$nBED |";
my
$test
=<
POS
>
;
close
(
POS
);
if
((
split
(
/\n/
,
$test
))[
0
]){
...
...
@@ -458,8 +458,8 @@ ALT: print "\t\t\t\t\t<td bgcolor\=\"\#FFFFCC\"><a href=\"$URLs{GENOME}$GE_S
}
# determine if links to Genome Browsers possible
if
(
$ENSEMBL
{
$OS1
}){
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
db
/ftp/epd/BED/
$BEDE
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
#print "grep \$\'\t$ID\t\' /
db
/ftp/epd/BED/$BEDE{$OS1}";
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
home/local
/ftp/epd/BED/
$BEDE
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
#print "grep \$\'\t$ID\t\' /
home/local
/ftp/epd/BED/$BEDE{$OS1}";
my
$test
=<
POS
>
;
close
(
POS
);
if
((
split
(
/\n/
,
$test
))[
0
]){
...
...
@@ -473,7 +473,7 @@ ALT: print "\t\t\t\t\t<td bgcolor\=\"\#FFFFCC\"><a href=\"$URLs{GENOME}$GE_S
}
}
if
(
$UCSC
{
$OS1
}){
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
db
/ftp/epd/BED/
$BEDU
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
home/local
/ftp/epd/BED/
$BEDU
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
my
$test
=<
POS
>
;
close
(
POS
);
if
((
split
(
/\n/
,
$test
))[
0
]){
...
...
@@ -487,7 +487,7 @@ ALT: print "\t\t\t\t\t<td bgcolor\=\"\#FFFFCC\"><a href=\"$URLs{GENOME}$GE_S
}
}
if
(
$PlantGDB
{
$OS1
}){
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
db
/ftp/epd/BED/
$BEDP
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
open
(
POS
,
"
grep
\$\
'
\t
$ID
\t\
' /
home/local
/ftp/epd/BED/
$BEDP
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
my
$test
=<
POS
>
;
close
(
POS
);
if
((
split
(
/\n/
,
$test
))[
0
]){
...
...
@@ -505,7 +505,7 @@ ALT: print "\t\t\t\t\t<td bgcolor\=\"\#FFFFCC\"><a href=\"$URLs{GENOME}$GE_S
if
(
$OS1
eq
'
Homo sapiens
')
{
## grep old BED file to determine position +/-200bp # remove once HapMap updated to NCBI36
# open(POS, "grep \$\'\t$ID\t\' /
db
/ftp/epd/BED/$BEDP{$OS1} |") or warn ("error opening epd85_HS_NCBI35.BED: $!\n");
# open(POS, "grep \$\'\t$ID\t\' /
home/local
/ftp/epd/BED/$BEDP{$OS1} |") or warn ("error opening epd85_HS_NCBI35.BED: $!\n");
# my $test=<POS>;
# close(POS);
# my ($chro, $gpos);
...
...
This diff is collapsed.
Click to expand it.
cgi-bin/epdTxt2HTML.pl
+
6
−
6
View file @
691e045e
...
...
@@ -84,13 +84,13 @@ elsif (/^DR GENOME/)
# determine if link to NCBI Genome Map possible
if
(
$taxID
{
$OS1
}){
# determine latest BED file for this organism (to retrieve chromosome number!)
open
(
BED
,
"
ls -t /
db
/ftp/epd/BED|grep
$assemb
{
$OS1
} |
")
or
warn
("
error determining BED: $!
\n
");
open
(
BED
,
"
ls -t /
home/local
/ftp/epd/BED|grep
$assemb
{
$OS1
} |
")
or
warn
("
error determining BED: $!
\n
");
my
$BED
=<
BED
>
;
close
(
BED
);
my
$nBED
=
(
split
(
/\n/
,
$BED
))[
0
];
if
(
$nBED
ne
''){
# grep BED file to determine position
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
db
/ftp/epd/BED/
$nBED
|
")
or
warn
("
error opening grep: $!
\n
");
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
home/local
/ftp/epd/BED/
$nBED
|
")
or
warn
("
error opening grep: $!
\n
");
my
$test
=<
POS
>
;
close
(
POS
);
if
((
split
(
/\n/
,
$test
))[
0
]){
...
...
@@ -116,7 +116,7 @@ ALT: print "DR GENOME\; <a href\=\"$URLs{GENOME}$sv\">$sv<\/a>$suite [";
}
# determine if links to Genome Browsers possible
if
(
$ENSEMBL
{
$OS1
}){
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
db
/ftp/epd/BED/
$BEDE
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
home/local
/ftp/epd/BED/
$BEDE
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
my
@test
=<
POS
>
;
close
(
POS
);
if
(
$test
[
0
]){
...
...
@@ -130,7 +130,7 @@ ALT: print "DR GENOME\; <a href\=\"$URLs{GENOME}$sv\">$sv<\/a>$suite [";
}
}
if
(
$UCSC
{
$OS1
}){
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
db
/ftp/epd/BED/
$BEDU
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
home/local
/ftp/epd/BED/
$BEDU
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
my
@test
=<
POS
>
;
close
(
POS
);
if
(
$test
[
0
]){
...
...
@@ -146,7 +146,7 @@ ALT: print "DR GENOME\; <a href\=\"$URLs{GENOME}$sv\">$sv<\/a>$suite [";
}
}
if
(
$PlantGDB
{
$OS1
}){
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
db
/ftp/epd/BED/
$BEDP
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
open
(
POS
,
"
grep
\
'
\t
$gID
\t\
' /
home/local
/ftp/epd/BED/
$BEDP
{
$OS1
} |
")
or
warn
("
error opening grep: $!
\n
");
my
$test
=<
POS
>
;
close
(
POS
);
if
((
split
(
/\n/
,
$test
))[
0
]){
...
...
@@ -159,7 +159,7 @@ ALT: print "DR GENOME\; <a href\=\"$URLs{GENOME}$sv\">$sv<\/a>$suite [";
}
if
(
$OS1
eq
'
Homo sapiens
')
{
## grep old BED file to determine position +/-200bp # remove once HapMap updated to NCBI36
# open(POS, "grep \'\t$gID\t\' /
db
/ftp/epd/BED/epd85_HS_NCBI35.BED |") or warn ("error opening epd85_HS_NCBI35.BED: $!\n");
# open(POS, "grep \'\t$gID\t\' /
home/local
/ftp/epd/BED/epd85_HS_NCBI35.BED |") or warn ("error opening epd85_HS_NCBI35.BED: $!\n");
# my @test=<POS>;
# close(POS);
# if ($test[0]){
...
...
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