Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
1993748a
Commit
1993748a
authored
Feb 12, 2008
by
Nathan Johnson
Browse files
a bit more docs and fixed array name in add_xref call
parent
c0930f9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
misc-scripts/probe_mapping/probe2transcript.pl
misc-scripts/probe_mapping/probe2transcript.pl
+5
-9
No files found.
misc-scripts/probe_mapping/probe2transcript.pl
View file @
1993748a
...
...
@@ -131,7 +131,7 @@ $delete = $force_delete if $force_delete;
delete_existing_xrefs
(
$xref_db
)
if
(
$delete
);
check_existing_and_exit
(
$oligo_db
,
$xref_db
);
#???
#Do we need this healthcheck mode now? We're doing it all anyway and fails if any tests fail
if
(
$health_check
){
print
"
Healthcheck passed
\n
";
exit
0
;
...
...
@@ -351,14 +351,9 @@ foreach my $key (keys %transcript_probeset_count) {
#This is inc'ing an undef?
$transcripts_per_probeset
{
$probeset
}
++
;
# only create xrefs for non-promiscuous probesets
#XXX
#add_xref($transcript_ids{$transcript}, $probeset, $db_entry_adaptor, $array_name_cache{$array}, $probeset_size, $hits);
#print LOG "$probeset\t$transcript\tmapped\t$probeset_size\t$hits\n";
if
(
$transcripts_per_probeset
{
$probeset
}
<=
$max_transcripts_per_probeset
)
{
add_xref
(
$transcript_ids
{
$transcript
},
$probeset
,
$db_entry_adaptor
,
$array
,
$probeset_size
,
$hits
);
add_xref
(
$transcript_ids
{
$transcript
},
$probeset
,
$db_entry_adaptor
,
$array
_name_cache
{
$array
}
,
$probeset_size
,
$hits
);
print
LOG
"
$probeset
\t
$transcript
\t
mapped
\t
$probeset_size
\t
$hits
\n
";
}
...
...
@@ -375,7 +370,8 @@ foreach my $key (keys %transcript_probeset_count) {
if
(
!
$no_triage
)
{
#Can/should we concentrate all unmapped info into one record
#Currently getting one for each probe and each probeset
#Currently getting one for each probe and each probeset?
#Or is this a problem with array association i.e. Collapse not warked properly?
$um_obj
=
new
Bio::EnsEMBL::
UnmappedObject
(
-
type
=>
'
probe2transcript
',
-
analysis
=>
$analysis
,
...
...
@@ -910,7 +906,7 @@ sub usage {
[--no_triage] Don
'
t
write
to
the
unmapped_object
/
unmapped_reason
tables
.
[
--
health_check
]
Only
do
sanity
checks
,
then
stop
.
[
--
health_check
]
Only
do
sanity
checks
,
then
stop
.
Useful
for
capthing
errors
before
nohuping
the
process
proper
.
[
--
help
]
This
text
.
...
...
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