Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Adding missing values into a hash

by Biopolete (Initiate)
on Jun 20, 2014 at 08:16 UTC ( [id://1090578]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Adding missing values into a hash
in thread Adding missing values into a hash

No, I don't have any other lines in the file :(

I have the same problem if I use your complete script with:

__DATA__

##INFO=<ID=AA,

##INFO=<ID=AB,

##INFO=<ID=AC,

1 AA=1;AB=2;AC=3

2 AA=2;AB=2

3 AA=5;AB=1;AC=1

I only obtain "NA" values in CVS file

  • Comment on Re^4: Adding missing values into a hash

Replies are listed 'Best First'.
Re^5: Adding missing values into a hash
by poj (Abbot) on Jun 20, 2014 at 08:48 UTC

    Check you have a tab character between between 1 and AA=1, 2 and AA=2, 3 and AA=5, not spaces

    poj

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1090578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-29 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found