INNER CODE UNIT · C++

n_gaps

refresh-bio/FAMSA · src/core/io_service.cpp:95

					auto& n_gaps = p->n_gaps;
					int pos = n_gaps[0];

					for (uint32_t j = 1; j <= p->size; ++j)
					{
						local_column_freq[pos]++;
						pos += n_gaps[j] + 1;
					}
				}
			}

			lock_guard<mutex> lck(mtx);
			for (int i = 0; i < sequences[0]->gapped_size; ++i)
				global_column_freq[i] += local_column_freq[i];
				});

		for (auto& t : v_threads)
			t.join();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…