1210 days ago
2138 days ago
Python script to download covid genome !
#!/usr/bin/env python3 # these are the publicly available "complete" sequences # https://www.g...').read().split("\n")[1:] allseq[nm] = ''.join(dna) import json with open("data/all...1130 days ago
Read lines from input file – print lines that match a regular expression
#!/usr/bin/perl use strict; use warnings; my $line; #read the line-by-line for each line ask if i...CG]+?A{3,10}$/) { print "$line\n"; } } exit(); __DATA__...2910 days ago
Parse a genbank file using regular expressions
#! /usr/local/bin/perl -w $genbank = "genbank_file.txt"; open (GENBANK, $genbank) || die "ca...of translation product not found.\n"; } } else { # Skip this data...2910 days ago
Retrieve NCBI GenBank records with a range of accession numbers
#!/usr/bin/perl #FILE: ncbi_search.pl...stothard@gmail.com) use warnings; use strict; use Getopt::Lon...outputFile => undef, database...=> \$param{outputFile}, 'd|database=...) ) or !( defined( $param{database} ) )...tstart&retmax=$retmax&db=$param{database...2909 days ago
A multilayer perceptron (MLP) neural network in Perl
#!/usr/local/bin/perl -w ##############################...t bias create an #extra input in the training data #an...= 0.7; my $LR_HO = 0.07; ################ Data dependent...he weights initWeights(); # load in the data...2909 days ago
Blast result parser with Perl and Bioperl
#!/usr/local/bin/perl # # Dr. Xiaodong Bai # It may be freely distributed under GNU General P...spreadsheet program for browsing and further analysis. # use strict; use warnings; us...2908 days ago
Perl program to implement sliding window !
#!/usr/bin/perl -w my $filename = 'data.txt'; open(my TR, '2908 days ago
2908 days ago