We will be offering mothur and R workshops throughout 2019. Learn more.
Given an input file, write out the names of the sequences found within it
fasta, name, group, alignreport; each takes a file name
One of the options must be provided
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
- as you scan through the input file, put every sequence name into a list<string> container
- sort the list<string> container once it is filled
- print the list container out to the accnos file