in reply to Re: calculation of charged amino acids
in thread calculation of charged amino acids
this is what Im trying to do but in vain
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: calculation of charged amino acids
by kcott (Archbishop) on Jul 23, 2013 at 10:55 UTC | |
"this is what Im trying to do but in vain" Provide: sample input, expected output, the code you're trying, a description of what you're having problems with, your actual output and any warning or error messages (all described in "How do I post a question effectively?"). Also, improve the readability of your code with indentation (described in perlstyle). If you do all this, I'll be happy to provide further assistance. -- Ken | [reply] |
|
Re^3: calculation of charged amino acids
by yuvraj_ghaly (Sexton) on Jul 24, 2013 at 04:47 UTC | |
sample input is: perl count_charge_aa.pl <filename.extension>this is the code i'm suggested with
Problem description I want to calculate the number of charges amino acids (acidic, basic and neutral) in each protein sequences which is present in fasta file. Note: I have a fasta file which have numerous protein sequences OUTPUT This script is calculating all the amino acids throughout the file and show the result in last protein sequence entry. Its something like that: >gi|1064567454|ref|YP_67854|lipoprotein Myxococcous strain DK6476 It is not calculating charged amino acids sequence by sequence but as a whole | [reply] [d/l] [select] |
by kcott (Archbishop) on Jul 24, 2013 at 12:46 UTC | |
I expect that's supposed to be a response to me: you've actually responded to yourself. Here's the sort of thing I think you want:
I made a slight modification to ++mtmcc's sample data: just added some comments with and without leading whitespace for testing purposes. Do note that's what sample data should look like! It's not the command you type. Here's a sample run:
Notes:
-- Ken | [reply] [d/l] [select] |