Convert a GFA 2 graph segments sequence file to UCSC nib.

Maximum file size: 50 MB. The file is checked before conversion.

GFA 2 graph segments → UCSC nib

  • Only graph segment sequences are written. Graph links and topology are not preserved.
  • This output format holds exactly one sequence. Upload a file with a single record.
  • UCSC nib stores only the DNA letters A, C, G, T, and N. Gaps, ambiguity codes, RNA (U), and protein letters are rejected.
  • UCSC nib does not store record names, so the output has no identifier.

About this conversion

The converter reads records in the input format and writes them in the output format. Data that the output format cannot store may be lost. The notes under the Convert file button list the important limits for this pair.

Run it with Biopython

For batch work, you can use Biopython's SeqIO.convert function. This pair needs no molecule type argument.

from Bio import SeqIO

count = SeqIO.convert("input.gfa2", "gfa2",
                      "output.nib", "nib")
print("Converted %i records" % count)

Sample input file: GFA 2 graph segments

Copy this example into a file, or download it, to try a GFA 2 graph segments conversion.

Download sample (sample.gfa, 185 bytes)

Samples are small illustrative files. Some come from the Biopython test suite (see the project's sample notes); they are not real study data.

Choose another conversion