I am using gemini to query databases made from vcf files, which contain data from multiple samples. However, I need to query data only from one sample, (for which I currently use grep to filter the results and > it into a txt file).
I tried experimenting with the --sample-filter option in gemini, the documentation I found however says only:
gemini query --sample-filter "phenotype=2" -q "YOUR_QUERY"
db_info says the table samples contains name, but when I try doing
gemini query --sample-filter "name='S2'" -q "YOUR_QUERY"
I'll get error, that I have an syntax error in my query. I tried putting there "sample_name=='S2'" even tried other criteria, like sample_id, but couldn't get this work.
So please, do you know how should I get this work, or have any other advice?
Thank you very much.