vdj_pipe
pipeline for processing DNA sequence data
file_properties.hpp
Go to the documentation of this file.
1 
7 #ifndef FILE_PROPERTIES_HPP_
8 #define FILE_PROPERTIES_HPP_
9 #include <iosfwd>
10 #include <string>
11 #include "vdj_pipe/config.hpp"
12 
13 namespace vdj_pipe{
14 
15 namespace compression {
16 
20  none, unknown, gzip,
21  bzip2, zlib, pkzip, rar, seven_z
22 };
23 
24 }//namespace compression
25 
29 VDJ_PIPE_DECL compression::Compression
30 extension_to_compression(std::string const& ext);
31 
35 VDJ_PIPE_DECL compression::Compression
36 compression_magic(std::istream& is);
37 
38 namespace format {
39 
42 enum Format {
43  unknown, Fasta, Fastq, Qual, CSV
44 };
45 
46 }//namespace format
47 
51 VDJ_PIPE_DECL format::Format
52 extension_to_format(std::string const& ext);
53 
54 namespace plot {
55 
58 enum Plot {
59  bar, line, bar_n_wisker, heat_map
60 };
61 
62 }//namespace plot
63 
64 }//namespace vdj_pipe
65 #endif /* FILE_PROPERTIES_HPP_ */
Plot
File format types.
Definition: file_properties.hpp:58
Format
File format types.
Definition: file_properties.hpp:42
Compression
File compression types.
Definition: file_properties.hpp:19
VDJ_PIPE_DECL format::Format extension_to_format(std::string const &ext)
guess file format from low case extension string
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
VDJ_PIPE_DECL compression::Compression compression_magic(std::istream &is)
guess file compression from magic number
VDJ_PIPE_DECL compression::Compression extension_to_compression(std::string const &ext)
guess file compression from low case extension string