We will be offering an R workshop December 18-20, 2019. Learn more.

List.seqs

From mothur
Revision as of 17:27, 23 June 2009 by Pschloss (Talk | contribs) (New page: Given an input file, write out the names of the sequences found within it __NOTOC__ ==Options== fasta, name, group, alignreport; each takes a file name ==Required== One of the options m...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Given an input file, write out the names of the sequences found within it


Options

fasta, name, group, alignreport; each takes a file name

Required

One of the options must be provided

Output

A file with the extension “.accnos” (i.e. accession numbers) in place of the previous extension; the content should be a single column and on each row should be a separate sequence accession

Algorithm

  1. as you scan through the input file, put every sequence name into a list<string> container
  2. sort the list<string> container once it is filled
  3. print the list container out to the accnos file