samtools faidx <ref.fasta> [region1 [...]] Index reference sequence in the FASTA format or extract subsequence from indexed reference sequence. If no region is specified, faidx will index the file and create <ref.fasta>.fai on the disk. If regions are specified, the subsequences will be retrieved and printed to stdout in the FASTA format. The input file can be compressed in the BGZF format. FASTQ files can be read and indexed by this command. Without using --fastq any extracted subsequence will be in FASTA format.
No Tags found
No Biostars posts found