This is a Perl script useful for reading multiple files (.bcf/.vcf) in order to filter them using the bcftools and vcfutils.pl from the same tool.
Get bcftools.
- install bcftools and change directory 'cd' to the install directory
- write 'pwd' on the command line. Copy the result
- replace that directory in the variable '$cmd' of the script after the pipe '|' like: '/home/user/bcftools/vcfutils.pl'
perl fil_hash_bcfs.pl
log.txt (dumping of the hash)