Daniel Klose wrote:
> Thanks Kent,
>
> I now have:
>
> target = sys.argv[1]
>
> seqDictionary = {} # python 2.5 import defaultdict from collections.
> structureArray = [0, 0, 0]
>
> #THIS TAKES THE PLACE OF THE STANDARD PERL $DIR,$file
> #shorter to do the os.path.join once to a variable.
> if
Thanks Kent,
I now have:
target = sys.argv[1]
seqDictionary = {} # python 2.5 import defaultdict from collections.
structureArray = [0, 0, 0]
#THIS TAKES THE PLACE OF THE STANDARD PERL $DIR,$file
#shorter to do the os.path.join once to a variable.
if (os.path.isfile(os.path.join(structDir, tar
Daniel Klose wrote:
> Hi all,
>
> All I would like to do is take a file and count the number of times a
> letter occurs in it. It so happens that there letters are amino acids.
> There are also some other checks in the script but these are not a
> concern just yet.
>
> What I would like to do is
Hi all,
All I would like to do is take a file and count the number of times a
letter occurs in it. It so happens that there letters are amino acids.
There are also some other checks in the script but these are not a
concern just yet.
What I would like to do is create a dictionary of arrays.
In p