ialbert / bio

Making bioinformatics fun again
MIT License
60 stars 13 forks source link

invalid command: fasta2vcf #27

Closed gyebra-phs closed 1 year ago

gyebra-phs commented 1 year ago

Hi!

I wanted to use the fasta2vcf option of bio following the instructions in https://www.bioinfo.help/bio-fasta2vcf.html#bio-fasta2vcf

However, I get the following error: invalid command: fasta2vcf.

I'm using version 1.4.0 of bio. Any help would be appreciated!

Thanks

ialbert commented 1 year ago

sorry about that, need to update the docs; the command has been moved to format

bio format --vcf

so the example becomes:

cat aligned.fa | bio format --vcf  > variants.vcf
ialbert commented 1 year ago

the format also a supports a simplified column-based format called --diff that is more amenable to column based operations

gyebra-phs commented 1 year ago

That’s great, thanks for your quick reply! I'll try that.


From: Istvan Albert @.> Sent: Friday, November 11, 2022 4:50:45 PM To: ialbert/bio @.> Cc: Gonzalo Yebra @.>; Author @.> Subject: Re: [ialbert/bio] invalid command: fasta2vcf (Issue #27)

the format also a supports a simplified column-based format called --diff that is more amenable to column based operations

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fialbert%2Fbio%2Fissues%2F27%23issuecomment-1311940256&data=05%7C01%7Cgonzalo.yebra%40phs.scot%7Cf3c214ffca1c4a97c72108dac404e142%7C10efe0bda0304bca809cb5e6745e499a%7C0%7C0%7C638037822476733952%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MYsiL4kqkEdmJfeHRhz%2FrljhuIIs0NSMYkF6Gqx%2Ftzc%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXOFLIOEI7UWN7BVTXCJH33WHZ2OLANCNFSM6AAAAAAR5YD4QQ&data=05%7C01%7Cgonzalo.yebra%40phs.scot%7Cf3c214ffca1c4a97c72108dac404e142%7C10efe0bda0304bca809cb5e6745e499a%7C0%7C0%7C638037822476890193%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BugPiOXmhZJRJlS5BkKzzSCOZG03oduBLkwrA9YRzXo%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>


This email is intended for the named recipient only. If you have received it by mistake, please (i) contact the sender by email reply; (ii) delete the email from your system; . and (iii) do not copy the email or disclose its contents to anyone.


ialbert commented 1 year ago

The docs have been updated to indicate that the functionality has moved to a different command.