This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $cDNA_span = shift; | |
my $chrom = shift; | |
my %est_orient; | |
$wormbase->FetchData("estorientation",\%est_orient) unless (5 < scalar keys %est_orient); | |
foreach my $EST ( keys %est_orient ) { | |
if ( exists $$cDNA_span{$EST} && defined $$cDNA_span{$EST}->[2]) { | |
my $GFF_strand = $$cDNA_span{$EST}->[2]; | |
my $read_dir = $est_orient{$EST}; | |
CASE:{ | |
($GFF_strand eq "+" and $read_dir eq "5") && do { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# removes strain objects from an ACE file based on a keyset of strains | |
# usage: | |
# remove_strains.pl -remove KEYSET_FILE -acefile STRAIN_ACE_FILE | |
use IO::File; | |
use Getopt::Long; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -e 'use File::Find;$to=shift();$from=$to-1;find(\&wa,shift());sub wa{$f=$File::Find::name;$f=~s/$from/$to/g;print "cannot find $f\n" unless -e $f}' 224 ~ftp/pub2/wormbase/WS223/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -ane 'if ($F[3] eq "S_child"){$change=744;$F[12]-=$change;$F[15]-=$change};print join(" ",@F),"\n"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////// | |
// Sequence_collection class | |
// describes an assembly | |
// holds information describing the sequences in this collection | |
//////////////////////////////////////////////////////////////////// | |
?Sequence_collection Title ?Text | |
Origin Name Text // name that the author gave it | |
Other_name ?Text //If we like this over the DB_info option? | |
Species UNIQUE ?Species |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ensembl module for Bio::EnsEMBL::Analysis::Runnable::RepeatMasker | |
# | |
# Copyright (c) 2004 Ensembl | |
# | |
=head1 NAME | |
Bio::EnsEMBL::Analysis::Runnable::RepeatMasker | |
=head1 SYNOPSIS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# | |
# convert cufflinks GTF into a Augustus hintfile | |
# | |
# seq source ep|exon|intron start stop score +/- phase grp=ID; src=E | |
my %transcripts; | |
while(<>){ | |
next unless /Cufflinks\s+exon.*transcript_id/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/software/bin/perl -w | |
# | |
# acediff.pl : an improved acediff | |
# | |
# gw3 | |
# | |
# Usage : acediff.pl [-options] | |
# | |
# Last edited by: $Author: gw3 $ | |
# Last edited on: $Date: 2011-04-26 15:49:01 $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/software/bin/perl -w | |
# | |
# acediff.pl : an improved acediff | |
# | |
# gw3 | |
# | |
# Usage : acediff.pl [-options] | |
# | |
# Last edited by: $Author: gw3 $ | |
# Last edited on: $Date: 2011-04-26 15:49:01 $ |
OlderNewer