Skip to content

vcf_tab_to_fasta_alignment.pl #3

@chenyaya80119

Description

@chenyaya80119

I am attempting to convert a VCF tabular file into a FASTA alignment.
Here is the command line I use when attempting to do this:
perl vcf_tab_to_fasta_alignment.pl -i snps.tab > snps.tab.fasta
Here is what the data snps.tab looks like:
#CHROM POS REF T44 T46 T51 T60 T73 T88
1 214304 G G/A G/A G/A G/G G/G G/G
1 381695 C T/T C/T C/C C/C C/C C/C
1 830338 C C/G C/G C/G ./. C/C C/C
1 868662 G G/G G/G G/G G/A G/G G/A
1 1282509 A A/C A/A A/C A/A A/A A/A
1 2180028 T T/T T/T T/T T/T T/C T/C
1 3774988 A A/A A/A A/A A/A A/G A/G
1 3920742 A A/A A/G A/A A/G A/G G/G
1 4776967 G G/G G/T G/T T/T T/T G/T
1 5014432 C C/C C/C C/C C/T C/T C/C
1 5344204 G G/G G/G G/G G/G G/T G/T
However, I continually get this error(ERROR: Could not open input file -i.)
I really don't kown how to solve it !I will really appreciate if someone can help out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions