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
ddf57c9e
Commit
ddf57c9e
authored
20 years ago
by
Val Curwen
Browse files
Options
Downloads
Patches
Plain Diff
More fiddles
parent
4c4d433c
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/golden_path/fin_agp2ensembl
+9
-7
9 additions, 7 deletions
misc-scripts/golden_path/fin_agp2ensembl
with
9 additions
and
7 deletions
misc-scripts/golden_path/fin_agp2ensembl
+
9
−
7
View file @
ddf57c9e
...
...
@@ -34,15 +34,14 @@ my (@agps);
my $gptype = "NCBI35";
my $raw = "e_ctg.dat";
my $agp_dir = "./fin_agp";
my $agp_prefix = "chr";
my %clone;
my %used_ctg_ids;
my @chrs = qw/
1 2 3 4 5 6 7 8 9
10
11 12 13 14 15 16 17 18 19
20
X
Y DR52 DR53 PAR MT
chr1 chr2 chr3 chr4 chr5 chr6 chr7 chr8 chr9 chr
10
chr11 chr12 chr13 chr14 chr15 chr16 chr17 chr18 chr19 chr
20
chrX chr
Y DR52 DR53 PAR
chr
MT
/;
my @chr_info;
my $chr_id = 1;
...
...
@@ -74,7 +73,7 @@ close CTG;
foreach my $chr (@chrs) {
my $agp = "$agp_dir/$
agp_prefix$
chr.agp";
my $agp = "$agp_dir/$chr.agp";
my $global_end;
my $prev_end;
...
...
@@ -93,8 +92,11 @@ foreach my $chr (@chrs) {
next if $status eq "N";
die "Unfinished seq! $_" unless $status eq "F";
die "Bad chr name" unless $chr_name eq "$agp_prefix$chr";
next unless $status eq "F";
if ($chr_name ne "$chr"){
print "Bad chr name in $agp: $chr_name\n";
next;
}
$global_end = $chr_end;
...
...
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