SharedPointer<io::SequenceDataHost> genome = io::load_sequence_data(
DNA,
"drosophila.fa" );
const io::SequenceDataAccess<DNA> genome_access( genome.get() );
const sequence_string_set_type genome_string_set = genome_access.sequence_string_set();
for (
uint32 i = 0; i < n; ++i)
{
const sequence_string_set_type::string_type gene = genome_string_set[i];
printf(
"gene %u contains %u bps:\n", i,
length( gene ) );
printf("%c", to_char<DNA>( gene[j] ));
printf("\n");
}