Reformat FASTA file (remove contigs based on length, or based on a given list of deflines, and/or generate an output with simpler names).
🔙 To the main page of anvi’o programs and artifacts.
This program converts a fasta file to a contigs-fasta. In other words, it reformats your FASTA formatted file to meet the conditions required of a contigs-fasta, which is able to be used by other anvi’o programs.
If you use the flag –report-file, it will also create a TAB-delimited file for you to keep track of which defline in the new file corresponds to which defline in the original file.
Removing short contigs from a FASTA file will improve the performance of the contigs-db later. The example below runs the same command while also removing sequences that are shorter than 1,000 nts:
Edit this file to update this information.
Are you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the
__resources__ tag in this file to see an example.