Skip to content

Instantly share code, notes, and snippets.

@TamaDP
TamaDP / gist:c6112b4d6eac2faf7842
Created November 21, 2015 13:48
Enzyme commands
./digester.pl -e t all_orf_pred_peptides.fasta > all_orf_pred_peptides_fixed_trypsin.fasta;
./digester.pl -e k all_orf_pred_peptides.fasta > all_orf_pred_peptides_fixed_lys_c.fasta;
./digester.pl -e r all_orf_pred_peptides.fasta > all_orf_pred_peptides_fixed_arg_c.fasta;
./digester.pl -e e all_orf_pred_peptides.fasta > all_orf_pred_peptides_fixed_glu_c.fasta;
@TamaDP
TamaDP / Trying_printing.pl
Created November 16, 2015 16:24
Trying format for output
#!/usr/bin/perl -w
use strict;
use warnings;
my (@proteins, @peptides);
my ($protein, $i, $j);
@proteins = qw(
DAAAAATTLTTTAMTTTTTTCKMMFRPPPPPGGGGGGGGGGGG
ALTAMCMNVWEITYHKGSDVNRRASFAQPPPQPPPPLLAIKPASDASD
DAAAAATTLTTTAMTTTTTTCK
@TamaDP
TamaDP / nosubs.pl
Created November 14, 2015 21:35
no subs
#!/usr/bin/env perl
######################################################################################
## enzyme_digestion.pl
#######################################################################################
use warnings;
use strict;
use diagnostics;
#Defining user options
use vars qw($opt_t $opt_l $opt_a $opt_v $opt_c $opt_h);