To use these scripts:
- Clone this repository:
git clone https://gist.github.com/95a4b2ab3b90f6f0bfd9.git snpEffScript
cd snpEffScript
- make appropriate changes to setup.sh
- call snpEff.sh like so:
./snpEff.sh input.vcf output.vcf
If you want to use this in a stream, you may use /dev/stdin
for the input.vcf
filename and /dev/stdout
for output.vcf
.
Comments are welcome. You can add further information relatively easily by simply creating a VCF file with the right INFO fields and snpSift annotate can add that information to the vcf file.
I have created a set of small tools for working with sequence data here: https://github.com/seandavi/seqtools. The docs are here: https://seqtools.readthedocs.org/en/latest/. The tool has a vcf-to-text converter, seqtool vcf melt
. An example is given here: https://seqtools.readthedocs.org/en/latest/seqtool.html#melt-a-vcf-file-to-tab-delimited-text