-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added struct to specify file entry to simpler processing
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
// | ||
// Created by Richard Albin Schaefer on 11/18/24. | ||
// | ||
|
||
#ifndef GENOGROVE_FILEENTRY_HPP | ||
#define GENOGROVE_FILEENTRY_HPP | ||
|
||
// Standard | ||
#include <string> | ||
|
||
// Class | ||
#include "genogrove/Interval.hpp" | ||
|
||
struct FileEntry { | ||
std::string chrom; | ||
genogrove::Interval interval; | ||
char strand; | ||
|
||
FileEntry() : chrom(""), interval(0, 0), strand('.') {} | ||
FileEntry(std::string chrom, genogrove::Interval interval, char strand) : | ||
chrom(chrom), interval(interval), strand(strand) {} | ||
}; | ||
|
||
#endif //GENOGROVE_FILEENTRY_HPP |