Answers.Body: <p>Correct command is</p>
  <pre><code>plink2 --vcf sample_vcf_file.vcf --recode transpose --out outputfile
  </code></pre>
  <p>vcftools also can convert vcf into tped/tfam</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-08-29T21:07:10.737Z
Answers.Text: Yep, from [plink manual](https://www.cog-genomics.org/plink/1.9/index): `--transpose Deprecated. Use "--recode transpose".`.
Answers.UserDisplayName: Kamil S Jaron
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-08-29T15:24:11.880Z
Answers.LastActivityDate: 2021-08-29T15:24:11.880Z
Answers.UserDisplayName: Hood
Body: <p>When converting vcf to tbed/tfam format, I am getting error like</p>
  <pre><code>unrecognized flag&lt;'--transpose'&gt;
  </code></pre>
  <p>Code I used:</p>
  <pre><code>plink2 --vcf sample_vcf_file.vcf --recode --transpose --out outputfile
  </code></pre>
  
Tags: <plink>
Title: How to convert vcf to tbed/tfam and again convert it back to tbed/tfam to vcf using plink
ThreadText: # How to convert vcf to tbed/tfam and again convert it back to tbed/tfam to vcf using plink
  
  (Asked by: username_0 on 2021-08-27)
  
  When converting vcf to tbed/tfam format, I am getting error like
  
  ```
  unrecognized flag<'--transpose'>
  
  ```
  
  Code I used:
  
  ```
  plink2 --vcf sample_vcf_file.vcf --recode --transpose --out outputfile
  
  ```
  
  **Tags:** plink
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-08-29. Score: 1
  
  Correct command is
  
  ```
  plink2 --vcf sample_vcf_file.vcf --recode transpose --out outputfile
  
  ```
  
  vcftools also can convert vcf into tped/tfam
  
  > **Comments:**
  > **username_2**: Yep, from [plink manual](https://www.cog-genomics.org/plink/1.9/index): `--transpose Deprecated. Use "--recode transpose".`.  
  
  ---
  
  