This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python3 | |
| # Converts a GFA assembly graph to a FASTA file of all sequences | |
| # within the graph. Notably, this ignores connections between sequences | |
| # in the graph. | |
| # | |
| # Depends on Python 3.6 or later. | |
| # | |
| # Usage: | |
| # $ ./gfa_to_fasta.py mygraph.gfa contigs.fasta |