Somatic Mutations Rechecker and Filtering
The vcf file must be zipped by bgzip and indexed by tabix
> /hpc/local/CentOS7/pmc_vanboxtel/bin/samtools-bcftools-htslib-1.0_x64-linux/bin/bgzip /path/to/<file.vcf>
/hpc/local/CentOS7/pmc_vanboxtel/bin/samtools-bcftools-htslib-1.0_x64-linux/bin/tabix /path/to/<file.vcf.gz>
If you need to create a new virtual environment
> virtualenv venv_3.6 -p /hpc/local/CentOS7/common/lang/python/3.6.1/bin/python
Before you run SMuRF, you need load the virtual environment
> . /hpc/pmc_vanboxtel/tools/SMuRF/venv_3.6/bin/activate
If you created a new virtual environment, install the required modules
> pip install -r requirements.txt
Run SMuRF
> python /hpc/pmc_vanboxtel/tools/SMuRF/SMuRF.py -i /path/to/<file.vcf.gz> -b /path/to/*.bam -n <NAME_OF_NORMAL> -c <CONFIG_FILE>
Check the encoding of your file
file -bi [FILE]
Convert your vcf file to requested character encoding
> iconv -f iso-8859-1 -t utf8 [FILE] > [OUTPUT]