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
f1e1197a
Commit
f1e1197a
authored
13 years ago
by
Andreas Kusalananda Kähäri
Browse files
Options
Downloads
Patches
Plain Diff
Updated docs.
parent
2ce6d538
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/generate_stable_ids.pl
+19
-19
19 additions, 19 deletions
misc-scripts/generate_stable_ids.pl
with
19 additions
and
19 deletions
misc-scripts/generate_stable_ids.pl
+
19
−
19
View file @
f1e1197a
...
...
@@ -261,39 +261,39 @@ sub usage {
If the -types argument is ommitted, stable IDs are generated for all
types (gene,transcript,translation,exon).
Assigns stable IDs to objects that currently have none.
S
tarting
stable ID is found by incrementing the highest current stable ID
for
that type *or* by using -start argument.
The stable_ids are
written to STDOUT. If no -start option is used the script tries to
find the latest given stable_id for each object by looking up
the
<OBJ>_stable_id tables in the database and the gene_archive table
(only for gene, translation and transcript, not for
exon stable IDs!)
Assigns stable IDs to objects that currently have none.
The s
tarting
stable ID is found by incrementing the highest current stable ID
for
that type *or* by using -start argument.
If no -start option is used
the script tries to find the latest given stable_id for each object
by looking up the <OBJ>_stable_id tables in the database and
the
gene_archive table (only for gene, translation and transcript, not for
exon stable IDs!)
Note:
The -start option requires to not submit an initial stable
_id
without
any
G
ene
/T
ranscript
/Exon/T
ranslation
ending, like
The -start option requires to not submit an initial stable
ID
without
any
g
ene
, t
ranscript
, t
ranslation
or exon specifier, as in
ENSMUS000001 (not ENSMUSG0001, then you end up with stable
-id
s like
ENSMUSGG001 ENSMUSGT0001.)
ENSMUS000001 (not ENSMUSG0001, then you end up with stable
ID
s like
ENSMUSGG001
,
ENSMUSGT0001.)
Again, the parameter to -start should be the stable ID you wish to
start from without the Gene/Transcript/Translation/Exon specifier.
Again, the parameter to -start should be the stable ID you wish
to start from without the gene, transcript, translation or exon
specifier.
Examples:
- to generate only
E
xon
-
stable
-id
s starting with 223 for
M
ouse, use
- to generate only
e
xon
stable
ID
s starting with 223 for
m
ouse, use
-start ENSMUS222 -types exon
- to generate Exon-and Gene-stable-ids starting with 223 for Mouse,
- to generate exon and gene stable IDs, starting with 223 for mouse,
use
-start ENSMUS222 -types exon,gene
- to generate
exon,transcript,translation and gene-stable-ids for
Human starting, which all start
with ID 666 use
- to generate
all types of stable IDs for human, which all start
with ID 666 use
-start ENS665
...
...
@@ -305,7 +305,7 @@ sub usage {
-start ENSNEW0 <or>
-start ENSNEW00000000
P
roduces SQL which can be run against the target database.
The script p
roduces SQL which can be run against the target database.
USAGE_END
}
## end sub usage
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