Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
1993748a
Commit
1993748a
authored
17 years ago
by
Nathan Johnson
Browse files
Options
Downloads
Patches
Plain Diff
a bit more docs and fixed array name in add_xref call
parent
c0930f9c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc-scripts/probe_mapping/probe2transcript.pl
+5
-9
5 additions, 9 deletions
misc-scripts/probe_mapping/probe2transcript.pl
with
5 additions
and
9 deletions
misc-scripts/probe_mapping/probe2transcript.pl
+
5
−
9
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
.
...
...
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