base) Gigapepe2:/media/Genomics_prac_guide/tools/gatk3$ java -jar GenomeAnalysisTK.jar --version
3.8-0-ge9d806836
(base) Gigapepe2:/media/Genomics_prac_guide/tools/gatk3$ java -jar GenomeAnalysisTK.jar -T SimulateReadsForVariants
##### ERROR ------------------------------------------------------------------------------------------
##### ERROR A USER ERROR has occurred (version 3.8-0-ge9d806836):
##### ERROR
##### ERROR This means that one or more arguments or inputs in your command are incorrect.
##### ERROR The error message below tells you what is the problem.
##### ERROR
##### ERROR If the problem is an invalid argument, please check the online documentation guide
##### ERROR (or rerun your command with --help) to view allowable command-line arguments for this tool.
##### ERROR
##### ERROR Visit our website and forum for extensive documentation and answers to
##### ERROR commonly asked questions https://software.broadinstitute.org/gatk
##### ERROR
##### ERROR Please do NOT post this error to the GATK forum unless you have really tried to fix it yourself.
##### ERROR
##### ERROR MESSAGE: Invalid command line: Malformed walker argument: Could not find walker with name: SimulateReadsForVariants
##### ERROR ------------------------------------------------------------------------------------------
I tried it yesterday and recieved the same output when I tried to use SimulateReadsForVariants. Is there any obvious mistake that I made?
Do you need to use a VCF as starting point?
If not you could use
mutate.shto introduce mutations in a reference (while creating a VCF file in process) and then userandomreads.shfrom BBMap suite to create fastq reads from that mutated genome.Thanks for your answer GenoMax . What is the more reasonable approach if one needs to start at a vcf and wants to create reads that can be used in a calling algorithm to generate a vcf file comparable to the origin.
There's another tool, applyvariants.sh, that accepts a reference and vcf and will output the altered reference. Then you can simulate reads from it using randomreads.sh.