Could you please help me?
I need to work only with ‘AFR’ and ‘AMR’ samples, and i need to drop out the rest.
Could you please give me a code example how can i do it?
Thanks, thanks a lot for your help. Is there any tutorial or documentation on Haul about simple operations? I mean operations on DataFrame like in Python? For example df.loc , df. Something to handle a data? Add remove samples? Filter variants?
Also more examples would be useful, like you have already publish.
Thanks a lot in advance
could you please explain else one thing?
Now i would like to work with certain samples and filter out the rest.
For this i haw tried several methods, but it didn’t work
For example
mt.filter_cols( mt.key_cols_by().cols(“HG00096”,“HG00097”,“HG00099”,“HG00100”) )
TypeError: MatrixTable.cols() takes 1 positional argument but 5 were given
mt.filter_cols( mt.s == “HG00096”,“HG00097”,“HG00099”,“HG00100”)
MatrixTable.filter_cols() takes from 2 to 3 positional arguments but 5 were given