ngs_server 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +2 -0
- data/bin/ngs_server +58 -0
- data/data/holder.txt +0 -0
- data/ext/bamtools/CMakeLists.txt +49 -0
- data/ext/bamtools/LICENSE +22 -0
- data/ext/bamtools/README +60 -0
- data/ext/bamtools/Tutorial_Toolkit_BamTools-1.0.pdf +0 -0
- data/ext/bamtools/docs/Doxyfile +1601 -0
- data/ext/bamtools/extconf.rb +9 -0
- data/ext/bamtools/src/CMakeFiles/CMakeDirectoryInformation.cmake +22 -0
- data/ext/bamtools/src/CMakeFiles/SharedHeaders.dir/DependInfo.cmake +13 -0
- data/ext/bamtools/src/CMakeFiles/SharedHeaders.dir/build.make +65 -0
- data/ext/bamtools/src/CMakeFiles/SharedHeaders.dir/cmake_clean.cmake +8 -0
- data/ext/bamtools/src/CMakeFiles/SharedHeaders.dir/depend.internal +3 -0
- data/ext/bamtools/src/CMakeFiles/SharedHeaders.dir/depend.make +3 -0
- data/ext/bamtools/src/CMakeFiles/SharedHeaders.dir/progress.make +2 -0
- data/ext/bamtools/src/CMakeFiles/progress.marks +1 -0
- data/ext/bamtools/src/CMakeLists.txt +18 -0
- data/ext/bamtools/src/ExportHeader.cmake +31 -0
- data/ext/bamtools/src/Makefile +182 -0
- data/ext/bamtools/src/api/BamAlignment.cpp +2432 -0
- data/ext/bamtools/src/api/BamAlignment.h +206 -0
- data/ext/bamtools/src/api/BamAux.h +456 -0
- data/ext/bamtools/src/api/BamConstants.h +127 -0
- data/ext/bamtools/src/api/BamIndex.h +79 -0
- data/ext/bamtools/src/api/BamMultiReader.cpp +395 -0
- data/ext/bamtools/src/api/BamMultiReader.h +126 -0
- data/ext/bamtools/src/api/BamReader.cpp +369 -0
- data/ext/bamtools/src/api/BamReader.h +117 -0
- data/ext/bamtools/src/api/BamWriter.cpp +142 -0
- data/ext/bamtools/src/api/BamWriter.h +63 -0
- data/ext/bamtools/src/api/CMakeFiles/APIHeaders.dir/DependInfo.cmake +14 -0
- data/ext/bamtools/src/api/CMakeFiles/APIHeaders.dir/build.make +80 -0
- data/ext/bamtools/src/api/CMakeFiles/APIHeaders.dir/cmake_clean.cmake +8 -0
- data/ext/bamtools/src/api/CMakeFiles/APIHeaders.dir/depend.internal +3 -0
- data/ext/bamtools/src/api/CMakeFiles/APIHeaders.dir/depend.make +3 -0
- data/ext/bamtools/src/api/CMakeFiles/APIHeaders.dir/progress.make +2 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/BamAlignment.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/BamMultiReader.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/BamReader.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/BamWriter.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/CXX.includecache +596 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/DependInfo.cmake +41 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamHeader.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamProgram.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamProgramChain.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamReadGroup.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamReadGroupDictionary.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamSequence.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/SamSequenceDictionary.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/build.make +675 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/cmake_clean.cmake +32 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/cmake_clean_target.cmake +3 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/depend.internal +295 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/depend.make +295 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/flags.make +8 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamHeader_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamIndexFactory_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamMultiReader_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamRandomAccessController_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamReader_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamStandardIndex_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamToolsIndex_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BamWriter_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/BgzfStream_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/SamFormatParser_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/SamFormatPrinter_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/internal/SamHeaderValidator_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/link.txt +2 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools-static.dir/progress.make +24 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/BamAlignment.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/BamMultiReader.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/BamReader.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/BamWriter.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/CXX.includecache +596 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/DependInfo.cmake +47 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamHeader.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamProgram.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamProgramChain.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamReadGroup.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamReadGroupDictionary.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamSequence.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/SamSequenceDictionary.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/build.make +677 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/cmake_clean.cmake +33 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/depend.internal +295 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/depend.make +295 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/flags.make +8 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamHeader_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamIndexFactory_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamMultiReader_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamRandomAccessController_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamReader_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamStandardIndex_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamToolsIndex_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BamWriter_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/BgzfStream_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/SamFormatParser_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/SamFormatPrinter_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/internal/SamHeaderValidator_p.cpp.o +0 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/link.txt +1 -0
- data/ext/bamtools/src/api/CMakeFiles/BamTools.dir/progress.make +24 -0
- data/ext/bamtools/src/api/CMakeFiles/CMakeDirectoryInformation.cmake +22 -0
- data/ext/bamtools/src/api/CMakeFiles/progress.marks +1 -0
- data/ext/bamtools/src/api/CMakeLists.txt +78 -0
- data/ext/bamtools/src/api/Makefile +902 -0
- data/ext/bamtools/src/api/SamConstants.h +95 -0
- data/ext/bamtools/src/api/SamHeader.cpp +184 -0
- data/ext/bamtools/src/api/SamHeader.h +68 -0
- data/ext/bamtools/src/api/SamProgram.cpp +139 -0
- data/ext/bamtools/src/api/SamProgram.h +61 -0
- data/ext/bamtools/src/api/SamProgramChain.cpp +351 -0
- data/ext/bamtools/src/api/SamProgramChain.h +85 -0
- data/ext/bamtools/src/api/SamReadGroup.cpp +221 -0
- data/ext/bamtools/src/api/SamReadGroup.h +68 -0
- data/ext/bamtools/src/api/SamReadGroupDictionary.cpp +289 -0
- data/ext/bamtools/src/api/SamReadGroupDictionary.h +86 -0
- data/ext/bamtools/src/api/SamSequence.cpp +161 -0
- data/ext/bamtools/src/api/SamSequence.h +60 -0
- data/ext/bamtools/src/api/SamSequenceDictionary.cpp +292 -0
- data/ext/bamtools/src/api/SamSequenceDictionary.h +88 -0
- data/ext/bamtools/src/api/api_global.h +21 -0
- data/ext/bamtools/src/api/cmake_install.cmake +122 -0
- data/ext/bamtools/src/api/internal/BamHeader_p.cpp +132 -0
- data/ext/bamtools/src/api/internal/BamHeader_p.h +71 -0
- data/ext/bamtools/src/api/internal/BamIndexFactory_p.cpp +112 -0
- data/ext/bamtools/src/api/internal/BamIndexFactory_p.h +49 -0
- data/ext/bamtools/src/api/internal/BamMultiMerger_p.h +297 -0
- data/ext/bamtools/src/api/internal/BamMultiReader_p.cpp +805 -0
- data/ext/bamtools/src/api/internal/BamMultiReader_p.h +103 -0
- data/ext/bamtools/src/api/internal/BamRandomAccessController_p.cpp +272 -0
- data/ext/bamtools/src/api/internal/BamRandomAccessController_p.h +93 -0
- data/ext/bamtools/src/api/internal/BamReader_p.cpp +380 -0
- data/ext/bamtools/src/api/internal/BamReader_p.h +112 -0
- data/ext/bamtools/src/api/internal/BamStandardIndex_p.cpp +986 -0
- data/ext/bamtools/src/api/internal/BamStandardIndex_p.h +236 -0
- data/ext/bamtools/src/api/internal/BamToolsIndex_p.cpp +641 -0
- data/ext/bamtools/src/api/internal/BamToolsIndex_p.h +187 -0
- data/ext/bamtools/src/api/internal/BamWriter_p.cpp +424 -0
- data/ext/bamtools/src/api/internal/BamWriter_p.h +66 -0
- data/ext/bamtools/src/api/internal/BgzfStream_p.cpp +438 -0
- data/ext/bamtools/src/api/internal/BgzfStream_p.h +108 -0
- data/ext/bamtools/src/api/internal/SamFormatParser_p.cpp +230 -0
- data/ext/bamtools/src/api/internal/SamFormatParser_p.h +61 -0
- data/ext/bamtools/src/api/internal/SamFormatPrinter_p.cpp +210 -0
- data/ext/bamtools/src/api/internal/SamFormatPrinter_p.h +60 -0
- data/ext/bamtools/src/api/internal/SamHeaderValidator_p.cpp +510 -0
- data/ext/bamtools/src/api/internal/SamHeaderValidator_p.h +101 -0
- data/ext/bamtools/src/api/internal/SamHeaderVersion_p.h +134 -0
- data/ext/bamtools/src/cmake_install.cmake +42 -0
- data/ext/bamtools/src/shared/bamtools_global.h +78 -0
- data/ext/bamtools/src/third_party/CMakeFiles/CMakeDirectoryInformation.cmake +22 -0
- data/ext/bamtools/src/third_party/CMakeFiles/progress.marks +1 -0
- data/ext/bamtools/src/third_party/CMakeLists.txt +10 -0
- data/ext/bamtools/src/third_party/Makefile +167 -0
- data/ext/bamtools/src/third_party/cmake_install.cmake +35 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/CMakeDirectoryInformation.cmake +22 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/CXX.includecache +144 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/DependInfo.cmake +27 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/build.make +157 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/cmake_clean.cmake +13 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/depend.internal +31 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/depend.make +31 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/flags.make +8 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/json_reader.cpp.o +0 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/json_value.cpp.o +0 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/json_writer.cpp.o +0 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/link.txt +1 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/jsoncpp.dir/progress.make +4 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeFiles/progress.marks +1 -0
- data/ext/bamtools/src/third_party/jsoncpp/CMakeLists.txt +23 -0
- data/ext/bamtools/src/third_party/jsoncpp/LICENSE +55 -0
- data/ext/bamtools/src/third_party/jsoncpp/Makefile +263 -0
- data/ext/bamtools/src/third_party/jsoncpp/cmake_install.cmake +29 -0
- data/ext/bamtools/src/third_party/jsoncpp/json.h +15 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_batchallocator.h +130 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_config.h +42 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_features.h +47 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_forwards.h +42 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_internalarray.inl +453 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_internalmap.inl +612 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_reader.cpp +870 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_reader.h +201 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_tool.h +93 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_value.cpp +1701 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_value.h +1059 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_valueiterator.inl +297 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_writer.cpp +819 -0
- data/ext/bamtools/src/third_party/jsoncpp/json_writer.h +179 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/CMakeDirectoryInformation.cmake +25 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/CXX.includecache +698 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/DependInfo.cmake +34 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_convert.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_count.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_coverage.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_filter.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_header.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_index.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_merge.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_random.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_resolve.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_revert.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_sort.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_split.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/bamtools_stats.cpp.o +0 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/build.make +447 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/cmake_clean.cmake +24 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/depend.internal +319 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/depend.make +319 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/flags.make +8 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/link.txt +1 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/bamtools_cmd.dir/progress.make +15 -0
- data/ext/bamtools/src/toolkit/CMakeFiles/progress.marks +1 -0
- data/ext/bamtools/src/toolkit/CMakeLists.txt +44 -0
- data/ext/bamtools/src/toolkit/Makefile +560 -0
- data/ext/bamtools/src/toolkit/bamtools.cpp +163 -0
- data/ext/bamtools/src/toolkit/bamtools_convert.cpp +888 -0
- data/ext/bamtools/src/toolkit/bamtools_convert.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_count.cpp +187 -0
- data/ext/bamtools/src/toolkit/bamtools_count.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_coverage.cpp +196 -0
- data/ext/bamtools/src/toolkit/bamtools_coverage.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_filter.cpp +911 -0
- data/ext/bamtools/src/toolkit/bamtools_filter.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_header.cpp +122 -0
- data/ext/bamtools/src/toolkit/bamtools_header.h +38 -0
- data/ext/bamtools/src/toolkit/bamtools_index.cpp +126 -0
- data/ext/bamtools/src/toolkit/bamtools_index.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_merge.cpp +221 -0
- data/ext/bamtools/src/toolkit/bamtools_merge.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_random.cpp +255 -0
- data/ext/bamtools/src/toolkit/bamtools_random.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_resolve.cpp +1396 -0
- data/ext/bamtools/src/toolkit/bamtools_resolve.h +42 -0
- data/ext/bamtools/src/toolkit/bamtools_revert.cpp +194 -0
- data/ext/bamtools/src/toolkit/bamtools_revert.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_sort.cpp +410 -0
- data/ext/bamtools/src/toolkit/bamtools_sort.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_split.cpp +551 -0
- data/ext/bamtools/src/toolkit/bamtools_split.h +38 -0
- data/ext/bamtools/src/toolkit/bamtools_stats.cpp +286 -0
- data/ext/bamtools/src/toolkit/bamtools_stats.h +37 -0
- data/ext/bamtools/src/toolkit/bamtools_tool.h +35 -0
- data/ext/bamtools/src/toolkit/bamtools_version.h +20 -0
- data/ext/bamtools/src/toolkit/bamtools_version.h.in +20 -0
- data/ext/bamtools/src/toolkit/cmake_install.cmake +52 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/CXX.includecache +250 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/DependInfo.cmake +29 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/bamtools_fasta.cpp.o +0 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/bamtools_options.cpp.o +0 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/bamtools_pileup_engine.cpp.o +0 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/bamtools_utilities.cpp.o +0 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/build.make +184 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/cmake_clean.cmake +14 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/depend.internal +40 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/depend.make +40 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/flags.make +8 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/link.txt +1 -0
- data/ext/bamtools/src/utils/CMakeFiles/BamTools-utils.dir/progress.make +5 -0
- data/ext/bamtools/src/utils/CMakeFiles/CMakeDirectoryInformation.cmake +23 -0
- data/ext/bamtools/src/utils/CMakeFiles/progress.marks +1 -0
- data/ext/bamtools/src/utils/CMakeLists.txt +30 -0
- data/ext/bamtools/src/utils/Makefile +290 -0
- data/ext/bamtools/src/utils/bamtools_fasta.cpp +632 -0
- data/ext/bamtools/src/utils/bamtools_fasta.h +47 -0
- data/ext/bamtools/src/utils/bamtools_filter_engine.h +552 -0
- data/ext/bamtools/src/utils/bamtools_filter_properties.h +195 -0
- data/ext/bamtools/src/utils/bamtools_filter_ruleparser.h +319 -0
- data/ext/bamtools/src/utils/bamtools_options.cpp +287 -0
- data/ext/bamtools/src/utils/bamtools_options.h +213 -0
- data/ext/bamtools/src/utils/bamtools_pileup_engine.cpp +327 -0
- data/ext/bamtools/src/utils/bamtools_pileup_engine.h +94 -0
- data/ext/bamtools/src/utils/bamtools_utilities.cpp +333 -0
- data/ext/bamtools/src/utils/bamtools_utilities.h +67 -0
- data/ext/bamtools/src/utils/bamtools_variant.h +128 -0
- data/ext/bamtools/src/utils/cmake_install.cmake +29 -0
- data/ext/bamtools/src/utils/utils_global.h +21 -0
- data/lib/ngs_server/version.rb +3 -0
- data/lib/ngs_server.rb +3 -0
- data/ngs_server.gemspec +23 -0
- metadata +339 -0
@@ -0,0 +1,286 @@
|
|
1
|
+
// ***************************************************************************
|
2
|
+
// bamtools_cpp (c) 2010 Derek Barnett, Erik Garrison
|
3
|
+
// Marth Lab, Department of Biology, Boston College
|
4
|
+
// ---------------------------------------------------------------------------
|
5
|
+
// Last modified: 7 April 2011
|
6
|
+
// ---------------------------------------------------------------------------
|
7
|
+
// Prints general alignment statistics for BAM file(s).
|
8
|
+
// ***************************************************************************
|
9
|
+
|
10
|
+
#include "bamtools_stats.h"
|
11
|
+
|
12
|
+
#include <api/BamMultiReader.h>
|
13
|
+
#include <utils/bamtools_options.h>
|
14
|
+
using namespace BamTools;
|
15
|
+
|
16
|
+
#include <cmath>
|
17
|
+
#include <algorithm>
|
18
|
+
#include <functional>
|
19
|
+
#include <iostream>
|
20
|
+
#include <numeric>
|
21
|
+
#include <string>
|
22
|
+
#include <vector>
|
23
|
+
using namespace std;
|
24
|
+
|
25
|
+
// ---------------------------------------------
|
26
|
+
// StatsSettings implementation
|
27
|
+
|
28
|
+
struct StatsTool::StatsSettings {
|
29
|
+
|
30
|
+
// flags
|
31
|
+
bool HasInput;
|
32
|
+
bool IsShowingInsertSizeSummary;
|
33
|
+
|
34
|
+
// filenames
|
35
|
+
vector<string> InputFiles;
|
36
|
+
|
37
|
+
// constructor
|
38
|
+
StatsSettings(void)
|
39
|
+
: HasInput(false)
|
40
|
+
, IsShowingInsertSizeSummary(false)
|
41
|
+
{ }
|
42
|
+
};
|
43
|
+
|
44
|
+
// ---------------------------------------------
|
45
|
+
// StatsToolPrivate implementation
|
46
|
+
|
47
|
+
struct StatsTool::StatsToolPrivate {
|
48
|
+
|
49
|
+
// ctor & dtor
|
50
|
+
public:
|
51
|
+
StatsToolPrivate(StatsTool::StatsSettings* _settings);
|
52
|
+
~StatsToolPrivate(void) { }
|
53
|
+
|
54
|
+
// 'public' interface
|
55
|
+
public:
|
56
|
+
bool Run(void);
|
57
|
+
|
58
|
+
// internal methods
|
59
|
+
private:
|
60
|
+
bool CalculateMedian(vector<int>& data, double& median);
|
61
|
+
void PrintStats(void);
|
62
|
+
void ProcessAlignment(const BamAlignment& al);
|
63
|
+
|
64
|
+
// data members
|
65
|
+
private:
|
66
|
+
StatsTool::StatsSettings* m_settings;
|
67
|
+
unsigned int m_numReads;
|
68
|
+
unsigned int m_numPaired;
|
69
|
+
unsigned int m_numProperPair;
|
70
|
+
unsigned int m_numMapped;
|
71
|
+
unsigned int m_numBothMatesMapped;
|
72
|
+
unsigned int m_numForwardStrand;
|
73
|
+
unsigned int m_numReverseStrand;
|
74
|
+
unsigned int m_numFirstMate;
|
75
|
+
unsigned int m_numSecondMate;
|
76
|
+
unsigned int m_numSingletons;
|
77
|
+
unsigned int m_numFailedQC;
|
78
|
+
unsigned int m_numDuplicates;
|
79
|
+
vector<int> m_insertSizes;
|
80
|
+
};
|
81
|
+
|
82
|
+
StatsTool::StatsToolPrivate::StatsToolPrivate(StatsTool::StatsSettings* settings)
|
83
|
+
: m_settings(settings)
|
84
|
+
, m_numReads(0)
|
85
|
+
, m_numPaired(0)
|
86
|
+
, m_numProperPair(0)
|
87
|
+
, m_numMapped(0)
|
88
|
+
, m_numBothMatesMapped(0)
|
89
|
+
, m_numForwardStrand(0)
|
90
|
+
, m_numReverseStrand(0)
|
91
|
+
, m_numFirstMate(0)
|
92
|
+
, m_numSecondMate(0)
|
93
|
+
, m_numSingletons(0)
|
94
|
+
, m_numFailedQC(0)
|
95
|
+
, m_numDuplicates(0)
|
96
|
+
{
|
97
|
+
m_insertSizes.reserve(100000);
|
98
|
+
}
|
99
|
+
|
100
|
+
// median is of type double because in the case of even number of data elements,
|
101
|
+
// we need to return the average of middle 2 elements
|
102
|
+
bool StatsTool::StatsToolPrivate::CalculateMedian(vector<int>& data, double& median) {
|
103
|
+
|
104
|
+
// skip if data empty
|
105
|
+
if ( data.empty() ) return false;
|
106
|
+
|
107
|
+
// find middle element
|
108
|
+
size_t middleIndex = data.size() / 2;
|
109
|
+
vector<int>::iterator target = data.begin() + middleIndex;
|
110
|
+
nth_element(data.begin(), target, data.end());
|
111
|
+
|
112
|
+
// odd number of elements
|
113
|
+
if ( (data.size() % 2) != 0) {
|
114
|
+
median = (double)(*target);
|
115
|
+
return true;
|
116
|
+
}
|
117
|
+
|
118
|
+
// even number of elements
|
119
|
+
else {
|
120
|
+
double rightTarget = (double)(*target);
|
121
|
+
vector<int>::iterator leftTarget = target - 1;
|
122
|
+
nth_element(data.begin(), leftTarget, data.end());
|
123
|
+
median = (double)((rightTarget+*leftTarget)/2.0);
|
124
|
+
return true;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
// print BAM file alignment stats
|
129
|
+
void StatsTool::StatsToolPrivate::PrintStats(void) {
|
130
|
+
|
131
|
+
cout << endl;
|
132
|
+
cout << "**********************************************" << endl;
|
133
|
+
cout << "Stats for BAM file(s): " << endl;
|
134
|
+
cout << "**********************************************" << endl;
|
135
|
+
cout << endl;
|
136
|
+
cout << "Total reads: " << m_numReads << endl;
|
137
|
+
cout << "Mapped reads: " << m_numMapped << "\t(" << ((float)m_numMapped/m_numReads)*100 << "%)" << endl;
|
138
|
+
cout << "Forward strand: " << m_numForwardStrand << "\t(" << ((float)m_numForwardStrand/m_numReads)*100 << "%)" << endl;
|
139
|
+
cout << "Reverse strand: " << m_numReverseStrand << "\t(" << ((float)m_numReverseStrand/m_numReads)*100 << "%)" << endl;
|
140
|
+
cout << "Failed QC: " << m_numFailedQC << "\t(" << ((float)m_numFailedQC/m_numReads)*100 << "%)" << endl;
|
141
|
+
cout << "Duplicates: " << m_numDuplicates << "\t(" << ((float)m_numDuplicates/m_numReads)*100 << "%)" << endl;
|
142
|
+
cout << "Paired-end reads: " << m_numPaired << "\t(" << ((float)m_numPaired/m_numReads)*100 << "%)" << endl;
|
143
|
+
|
144
|
+
if ( m_numPaired != 0 ) {
|
145
|
+
cout << "'Proper-pairs': " << m_numProperPair << "\t(" << ((float)m_numProperPair/m_numPaired)*100 << "%)" << endl;
|
146
|
+
cout << "Both pairs mapped: " << m_numBothMatesMapped << "\t(" << ((float)m_numBothMatesMapped/m_numPaired)*100 << "%)" << endl;
|
147
|
+
cout << "Read 1: " << m_numFirstMate << endl;
|
148
|
+
cout << "Read 2: " << m_numSecondMate << endl;
|
149
|
+
cout << "Singletons: " << m_numSingletons << "\t(" << ((float)m_numSingletons/m_numPaired)*100 << "%)" << endl;
|
150
|
+
}
|
151
|
+
|
152
|
+
if ( m_settings->IsShowingInsertSizeSummary ) {
|
153
|
+
|
154
|
+
double avgInsertSize = 0.0;
|
155
|
+
if ( !m_insertSizes.empty() ) {
|
156
|
+
avgInsertSize = ( accumulate(m_insertSizes.begin(), m_insertSizes.end(), 0.0) / (double)m_insertSizes.size() );
|
157
|
+
cout << "Average insert size (absolute value): " << avgInsertSize << endl;
|
158
|
+
}
|
159
|
+
|
160
|
+
double medianInsertSize = 0.0;
|
161
|
+
if ( CalculateMedian(m_insertSizes, medianInsertSize) )
|
162
|
+
cout << "Median insert size (absolute value): " << medianInsertSize << endl;
|
163
|
+
}
|
164
|
+
cout << endl;
|
165
|
+
}
|
166
|
+
|
167
|
+
// use current input alignment to update BAM file alignment stats
|
168
|
+
void StatsTool::StatsToolPrivate::ProcessAlignment(const BamAlignment& al) {
|
169
|
+
|
170
|
+
// increment total alignment counter
|
171
|
+
++m_numReads;
|
172
|
+
|
173
|
+
// incrememt counters for pairing-independent flags
|
174
|
+
if ( al.IsDuplicate() ) ++m_numDuplicates;
|
175
|
+
if ( al.IsFailedQC() ) ++m_numFailedQC;
|
176
|
+
if ( al.IsMapped() ) ++m_numMapped;
|
177
|
+
|
178
|
+
// increment strand counters
|
179
|
+
if ( al.IsReverseStrand() )
|
180
|
+
++m_numReverseStrand;
|
181
|
+
else
|
182
|
+
++m_numForwardStrand;
|
183
|
+
|
184
|
+
// if alignment is paired-end
|
185
|
+
if ( al.IsPaired() ) {
|
186
|
+
|
187
|
+
// increment PE counter
|
188
|
+
++m_numPaired;
|
189
|
+
|
190
|
+
// increment first mate/second mate counters
|
191
|
+
if ( al.IsFirstMate() ) ++m_numFirstMate;
|
192
|
+
if ( al.IsSecondMate() ) ++m_numSecondMate;
|
193
|
+
|
194
|
+
// if alignment is mapped, check mate status
|
195
|
+
if ( al.IsMapped() ) {
|
196
|
+
// if mate mapped
|
197
|
+
if ( al.IsMateMapped() )
|
198
|
+
++m_numBothMatesMapped;
|
199
|
+
// else singleton
|
200
|
+
else
|
201
|
+
++m_numSingletons;
|
202
|
+
}
|
203
|
+
|
204
|
+
// check for explicit proper pair flag
|
205
|
+
if ( al.IsProperPair() ) ++m_numProperPair;
|
206
|
+
|
207
|
+
// store insert size for first mate
|
208
|
+
if ( m_settings->IsShowingInsertSizeSummary && al.IsFirstMate() && (al.InsertSize != 0) ) {
|
209
|
+
int insertSize = abs(al.InsertSize);
|
210
|
+
m_insertSizes.push_back( insertSize );
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
bool StatsTool::StatsToolPrivate::Run() {
|
216
|
+
|
217
|
+
// set to default input if none provided
|
218
|
+
if ( !m_settings->HasInput )
|
219
|
+
m_settings->InputFiles.push_back(Options::StandardIn());
|
220
|
+
|
221
|
+
// open the BAM files
|
222
|
+
BamMultiReader reader;
|
223
|
+
if ( !reader.Open(m_settings->InputFiles) ) {
|
224
|
+
cerr << "bamtools stats ERROR: could not open input BAM file(s)... Aborting." << endl;
|
225
|
+
reader.Close();
|
226
|
+
return false;
|
227
|
+
}
|
228
|
+
|
229
|
+
// plow through alignments, keeping track of stats
|
230
|
+
BamAlignment al;
|
231
|
+
while ( reader.GetNextAlignmentCore(al) )
|
232
|
+
ProcessAlignment(al);
|
233
|
+
reader.Close();
|
234
|
+
|
235
|
+
// print stats & exit
|
236
|
+
PrintStats();
|
237
|
+
return true;
|
238
|
+
}
|
239
|
+
|
240
|
+
// ---------------------------------------------
|
241
|
+
// StatsTool implementation
|
242
|
+
|
243
|
+
StatsTool::StatsTool(void)
|
244
|
+
: AbstractTool()
|
245
|
+
, m_settings(new StatsSettings)
|
246
|
+
, m_impl(0)
|
247
|
+
{
|
248
|
+
// set program details
|
249
|
+
Options::SetProgramInfo("bamtools stats", "prints general alignment statistics", "[-in <filename> -in <filename> ...] [statsOptions]");
|
250
|
+
|
251
|
+
// set up options
|
252
|
+
OptionGroup* IO_Opts = Options::CreateOptionGroup("Input & Output");
|
253
|
+
Options::AddValueOption("-in", "BAM filename", "the input BAM file", "", m_settings->HasInput, m_settings->InputFiles, IO_Opts, Options::StandardIn());
|
254
|
+
|
255
|
+
OptionGroup* AdditionalOpts = Options::CreateOptionGroup("Additional Stats");
|
256
|
+
Options::AddOption("-insert", "summarize insert size data", m_settings->IsShowingInsertSizeSummary, AdditionalOpts);
|
257
|
+
}
|
258
|
+
|
259
|
+
StatsTool::~StatsTool(void) {
|
260
|
+
|
261
|
+
delete m_settings;
|
262
|
+
m_settings = 0;
|
263
|
+
|
264
|
+
delete m_impl;
|
265
|
+
m_impl = 0;
|
266
|
+
}
|
267
|
+
|
268
|
+
int StatsTool::Help(void) {
|
269
|
+
Options::DisplayHelp();
|
270
|
+
return 0;
|
271
|
+
}
|
272
|
+
|
273
|
+
int StatsTool::Run(int argc, char* argv[]) {
|
274
|
+
|
275
|
+
// parse command line arguments
|
276
|
+
Options::Parse(argc, argv, 1);
|
277
|
+
|
278
|
+
// initialize StatsTool with settings
|
279
|
+
m_impl = new StatsToolPrivate(m_settings);
|
280
|
+
|
281
|
+
// run StatsTool, return success/fail
|
282
|
+
if ( m_impl->Run() )
|
283
|
+
return 0;
|
284
|
+
else
|
285
|
+
return 1;
|
286
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// ***************************************************************************
|
2
|
+
// bamtools_stats.h (c) 2010 Derek Barnett, Erik Garrison
|
3
|
+
// Marth Lab, Department of Biology, Boston College
|
4
|
+
// ---------------------------------------------------------------------------
|
5
|
+
// Last modified: 7 April 2011
|
6
|
+
// ---------------------------------------------------------------------------
|
7
|
+
// Prints general statistics for a single BAM file
|
8
|
+
// ***************************************************************************
|
9
|
+
|
10
|
+
#ifndef BAMTOOLS_STATS_H
|
11
|
+
#define BAMTOOLS_STATS_H
|
12
|
+
|
13
|
+
#include "bamtools_tool.h"
|
14
|
+
|
15
|
+
namespace BamTools {
|
16
|
+
|
17
|
+
class StatsTool : public AbstractTool {
|
18
|
+
|
19
|
+
public:
|
20
|
+
StatsTool(void);
|
21
|
+
~StatsTool(void);
|
22
|
+
|
23
|
+
public:
|
24
|
+
int Help(void);
|
25
|
+
int Run(int argc, char* argv[]);
|
26
|
+
|
27
|
+
private:
|
28
|
+
struct StatsSettings;
|
29
|
+
StatsSettings* m_settings;
|
30
|
+
|
31
|
+
struct StatsToolPrivate;
|
32
|
+
StatsToolPrivate* m_impl;
|
33
|
+
};
|
34
|
+
|
35
|
+
} // namespace BamTools
|
36
|
+
|
37
|
+
#endif // BAMTOOLS_STATS_H
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// ***************************************************************************
|
2
|
+
// bamtools_tool.h (c) 2010 Derek Barnett, Erik Garrison
|
3
|
+
// Marth Lab, Department of Biology, Boston College
|
4
|
+
// ---------------------------------------------------------------------------
|
5
|
+
// Last modified: 2 June 2010
|
6
|
+
// ---------------------------------------------------------------------------
|
7
|
+
// Base class for all other BamTools sub-tools
|
8
|
+
// All derived classes must provide Help() and Run() methods
|
9
|
+
// ***************************************************************************
|
10
|
+
|
11
|
+
#ifndef BAMTOOLS_ABSTRACTTOOL_H
|
12
|
+
#define BAMTOOLS_ABSTRACTTOOL_H
|
13
|
+
|
14
|
+
#include <string>
|
15
|
+
|
16
|
+
namespace BamTools {
|
17
|
+
|
18
|
+
class AbstractTool {
|
19
|
+
|
20
|
+
public:
|
21
|
+
AbstractTool(void) { }
|
22
|
+
virtual ~AbstractTool(void) { }
|
23
|
+
|
24
|
+
public:
|
25
|
+
virtual int Help(void) =0;
|
26
|
+
virtual int Run(int argc, char* argv[]) =0;
|
27
|
+
|
28
|
+
// derived classes should also provide:
|
29
|
+
// static std::string Description(void);
|
30
|
+
// static std::String Name(void);
|
31
|
+
};
|
32
|
+
|
33
|
+
} // namespace BamTools
|
34
|
+
|
35
|
+
#endif // BAMTOOLS_ABSTRACTTOOL_H
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// ***************************************************************************
|
2
|
+
// bamtools_version.h.in (c) 2010 Derek Barnett
|
3
|
+
// Marth Lab, Department of Biology, Boston College
|
4
|
+
// ---------------------------------------------------------------------------
|
5
|
+
// Last modified: 19 November 2010 (DB)
|
6
|
+
// ---------------------------------------------------------------------------
|
7
|
+
// Provides version information for the BamTools toolkit.
|
8
|
+
// ***************************************************************************
|
9
|
+
|
10
|
+
#ifndef BAMTOOLS_VERSION_H
|
11
|
+
#define BAMTOOLS_VERSION_H
|
12
|
+
|
13
|
+
// CMake uses this file as a template to generate "bamtools_version.h".
|
14
|
+
// These constants are defined to match the variables set in the build system.
|
15
|
+
#define BAMTOOLS_VERSION_MAJOR 1
|
16
|
+
#define BAMTOOLS_VERSION_MINOR 0
|
17
|
+
#define BAMTOOLS_VERSION_BUILD 2
|
18
|
+
|
19
|
+
#endif // BAMTOOLS_VERSION_H
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// ***************************************************************************
|
2
|
+
// bamtools_version.h.in (c) 2010 Derek Barnett
|
3
|
+
// Marth Lab, Department of Biology, Boston College
|
4
|
+
// ---------------------------------------------------------------------------
|
5
|
+
// Last modified: 19 November 2010 (DB)
|
6
|
+
// ---------------------------------------------------------------------------
|
7
|
+
// Provides version information for the BamTools toolkit.
|
8
|
+
// ***************************************************************************
|
9
|
+
|
10
|
+
#ifndef BAMTOOLS_VERSION_H
|
11
|
+
#define BAMTOOLS_VERSION_H
|
12
|
+
|
13
|
+
// CMake uses this file as a template to generate "bamtools_version.h".
|
14
|
+
// These constants are defined to match the variables set in the build system.
|
15
|
+
#define BAMTOOLS_VERSION_MAJOR @BamTools_VERSION_MAJOR@
|
16
|
+
#define BAMTOOLS_VERSION_MINOR @BamTools_VERSION_MINOR@
|
17
|
+
#define BAMTOOLS_VERSION_BUILD @BamTools_VERSION_BUILD@
|
18
|
+
|
19
|
+
#endif // BAMTOOLS_VERSION_H
|
20
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# Install script for directory: /Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/src/toolkit
|
2
|
+
|
3
|
+
# Set the install prefix
|
4
|
+
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
5
|
+
SET(CMAKE_INSTALL_PREFIX "/usr/local")
|
6
|
+
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
7
|
+
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
8
|
+
|
9
|
+
# Set the install configuration name.
|
10
|
+
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
11
|
+
IF(BUILD_TYPE)
|
12
|
+
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
13
|
+
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
14
|
+
ELSE(BUILD_TYPE)
|
15
|
+
SET(CMAKE_INSTALL_CONFIG_NAME "Release")
|
16
|
+
ENDIF(BUILD_TYPE)
|
17
|
+
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
18
|
+
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
19
|
+
|
20
|
+
# Set the component getting installed.
|
21
|
+
IF(NOT CMAKE_INSTALL_COMPONENT)
|
22
|
+
IF(COMPONENT)
|
23
|
+
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
|
24
|
+
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
25
|
+
ELSE(COMPONENT)
|
26
|
+
SET(CMAKE_INSTALL_COMPONENT)
|
27
|
+
ENDIF(COMPONENT)
|
28
|
+
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
|
29
|
+
|
30
|
+
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
31
|
+
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES
|
32
|
+
"/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/bin/bamtools-1.0.2"
|
33
|
+
"/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/bin/bamtools"
|
34
|
+
)
|
35
|
+
FOREACH(file
|
36
|
+
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/bamtools-1.0.2"
|
37
|
+
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/bamtools"
|
38
|
+
)
|
39
|
+
IF(EXISTS "${file}" AND
|
40
|
+
NOT IS_SYMLINK "${file}")
|
41
|
+
EXECUTE_PROCESS(COMMAND "/usr/bin/install_name_tool"
|
42
|
+
-change "/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/lib/libbamtools-utils.1.0.2.dylib" "libbamtools-utils.1.0.2.dylib"
|
43
|
+
-change "/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/lib/libbamtools.1.0.2.dylib" "libbamtools.1.0.2.dylib"
|
44
|
+
-change "/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/lib/libjsoncpp.1.0.0.dylib" "libjsoncpp.1.0.0.dylib"
|
45
|
+
"${file}")
|
46
|
+
IF(CMAKE_INSTALL_DO_STRIP)
|
47
|
+
EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "${file}")
|
48
|
+
ENDIF(CMAKE_INSTALL_DO_STRIP)
|
49
|
+
ENDIF()
|
50
|
+
ENDFOREACH()
|
51
|
+
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
|
52
|
+
|
@@ -0,0 +1,250 @@
|
|
1
|
+
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
2
|
+
|
3
|
+
#IncludeRegexScan: ^.*$
|
4
|
+
|
5
|
+
#IncludeRegexComplain: ^$
|
6
|
+
|
7
|
+
#IncludeRegexTransform:
|
8
|
+
|
9
|
+
/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/src/utils/bamtools_fasta.cpp
|
10
|
+
utils/bamtools_fasta.h
|
11
|
+
-
|
12
|
+
cstdio
|
13
|
+
-
|
14
|
+
cstdlib
|
15
|
+
-
|
16
|
+
cstring
|
17
|
+
-
|
18
|
+
fstream
|
19
|
+
-
|
20
|
+
iostream
|
21
|
+
-
|
22
|
+
sstream
|
23
|
+
-
|
24
|
+
vector
|
25
|
+
-
|
26
|
+
|
27
|
+
/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/src/utils/bamtools_options.cpp
|
28
|
+
utils/bamtools_options.h
|
29
|
+
-
|
30
|
+
cstdio
|
31
|
+
-
|
32
|
+
cstdlib
|
33
|
+
-
|
34
|
+
cstring
|
35
|
+
-
|
36
|
+
iomanip
|
37
|
+
-
|
38
|
+
sstream
|
39
|
+
-
|
40
|
+
|
41
|
+
/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/src/utils/bamtools_pileup_engine.cpp
|
42
|
+
utils/bamtools_pileup_engine.h
|
43
|
+
-
|
44
|
+
iostream
|
45
|
+
-
|
46
|
+
|
47
|
+
/Users/chase/Desktop/tmp_workspace/ngs_server/ext/bamtools/src/utils/bamtools_utilities.cpp
|
48
|
+
api/BamMultiReader.h
|
49
|
+
-
|
50
|
+
api/BamReader.h
|
51
|
+
-
|
52
|
+
utils/bamtools_utilities.h
|
53
|
+
-
|
54
|
+
algorithm
|
55
|
+
-
|
56
|
+
cstdlib
|
57
|
+
-
|
58
|
+
cstring
|
59
|
+
-
|
60
|
+
fstream
|
61
|
+
-
|
62
|
+
iostream
|
63
|
+
-
|
64
|
+
sstream
|
65
|
+
-
|
66
|
+
|
67
|
+
src/api/BamAlignment.h
|
68
|
+
api/api_global.h
|
69
|
+
-
|
70
|
+
api/BamAux.h
|
71
|
+
-
|
72
|
+
string
|
73
|
+
-
|
74
|
+
vector
|
75
|
+
-
|
76
|
+
|
77
|
+
src/api/BamAux.h
|
78
|
+
api/api_global.h
|
79
|
+
-
|
80
|
+
fstream
|
81
|
+
-
|
82
|
+
iostream
|
83
|
+
-
|
84
|
+
string
|
85
|
+
-
|
86
|
+
vector
|
87
|
+
-
|
88
|
+
|
89
|
+
src/api/BamIndex.h
|
90
|
+
api/api_global.h
|
91
|
+
-
|
92
|
+
api/BamAux.h
|
93
|
+
-
|
94
|
+
string
|
95
|
+
-
|
96
|
+
|
97
|
+
src/api/BamMultiReader.h
|
98
|
+
api/api_global.h
|
99
|
+
-
|
100
|
+
api/BamReader.h
|
101
|
+
-
|
102
|
+
map
|
103
|
+
-
|
104
|
+
sstream
|
105
|
+
-
|
106
|
+
string
|
107
|
+
-
|
108
|
+
utility
|
109
|
+
-
|
110
|
+
|
111
|
+
src/api/BamReader.h
|
112
|
+
api/api_global.h
|
113
|
+
-
|
114
|
+
api/BamAlignment.h
|
115
|
+
-
|
116
|
+
api/BamIndex.h
|
117
|
+
-
|
118
|
+
api/SamHeader.h
|
119
|
+
-
|
120
|
+
string
|
121
|
+
-
|
122
|
+
|
123
|
+
src/api/SamHeader.h
|
124
|
+
api/api_global.h
|
125
|
+
-
|
126
|
+
api/SamProgramChain.h
|
127
|
+
-
|
128
|
+
api/SamReadGroupDictionary.h
|
129
|
+
-
|
130
|
+
api/SamSequenceDictionary.h
|
131
|
+
-
|
132
|
+
string
|
133
|
+
-
|
134
|
+
vector
|
135
|
+
-
|
136
|
+
|
137
|
+
src/api/SamProgram.h
|
138
|
+
api/api_global.h
|
139
|
+
src/api/api/api_global.h
|
140
|
+
string
|
141
|
+
-
|
142
|
+
|
143
|
+
src/api/SamProgramChain.h
|
144
|
+
api/api_global.h
|
145
|
+
-
|
146
|
+
api/SamProgram.h
|
147
|
+
-
|
148
|
+
string
|
149
|
+
-
|
150
|
+
vector
|
151
|
+
-
|
152
|
+
|
153
|
+
src/api/SamReadGroup.h
|
154
|
+
api/api_global.h
|
155
|
+
src/api/api/api_global.h
|
156
|
+
string
|
157
|
+
-
|
158
|
+
|
159
|
+
src/api/SamReadGroupDictionary.h
|
160
|
+
api/api_global.h
|
161
|
+
-
|
162
|
+
api/SamReadGroup.h
|
163
|
+
-
|
164
|
+
string
|
165
|
+
-
|
166
|
+
vector
|
167
|
+
-
|
168
|
+
|
169
|
+
src/api/SamSequence.h
|
170
|
+
api/api_global.h
|
171
|
+
-
|
172
|
+
string
|
173
|
+
-
|
174
|
+
|
175
|
+
src/api/SamSequenceDictionary.h
|
176
|
+
api/api_global.h
|
177
|
+
-
|
178
|
+
api/SamSequence.h
|
179
|
+
-
|
180
|
+
string
|
181
|
+
-
|
182
|
+
map
|
183
|
+
-
|
184
|
+
vector
|
185
|
+
-
|
186
|
+
|
187
|
+
src/api/api_global.h
|
188
|
+
shared/bamtools_global.h
|
189
|
+
src/api/shared/bamtools_global.h
|
190
|
+
|
191
|
+
src/shared/bamtools_global.h
|
192
|
+
stdint.h
|
193
|
+
-
|
194
|
+
|
195
|
+
src/utils/bamtools_fasta.h
|
196
|
+
utils/utils_global.h
|
197
|
+
-
|
198
|
+
string
|
199
|
+
-
|
200
|
+
|
201
|
+
src/utils/bamtools_options.h
|
202
|
+
utils/bamtools_variant.h
|
203
|
+
-
|
204
|
+
utils/utils_global.h
|
205
|
+
-
|
206
|
+
map
|
207
|
+
-
|
208
|
+
string
|
209
|
+
-
|
210
|
+
vector
|
211
|
+
-
|
212
|
+
stdint.h
|
213
|
+
-
|
214
|
+
|
215
|
+
src/utils/bamtools_pileup_engine.h
|
216
|
+
api/BamAlignment.h
|
217
|
+
-
|
218
|
+
utils/utils_global.h
|
219
|
+
-
|
220
|
+
vector
|
221
|
+
-
|
222
|
+
|
223
|
+
src/utils/bamtools_utilities.h
|
224
|
+
api/BamAux.h
|
225
|
+
-
|
226
|
+
utils/utils_global.h
|
227
|
+
-
|
228
|
+
cassert
|
229
|
+
-
|
230
|
+
stdexcept
|
231
|
+
-
|
232
|
+
string
|
233
|
+
-
|
234
|
+
vector
|
235
|
+
-
|
236
|
+
|
237
|
+
src/utils/bamtools_variant.h
|
238
|
+
utils/utils_global.h
|
239
|
+
-
|
240
|
+
stdexcept
|
241
|
+
-
|
242
|
+
string
|
243
|
+
-
|
244
|
+
typeinfo
|
245
|
+
-
|
246
|
+
|
247
|
+
src/utils/utils_global.h
|
248
|
+
shared/bamtools_global.h
|
249
|
+
src/utils/shared/bamtools_global.h
|
250
|
+
|