Answers.Body: <p>I have also encountered this error before in cases where there was something wrong with the VCF file I was supplying.</p>
  <ul>
  <li>Double check your command to ensure that you are feeding it the file you believed you were and verify that file is a vcf (gzipped or otherwise)</li>
  <li>If you know how, please compare MD5 or SHA checksums of your copy vs. the original to ensure you have an uncorrupted copy.</li>
  <li>If this is something you haven't dealt with before, a less effective version would be to check and make sure that the file size on the server is the same as the file size on your machine.</li>
  <li>Additionally, you may want to just use the <code>less</code> command to look inside the file and see if anything appears to be corrupted (you may need to decompress it for that purpose).</li>
  <li>It may also be worth trying to <code>gunzip</code> or <code>gzip -d</code> commands to decompress the file (assuming you have the drive space).  This will both ensure that decompressing the file on the fly is not causing any grief to GATK (which is unlikely) and that the file decompresses without error (which would also be an indication of corruption).</li>
  <li>Lastly, you could try downloading a fresh version.
  Please let me know if this helps and you discover the source of the error.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-03T08:12:44.907Z
Answers.LastActivityDate: 2021-10-03T08:12:44.907Z
Answers.UserDisplayName: Michael Weinstein
Body: <p>I need suggestions in creating index and dictionary with vcf files. For the base recalibration step, I downloaded Homo_sapiens_assembly38.known_indels.vcf.gz from the given link: <a href="https://console.cloud.google.com/storage/browser/genomics-public-data/resources/broad/hg38/v0;tab=objects?prefix=&amp;forceOnObjectsSortingFiltering=false" rel="nofollow noreferrer">https://console.cloud.google.com/storage/browser/genomics-public-data/resources/broad/hg38/v0;tab=objects?prefix=&amp;forceOnObjectsSortingFiltering=false</a></p>
  <p>I am using GATK version 4.2.2.0</p>
  <p>When I try to create index and dictoionary of the vcf file, I get the following error: no suitable codecs found. I also tried to check the vcf file using ValidateVariants and I get the same error: no suitable codecs found.</p>
  <p>Can anyone suggest which indels vcf file is used for masking sites in the base recalibration step. Has anyone come across this above error and how did they resolve the issue.</p>
  <p>Thanks</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-02T14:53:47.427Z
Comments.Text: Can you show which commands are you trying on the file?
Comments.UserDisplayName: JRodrigoF
Tags: <vcf><ngs><gatk><data-preprocessing><variants>
Title: Dictionary and index of vcf for base recalibration step
ThreadText: # Dictionary and index of vcf for base recalibration step
  
  (Asked by: username_0 on 2021-10-02)
  
  I need suggestions in creating index and dictionary with vcf files. For the base recalibration step, I downloaded Homo\_sapiens\_assembly38.known\_indels.vcf.gz from the given link: <https://console.cloud.google.com/storage/browser/genomics-public-data/resources/broad/hg38/v0;tab=objects?prefix=&forceOnObjectsSortingFiltering=false>
  
  I am using GATK version 4.2.2.0
  
  When I try to create index and dictoionary of the vcf file, I get the following error: no suitable codecs found. I also tried to check the vcf file using ValidateVariants and I get the same error: no suitable codecs found.
  
  Can anyone suggest which indels vcf file is used for masking sites in the base recalibration step. Has anyone come across this above error and how did they resolve the issue.
  
  Thanks
  
  **Tags:** vcf, ngs, gatk, data-preprocessing, variants
  
  > **Comments:**
  > **username_1**: Can you show which commands are you trying on the file?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-10-03. Score: 1
  
  I have also encountered this error before in cases where there was something wrong with the VCF file I was supplying.
  
  * Double check your command to ensure that you are feeding it the file you believed you were and verify that file is a vcf (gzipped or otherwise)
  * If you know how, please compare MD5 or SHA checksums of your copy vs. the original to ensure you have an uncorrupted copy.
  * If this is something you haven't dealt with before, a less effective version would be to check and make sure that the file size on the server is the same as the file size on your machine.
  * Additionally, you may want to just use the `less` command to look inside the file and see if anything appears to be corrupted (you may need to decompress it for that purpose).
  * It may also be worth trying to `gunzip` or `gzip -d` commands to decompress the file (assuming you have the drive space). This will both ensure that decompressing the file on the fly is not causing any grief to GATK (which is unlikely) and that the file decompresses without error (which would also be an indication of corruption).
  * Lastly, you could try downloading a fresh version.
    Please let me know if this helps and you discover the source of the error.
  
  
  ---
  
  