Category

Sequence Analysis


Usage

faOneRecord in.fa recordName


Manual

This tool is part of UCSC Genome Browser's utilities.

faOneRecord extracts one record from the input FASTA file, if you want to extract multiple sequences from a FASTA file, you can try faFilter.

Required arguments

  • in.fa: Input .FA file.
  • recordName: Name of the record to extract.

Examples

Get sequence for chromosome 1 from the reference genome

In the following example, we will use faOneRecord to extract sequence for chromosome 1 (chr1) from human reference genome hg38:

$ faOneRecord GRCh38_no_alt_analysis_set_GCA_000001405.15.fasta chr1 > chr1.fa

 

File formats this tool works with
FASTA

Share your experience or ask a question