PFB2013PFB2013 | Programming for Biology @ CSHL Programming for Biology @ CSHL Fri, 01 Nov 2013 18:09:32 +0000 en-US hourly 1 http://wordpress.org/?v=3.6.1 BioPerl Lecture Scripts bioperllecturescripts/ bioperllecturescripts/#comments Tue, 29 Oct 2013 14:26:35 +0000 Sofia Robb ?p=1266
  • inFasta_doStuff_outFasta.pl
  • inFasta_loop.pl
  • convert_genbank2fasta.pl
  • createSeqOnFly.pl
  • inFasta_outGenBank.pl
  • local_seq_query.pl
  • multi_align_convert.pl
  • getSeq_genbank.pl
  • get_annot_from_genbank.pl
  • blast_parser_intro.pl
  • sample_blast_parser.pl
  • sample_blast_parser_1.pl
  • sample_blast_parser_2.pl
  • ]]>
    bioperllecturescripts/feed/ 0
    Problem Set: Perl X: Solutions problem-set-perl-x-solutions/ problem-set-perl-x-solutions/#comments Thu, 24 Oct 2013 23:40:18 +0000 Jessen Bredeson ?p=1213 Question 1-2:
    Perl_X.Q2.pl (Jessen)

    Question 3:
    Perl_X.Q3.pl (Jessen)

    Question 4:
    Perl_X.Q4.pl (Jessen)



    ]]>
    problem-set-perl-x-solutions/feed/ 0
    Problem Set CGI: Solutions problem-set-cgi-solutions/ problem-set-cgi-solutions/#comments Thu, 24 Oct 2013 23:36:31 +0000 Deb Triant ?p=1201 ==================================
    Question 1:
    CGI_1.pl (Deb)

    Question 2:
    CGI_2.pl (Deb)

    ]]>
    problem-set-cgi-solutions/feed/ 0
    Problem Set IX: Solutions problem-set-ix-solutions/ problem-set-ix-solutions/#comments Thu, 24 Oct 2013 19:45:46 +0000 Deb Triant ?p=1185 ==================================
    Pre-questions 1-4:

    Perl_IX.P1-4.p

    Question 1-3:
    perl9_1.2.3.pl (Steven)
    Perl_IX.Q1-3.pl (Jessen)

    Question 4:
    Perl9_4.pl (Steven)
    Perl_IX.Q4.pl (Jessen)

    Question 5:
    Perl_IX.Q5.pl (Jessen)

    Question 6:
    Perl_IX.Q6.pl (Jessen)

    Question 7:
    Perl_IX.Q7.pl (Jessen)

    ]]>
    problem-set-ix-solutions/feed/ 0
    Problem Set VIII: Solutions problem-set-vii-solutions/ problem-set-vii-solutions/#comments Thu, 24 Oct 2013 19:23:26 +0000 Deb Triant ?p=1164 ==================================
    Question 3:
    perl8_3.pl (Steven)

    Question 2:
    perl8_5.pl (Steven)

    FastaModule.pm:
    FastaModule.pm (Steven)

    PerlVII.pm:
    PerlVII.pm Steven)
    ]]>
    problem-set-vii-solutions/feed/ 0
    Problem Set: Perl VII: Solutions problem-set-perl-vii-solutions/ problem-set-perl-vii-solutions/#comments Thu, 24 Oct 2013 18:56:51 +0000 Steven Ahrendt ?p=872 ==================================
    Question 1:
    perl7_1.pl (Steven)

    Question 2:
    perl7_2.pl (Steven)
    ]]>
    problem-set-perl-vii-solutions/feed/ 0
    Problem Set: Perl VI: Solutions problem-set-perl-vi-solutions/ problem-set-perl-vi-solutions/#comments Thu, 24 Oct 2013 18:50:55 +0000 Steven Ahrendt ?p=853 =================================
    Question 1:
    perl6_1.pl (Steven)

    Questions 2 & 3:
    perl6_2.3.pl (Steven)

    Question 4:
    perl6_4.pl (Steven)

    Question 5:
    perl6_5.pl (Steven)

    Question 6:
    perl6_6.pl (Steven)

    Question 7:
    perl6_7.pl (Steven)

    Question 8:
    perl6_8.pl (Steven)
    ]]>
    problem-set-perl-vi-solutions/feed/ 0
    GBrowse Tutorials gbrowse-tutorials/ gbrowse-tutorials/#comments Wed, 23 Oct 2013 21:47:53 +0000 Deb Triant ?p=1123
     
    http://cloud.gmod.org/gbrowse2/tutorial/tutorial.html
     
    http://gmod.org/wiki/GBrowse_Volvox_SAM_Tutorial
    ]]>
    gbrowse-tutorials/feed/ 0
    Gbrowse Key gbrowse-key/ gbrowse-key/#comments Wed, 23 Oct 2013 18:06:08 +0000 Sofia Robb ?p=1091 gbrowse_key]]> gbrowse-key/feed/ 0 Maker Lab script maker-lab-script/ maker-lab-script/#comments Tue, 22 Oct 2013 23:53:53 +0000 Deb Triant ?p=1058 read more)]]>
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    
     
     
    #!/usr/bin/perl
     
    use strict;
    use warnings;
    use GAL::Annotation;
     
    #-----------------------------------------------------------------------------
    #----------------------------------- MAIN ------------------------------------
    #-----------------------------------------------------------------------------
     
    my $usage = "
     
    Synopsis:
     
    gal_maker_example feature.gff3 genome.fasta
     
    Description:
     
    This is an example script for using the GAL library for working
    with GFF3 sequences produced by MAKER.
     
    ";
     
    my ($gff3_file, $fasta_file) = @ARGV;
     
    die "$usage\n\nFATAL : missing_fasta_file : Fasta file required\n"
        unless $fasta_file;
    die "$usage\n\nFATAL : missing_gff3_file : GFF3 file required\n"
        unless $gff3_file;
     
    my $annotation = GAL::Annotation->new($gff3_file,
    				      $fasta_file);
     
    my $features = $annotation->features;
     
    # Do the search and get an interator for all matching features
    my $genes = $features->search({type => 'gene'});
     
    # Iterate over the features
    while (my $gene = $genes->next) {
        # Get the feature ID
        my $g_id = $gene->feature_id;
        my $g_length = $gene->length;
        my $mrnas = $gene->mRNAs;
     
        # Iterate over the features
        while (my $mrna = $mrnas->next) {
    	# Get the feature ID
    	my $m_id = $mrna->feature_id;
    	my $m_length = $mrna->length;
    	# Get all the exons for this mRNA
    	my $introns = $mrna->introns;
    	# Iterate over each intron
    	while (my $intron = $introns->next) {
    	    my $i_id = $intron->feature_id;
    	    my $i_length = $intron->length;
    	    my $i_gc = $intron->gc_content;
    	    print join "\t", ($g_id, $g_length, $m_id, $m_length, $i_id,
    			      $i_length, $i_gc);
    	    print "\n";
    	}
        }
    }
    ]]>
    			maker-lab-script/feed/
    		0