Skip to content

Genomic Contig Summary

Parts of a SEGUL commandThe command segul contig summary --input contigs.fa --prefix my_contigs has five parts: the program segul, the command contig for the task group, the subcommand summary for the task, the input --input contigs.fa (folder or files), and the option --prefix my_contigs (optional).segulProgramcontigCommandtask groupsummarySubcommandtask--input contigs.faInputfolder or files--prefix my_contigsOptionsoptional

segul contig summary calculates summary statistics for assembled contigs in FASTA format. For raw reads, see Genomic Read Summary.

  • Gunzip Compressed FASTA (.fa.gz/.fasta.gz)
  • Standard FASTA (.fa/.fasta)
Terminal window
segul contig summary -i contigs.fa

or using directory input:

Terminal window
segul contig summary -d /contig_read_dir

Use --output (or -o) to set the output directory and --prefix to set the prefix of the output files:

Terminal window
segul contig summary -d /contig_read_dir -o contig_output --prefix my_contig_summary

Available statistics for contiguous sequences:

  • Contig count
  • Base count
  • Nucleotide
  • GC content
  • AT content
  • Minimum contig length
  • Maximum contig length
  • Mean contig length
  • Median contig length
  • N50
  • N75
  • N90
  • Contig 750 bp
  • Contig 1000 bp
  • Contig 1500 bp
  • Cumulative length
  • A, C, G, T, N counts
OptionDescription
-d, --dirDirectory with contig files
-i, --inputContig files. Allows wildcards
-f, --input-formatInput format: auto (default), fasta, or gzip
-o, --outputOutput directory. Default: Contig-Summary
--prefixPrefix of the output files
--forceOverwrite an existing output directory
--logLog file path. Default: segul.log

This material is based upon work supported by the National Science Foundation under grant numbers: DEB-1754393 and DEB-2244754. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.