is not possible to detect somatic variants from an unique list only, because some comparison pattern must be established in order to remove the germline background. a good idea to find somatic variants out is to use trios, where you could easily set filters among them (in perl if you are fond of it, although simple bash scripting would do) to find which variants of the child were not inherited from the parents. have you consider using existing tools to help you on this task, such as GATK's PhaseByTransmission?
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Hi, you should provide a little more information if you want us to help you. Can you paste an example of the input and of the output that you want to get?
Moreover, please note that some people may get annoyed if you ask for help, without demonstrating that you have at least made an effort. Why don't you post at least some code that you wrote for this task? Even if the code is not working, you should show that you have at least tried to do something, before asking for help here.
Writing a variant caller in perl is a BAD IDEA.