Notice:
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra


Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

Mismatch header after generating reference from FastaAlternateReferenceMaker

MilkMilk Member
Hello,

I try to use the command "FastaAlternateReferenceMaker" to build a new genome reference from FASTA+VCF. However, the header format is changed from >AABL01000001 to >1 AABL01000001:1 (the number was added before the chromosome name). My question is that there are any commands using to replace this header back to the same as old header in FASTA file?
The commands I used are:
java -jar /GenomeAnalysisTK-3.8/GenomeAnalysisTK.jar -T FastaAlternateReferenceMaker -R aaa.fasta -o aaa_new.fasta -V bbb.vcf

Best,

Nattawat

Answers

  • SChaluvadiSChaluvadi Member, Broadie, Moderator admin

    @Milk
    It looks as if the output fasta headers add a sequential number which is what you are seeing. The tool does not have a way to remove those sequential numbers but here is an option that you can modify to remove the sequential numbers.

Sign In or Register to comment.