It is not for coursework. Also, I've found a way to do it (sort of), but now it prints out my data four times, and I don't see where the bug is.
Again, any help is greatly appreciated.
use Data::Dumper;
##########################################
# Load Sequence...
Sorry bout posting this in another post, but replying didn't work. I fixed the first problem, but now I don't know how to access the hashes within hashes. How could I get a list for each amino acid that goes like...
and this is for research, but not the programing part
Thanks for any help...
Hello all,
I'm creating a program that takes a DNA sequence, goes through it codon by codon, counting the number of codons for each amino acid.
Here's the code (It's long, but simple and I'd really appreciate any help I can get) [the output is after it, essentially it isn't counting]...
I want to parse a FASTA-like file into a hash (without using bioperl). The file I'm working with is similar to...
>TTHERM_01213980
ATGGAGTAGATTTAATAAGACTAATAAGGATTGATTTCATGGTACTGTTATAATGCATAA
>TTHERM_00697570
ATGAATAAATATACTCTAATTACTTTAGGAGTTTGTATGCTTATAGTTAATGGGTTTTTG...
I am trying to count the occurences of a given base in a sequence. The problem I'm running into is with this code:
$count = ($Sequence =~ tr/$base//);
where the $base variable is the given base to count. The code works perfectly if I manually replace $base with a given base, but otherwise...
I'm looking for a way for perl to read in all the files (these would contain DNA sequence data) in a folder that the user inputs. Essentially my question is, how can the user pinpoint a folder for perl to examine that is in just some odd location?
I was wondering about how one could use the get command on an array of URLs via LWP::Simple. I'm just filtering the code so it doesn't matter if all the source from all of the URLS is dumped into one scalar variable.
essentially, how can I make this work...
@array =...
I'm trying to create a search by constructing the resulting url(s). In order to do so I have a base url string
$url = blah.com/sassafras%
this would be the first page, and the subsequent search pages would be...
blah.com/sassafras%&ct=11
blah.com/sassafras%&ct=21
blah.com/sassafras%&ct=31...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.