[Tutor] reformatting data and traspose dictionary

jarod_v6 at libero.it jarod_v6 at libero.it
Wed Apr 20 07:18:22 EDT 2016


Hi!!!
I have this problems
I have a dictionary  like this:

[Name_file ::position] = lines 

#Samplename::chr10-43606756-C-T::['chr10', '43606756', '.', 'C', 'T', '100.00', 'PASS', 'DP=439;TI=NM_020630,NM_020975;GI=RET,RET;FC=Synonymous_V455V,Synonymous_V455V;EXON', 'GT:GQ:AD:VF:NL:SB:GQX', '0/1:100:387,52:0.1185:20:-100.0000:100']
    
And I want to obtain this tables

Name_file on the row and position on the columns and the  one parametr inside of  lines


ie.
                             chr10-43606756-C-T    ...
Samplename    ,Synonymous_V455V



and then I wan to do  the traspose of this matrix.
What is the simple way to do this?

Thanks so much!!




More information about the Tutor mailing list