├── data
├── tests
│ ├── Stress.txt
│ ├── applyVariants.txt
│ ├── WholeDir.txt
│ ├── expectedOutputs
│ │ ├── full_deletion.fa
│ │ ├── deletion.fa
│ │ ├── large_deletion.fa
│ │ ├── reversed_events.fa
│ │ ├── snp.fa
│ │ ├── inversion.fa
│ │ ├── indel.fa
│ │ ├── transloc_right.fa
│ │ ├── transloc_left.fa
│ │ ├── diploid_full_deletion.fa
│ │ ├── duplication.fa
│ │ └── diploid_deletion.fa
│ ├── givenInputs
│ │ ├── large_deletion.vcf
│ │ ├── indel.vcf
│ │ ├── conflict_deletion_translocation.vcf
│ │ ├── duplication.vcf
│ │ ├── reversed_events.vcf
│ │ ├── zygosity.vcf
│ │ ├── inversion.vcf
│ │ ├── snp.pl
│ │ ├── full_deletion.vcf
│ │ ├── transloc_left.vcf
│ │ ├── transloc_right.vcf
│ │ └── deletion.vcf
│ ├── Haploid.txt
│ └── Diploid.txt
├── Genomes
│ ├── acgt
│ │ ├── chr1.fa.fai
│ │ ├── chr2.fa.fai
│ │ ├── chr3.fa.fai
│ │ ├── chr4.fa.fai
│ │ ├── chr1.fa
│ │ ├── chr2.fa
│ │ ├── chr3.fa
│ │ ├── chr4.fa
│ │ └── genome_size.xml
│ ├── acgt.fa.fai
│ └── acgt.fa
├── Variants
│ ├── OneAtTelomere.vcf
│ ├── None.vcf
│ └── OneOfEachType.vcf
├── MismatchTables
│ ├── ZeroHomopolymerIndelTable.tsv
│ ├── ZeroMismatchTable.tsv
│ ├── DefaultMismatchTableWithoutIndels.tsv
│ ├── DefaultHomopolymerIndelTable.tsv
│ └── DefaultMismatchTable.tsv
├── MotifQualityDropTables
│ └── ZeroMotifQualityDropTable.tsv
├── RunInfo
│ ├── RunInfo_SingleRead1x1Tiles.xml
│ ├── RunInfo_SingleRead2x2Tiles.xml
│ ├── RunInfo_PairedReads1x1Tiles.xml
│ ├── RunInfo_PairedReads4x4Tiles.xml
│ ├── RunInfo_PairedReads2x151Cycles1x1Tiles.xml
│ ├── RunInfo_PairedReads2x251Cycles1x1Tiles.xml
│ ├── RunInfo_PairedReads2x251Cycles2x2Tiles.xml
│ ├── RunInfo_PairedReads2x251Cycles2x64Tiles.xml
│ ├── RunInfo_PairedReadsBarcode1x1Tiles.xml
│ ├── RunInfo_PairedReadsBarcode1x32Tiles.xml
│ └── RunInfo_PairedReadsBarcode8x32Tiles.xml
├── QualityTables
│ └── DefaultQQTable.tsv
└── GcCoverageFitTables
│ └── Homo_sapiens.example1.tsv
├── src
├── c++
│ ├── lib
│ │ ├── io
│ │ │ ├── cppunit
│ │ │ │ ├── RegistryNames.txt
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── testBcl.hh
│ │ │ │ └── testVcf.hh
│ │ │ ├── CMakeLists.txt
│ │ │ ├── Bam.cpp
│ │ │ └── BgzfCompressor.cpp
│ │ ├── common
│ │ │ ├── cppunit
│ │ │ │ ├── RegistryNames.txt
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── testLogger.hh
│ │ │ │ ├── testExceptions.hh
│ │ │ │ ├── testExceptions.cpp
│ │ │ │ └── testLogger.cpp
│ │ │ ├── CMakeLists.txt
│ │ │ ├── Logger.cpp
│ │ │ └── FileSystem.cpp
│ │ ├── genome
│ │ │ ├── cppunit
│ │ │ │ ├── RegistryNames.txt
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── testEnrichedFragment.hh
│ │ │ │ ├── testEnrichedFragment.cpp
│ │ │ │ ├── testVariantList.hh
│ │ │ │ └── testVariantList.cpp
│ │ │ ├── CMakeLists.txt
│ │ │ └── SharedFastaReference.cpp
│ │ ├── model
│ │ │ ├── cppunit
│ │ │ │ ├── RegistryNames.txt
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── testFragment.hh
│ │ │ │ ├── testFragment.cpp
│ │ │ │ ├── testPhred.hh
│ │ │ │ ├── testStructuralVariant.hh
│ │ │ │ ├── testGenotype.hh
│ │ │ │ ├── testContig.hh
│ │ │ │ ├── testIntervalGenerator.hh
│ │ │ │ └── testPhred.cpp
│ │ │ ├── Phred.cpp
│ │ │ ├── Nucleotides.cpp
│ │ │ └── CMakeLists.txt
│ │ ├── main
│ │ │ ├── CMakeLists.txt
│ │ │ ├── VcfComparatorOptions.cpp
│ │ │ └── RunFolderGeneratorOptions.cpp
│ │ └── CMakeLists.txt
│ ├── libexec
│ │ ├── diffBam
│ │ │ ├── CMakeLists.txt
│ │ │ ├── diffBam.cpp
│ │ │ ├── BamDiffOptions.hh
│ │ │ └── BamDiffOptions.cpp
│ │ ├── fastaDump
│ │ │ ├── CMakeLists.txt
│ │ │ ├── fastaDump.cpp
│ │ │ └── FastaDumperOptions.hh
│ │ ├── analyseBam
│ │ │ ├── CMakeLists.txt
│ │ │ ├── analyseBam.cpp
│ │ │ └── BamAnalyserOptions.hh
│ │ ├── analyseFastq
│ │ │ ├── CMakeLists.txt
│ │ │ ├── analyseFastq.cpp
│ │ │ └── FastqAnalyserOptions.hh
│ │ ├── simulateSequencer
│ │ │ ├── CMakeLists.txt
│ │ │ ├── simulateSequencer.cpp
│ │ │ └── SequencerSimulator.hh
│ │ ├── canonical2segments
│ │ │ ├── CMakeLists.txt
│ │ │ ├── canonical2segments.cpp
│ │ │ ├── CanonicalToSegmentsConverter.hh
│ │ │ ├── CanonicalToSegmentsConverterOptions.hh
│ │ │ └── CanonicalToSegmentsConverterOptions.cpp
│ │ ├── generateHomopolymerIndelVcf
│ │ │ ├── CMakeLists.txt
│ │ │ ├── generateHomopolymerIndelVcf.cpp
│ │ │ ├── HomopolymerIndelVcfGenerator.hh
│ │ │ ├── HomopolymerIndelVcfGeneratorOptions.hh
│ │ │ └── HomopolymerIndelVcfGeneratorOptions.cpp
│ │ └── CMakeLists.txt
│ ├── unittest
│ │ ├── CMakeLists.txt
│ │ ├── RegistryName.hh
│ │ ├── check-source.sh
│ │ ├── cppunitTest.cpp
│ │ └── RegistryName.cpp
│ ├── bin
│ │ ├── compareVcf.cpp
│ │ ├── createRunFolder.cpp
│ │ ├── allocateFragments.cpp
│ │ ├── CMakeLists.txt
│ │ └── applyVariants.cpp
│ └── include
│ │ ├── common
│ │ ├── FileSystem.hh
│ │ ├── Semaphore.hh
│ │ └── Logger.hh
│ │ ├── model
│ │ ├── StructuralVariantType.hh
│ │ ├── PassFilter.hh
│ │ └── Phred.hh
│ │ ├── main
│ │ ├── VcfComparator.hh
│ │ ├── VcfComparatorOptions.hh
│ │ ├── RunFolderGenerator.hh
│ │ ├── FragmentsAllocator.hh
│ │ └── FragmentsAllocatorOptions.hh
│ │ ├── genome
│ │ ├── TmpFastaReader.hh
│ │ └── GcContent.hh
│ │ └── io
│ │ ├── Fastq.hh
│ │ └── RunInfo.hh
├── bash
│ ├── test
│ │ ├── common.sh
│ │ ├── testWholeDir.sh.in
│ │ ├── testHaploid.sh.in
│ │ ├── testDiploid.sh.in
│ │ └── testStress.sh.in
│ ├── CMakeLists.txt
│ └── libexec
│ │ ├── CMakeLists.txt
│ │ └── getBclBases.sh
├── CTestConfig.cmake
├── cmake
│ ├── CTestCustom.cmake
│ ├── preInstall
│ │ ├── CMakeLists.txt
│ │ ├── copyrightAndChanges
│ │ │ └── CMakeLists.txt
│ │ └── checkTargetPathsWritable
│ │ │ ├── CMakeLists.txt
│ │ │ └── checkTargetPathWritable.cmake
│ ├── postInstall
│ │ └── CMakeLists.txt
│ ├── cxxExecutable.cmake
│ ├── bootstrap
│ │ ├── common.sh
│ │ ├── installLibzoo.sh
│ │ └── installBoost.sh
│ └── libzoo.cmake
├── perl
│ ├── lib
│ │ └── CMakeLists.txt
│ ├── libexec
│ │ └── CMakeLists.txt
│ └── CMakeLists.txt
├── makefiles
│ ├── CMakeLists.txt
│ ├── common.mk
│ └── assign.mk
└── analysis
│ └── cpp
│ └── add_translocations
│ ├── Makefile
│ ├── AddTranslocations.h
│ └── VcfVariant.h
├── doc
└── html
│ ├── EAGLE+-+Enhanced+Artificial+Genome+Engine.html
│ ├── images
│ └── icons
│ │ ├── bullet_blue.gif
│ │ └── grey_arrow_down.gif
│ └── attachments
│ ├── 1708520
│ ├── 1638714.png
│ ├── 1638715.png
│ ├── 1638793.jpg
│ ├── 1638795.jpg
│ ├── 1638796.jpg
│ ├── 1638797.jpg
│ ├── 1638798.jpg
│ └── 1638799.jpg
│ ├── 1708522
│ └── 1638685.png
│ ├── 1709470
│ ├── 1638717.png
│ ├── 1638719.png
│ └── 1638720.jpg
│ ├── 1709472
│ ├── 1638721.jpg
│ ├── 1638722.jpg
│ ├── 1638724.jpg
│ └── 1638727.png
│ ├── 1709653
│ └── 1638728.jpg
│ ├── 1709886
│ ├── 1638730.jpg
│ ├── 1638734.png
│ ├── 1638735.png
│ ├── 1638742.png
│ ├── 1638743.png
│ ├── 1638744.png
│ ├── 1638747.png
│ ├── 1638748.png
│ └── 1638749.pptx
│ ├── 1711055
│ └── 1638829.jpg
│ ├── 1711266
│ └── 1638821.jpg
│ ├── 1711448
│ └── 1638811.jpg
│ ├── 1711471
│ └── 1638813.jpg
│ ├── 1712127
│ └── 1638861.jpg
│ ├── 1712208
│ ├── 1638877.jpg
│ ├── 1638886.jpg
│ ├── 1638887.jpg
│ └── 1638896.jpg
│ ├── 1712626
│ └── 1638898.jpg
│ ├── 3834889
│ └── 4128824.jpg
│ ├── 3834925
│ ├── 4128825.jpg
│ └── 4128826.jpg
│ └── 3834936
│ └── 4128827.jpg
├── ChangeLog
├── redist
└── beetl-1.0.tar.bz2
├── validation
├── TestConfig
│ ├── test8.mk
│ ├── test6.mk
│ ├── test7.mk
│ ├── test2.mk
│ ├── test4.mk
│ ├── test5.mk
│ ├── testHuman3.mk
│ ├── test9.mk
│ ├── test3.mk
│ ├── testHuman1.mk
│ ├── test1.mk
│ └── testHuman2.mk
├── Makefile.in
└── CMakeLists.txt
├── LICENSE
└── README.md
/data/tests/Stress.txt:
--------------------------------------------------------------------------------
1 | snp
2 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr1.fa.fai:
--------------------------------------------------------------------------------
1 | chr1 280 6 70 71
2 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr2.fa.fai:
--------------------------------------------------------------------------------
1 | chr2 280 6 70 71
2 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr3.fa.fai:
--------------------------------------------------------------------------------
1 | chr3 280 6 70 71
2 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr4.fa.fai:
--------------------------------------------------------------------------------
1 | chr4 280 6 70 71
2 |
--------------------------------------------------------------------------------
/src/c++/lib/io/cppunit/RegistryNames.txt:
--------------------------------------------------------------------------------
1 | Bcl
2 | Vcf
3 |
--------------------------------------------------------------------------------
/doc/html/EAGLE+-+Enhanced+Artificial+Genome+Engine.html:
--------------------------------------------------------------------------------
1 | index.html
--------------------------------------------------------------------------------
/src/c++/lib/common/cppunit/RegistryNames.txt:
--------------------------------------------------------------------------------
1 | Exceptions
2 | Logger
--------------------------------------------------------------------------------
/ChangeLog:
--------------------------------------------------------------------------------
1 | 2014-08-28 First public release of EAGLE Version 2.0
2 |
--------------------------------------------------------------------------------
/data/tests/applyVariants.txt:
--------------------------------------------------------------------------------
1 | Stress
2 | Haploid
3 | Diploid
4 | WholeDir
5 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/cppunit/RegistryNames.txt:
--------------------------------------------------------------------------------
1 | VariantList
2 | EnrichedFragment
3 |
--------------------------------------------------------------------------------
/redist/beetl-1.0.tar.bz2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/redist/beetl-1.0.tar.bz2
--------------------------------------------------------------------------------
/data/Variants/OneAtTelomere.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr 1 . G T 0 PASS SVTYPE=SNP
3 |
--------------------------------------------------------------------------------
/data/MismatchTables/ZeroHomopolymerIndelTable.tsv:
--------------------------------------------------------------------------------
1 | #homopolymerSize deletionProb insertionProb
2 | 0 0.0 0.0
3 |
--------------------------------------------------------------------------------
/data/Genomes/acgt.fa.fai:
--------------------------------------------------------------------------------
1 | chr1 280 6 70 71
2 | chr2 280 296 70 71
3 | chr3 280 586 70 71
4 | chr4 280 876 70 71
5 |
--------------------------------------------------------------------------------
/data/tests/WholeDir.txt:
--------------------------------------------------------------------------------
1 | insertion
2 | deletion
3 | indel
4 | transloc_left
5 | transloc_right
6 | reversed_events
7 |
--------------------------------------------------------------------------------
/data/Variants/None.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | # This file is intentionally empty (test with no variants)
3 |
--------------------------------------------------------------------------------
/data/tests/expectedOutputs/full_deletion.fa:
--------------------------------------------------------------------------------
1 | >chr1_allele1
2 | A
3 | >chr2_allele1
4 | C
5 | >chr3_allele1
6 | >chr4_allele1
7 |
--------------------------------------------------------------------------------
/doc/html/images/icons/bullet_blue.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/images/icons/bullet_blue.gif
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638714.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638714.png
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638715.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638715.png
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638793.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638793.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638795.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638795.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638796.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638796.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638797.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638797.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638798.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638798.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1708520/1638799.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708520/1638799.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1708522/1638685.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1708522/1638685.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709470/1638717.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709470/1638717.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709470/1638719.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709470/1638719.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709470/1638720.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709470/1638720.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1709472/1638721.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709472/1638721.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1709472/1638722.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709472/1638722.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1709472/1638724.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709472/1638724.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1709472/1638727.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709472/1638727.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709653/1638728.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709653/1638728.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638730.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638730.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638734.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638734.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638735.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638735.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638742.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638742.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638743.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638743.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638744.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638744.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638747.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638747.png
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638748.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638748.png
--------------------------------------------------------------------------------
/doc/html/attachments/1711055/1638829.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1711055/1638829.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1711266/1638821.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1711266/1638821.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1711448/1638811.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1711448/1638811.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1711471/1638813.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1711471/1638813.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1712127/1638861.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1712127/1638861.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1712208/1638877.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1712208/1638877.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1712208/1638886.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1712208/1638886.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1712208/1638887.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1712208/1638887.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1712208/1638896.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1712208/1638896.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/1712626/1638898.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1712626/1638898.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/3834889/4128824.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/3834889/4128824.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/3834925/4128825.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/3834925/4128825.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/3834925/4128826.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/3834925/4128826.jpg
--------------------------------------------------------------------------------
/doc/html/attachments/3834936/4128827.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/3834936/4128827.jpg
--------------------------------------------------------------------------------
/data/MotifQualityDropTables/ZeroMotifQualityDropTable.tsv:
--------------------------------------------------------------------------------
1 | #Kmer repeatCount meanQualityAfter quality histogram pairs {quality:count}
2 |
--------------------------------------------------------------------------------
/doc/html/attachments/1709886/1638749.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/attachments/1709886/1638749.pptx
--------------------------------------------------------------------------------
/doc/html/images/icons/grey_arrow_down.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sequencing/EAGLE/HEAD/doc/html/images/icons/grey_arrow_down.gif
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/RegistryNames.txt:
--------------------------------------------------------------------------------
1 | Contig
2 | StructuralVariant
3 | Genotype
4 | IntervalGenerator
5 | Fragment
6 | Phred
7 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/large_deletion.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 20 . A A[chr1:261[ 0 PASS SVTYPE=DEL
3 | chr1 261 . T ]chr1:20]T 0 PASS SVTYPE=DEL
4 |
--------------------------------------------------------------------------------
/src/bash/test/common.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -o nounset
3 |
4 | catcher()
5 | {
6 | echo "Error detected"
7 | exit 1
8 | }
9 | trap catcher ERR
10 | trap catcher SIGSEGV
11 |
--------------------------------------------------------------------------------
/data/tests/Haploid.txt:
--------------------------------------------------------------------------------
1 | insertion
2 | deletion
3 | indel
4 | large_deletion
5 | transloc_left
6 | transloc_right
7 | reversed_events
8 | full_deletion
9 | inversion
10 | duplication
11 |
--------------------------------------------------------------------------------
/data/MismatchTables/ZeroMismatchTable.tsv:
--------------------------------------------------------------------------------
1 | # x x->A x->C x->G x->T del x->insertedA x->insertedC x->insertedG x->insertedT
2 | A 1 0 0 0 0 0 0 0 0
3 | C 0 1 0 0 0 0 0 0 0
4 | G 0 0 1 0 0 0 0 0 0
5 | T 0 0 0 1 0 0 0 0 0
6 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/indel.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 15 . AAAAAA ACCCCC 0 PASS SVTYPE=INDEL
3 | chr2 15 . CCCCCCCCC CTTTTT 0 PASS SVTYPE=INDEL
4 | chr3 15 . GGGGGG GAAAAAAAA 0 PASS SVTYPE=INDEL
5 |
--------------------------------------------------------------------------------
/data/tests/Diploid.txt:
--------------------------------------------------------------------------------
1 | insertion
2 | deletion
3 | indel
4 | large_deletion
5 | transloc_left
6 | transloc_right
7 | reversed_events
8 | full_deletion
9 | duplication
10 | zygosity
11 | conflict_deletion_translocation
12 |
--------------------------------------------------------------------------------
/data/MismatchTables/DefaultMismatchTableWithoutIndels.tsv:
--------------------------------------------------------------------------------
1 | # x x->A x->C x->G x->T del x->insertedA x->insertedC x->insertedG x->insertedT
2 | A 0 599620 781362 540031 0 0 0 0 0
3 | C 501568 0 395190 638686 0 0 0 0 0
4 | G 631820 405798 0 482292 0 0 0 0 0
5 | T 699284 878566 756130 0 0 0 0 0 0
6 |
--------------------------------------------------------------------------------
/data/Variants/OneOfEachType.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr 1000 . A ACGTACGTACGTACGT 0 PASS SVTYPE=INS
3 | chr 2000 . C T 0 PASS SVTYPE=SNP
4 | chr 4000 . GCGAACGAG G 0 PASS SVTYPE=DEL
5 | chr 5000 . C C[chr:10000[ 0 PASS SVTYPE=DEL
6 | chr 10000 . T ]chr:5000]T 0 PASS SVTYPE=DEL
7 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr1.fa:
--------------------------------------------------------------------------------
1 | >chr1
2 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
5 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
6 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr2.fa:
--------------------------------------------------------------------------------
1 | >chr2
2 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
3 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
4 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
6 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr3.fa:
--------------------------------------------------------------------------------
1 | >chr3
2 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
3 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
4 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
5 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
6 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/chr4.fa:
--------------------------------------------------------------------------------
1 | >chr4
2 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
3 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
4 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
5 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
6 |
--------------------------------------------------------------------------------
/data/Genomes/acgt/genome_size.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/data/MismatchTables/DefaultHomopolymerIndelTable.tsv:
--------------------------------------------------------------------------------
1 | #homopolymerSize deletionProb insertionProb
2 | 0 0.0 0.0
3 | 1 0.0 0.0
4 | 2 0.00001 0.000007
5 | 3 0.00001 0.000006
6 | 4 0.000006 0.000014
7 | 5 0.000024 0.000013
8 | 6 0.00014 0.00018
9 | 7 0.00070 0.00066
10 | 8 0.00068 0.00127
11 | 9 0.0015 0.0014
12 | 10 0.0020 0.0016
13 | 11 0.0033 0.0025
14 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/conflict_deletion_translocation.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | # deletion 60-95
3 | chr1 60 . AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA A 0 PASS SVTYPE=DEL
4 | # inversion 71-140
5 | chr1 70 . A A]chr1:140] 0 PASS SVTYPE=BND
6 | chr1 140 . A A]chr1:70] 0 PASS SVTYPE=BND
7 | chr1 71 . T [chr1:141[T 0 PASS SVTYPE=BND
8 | chr1 141 . T [chr1:71[T 0 PASS SVTYPE=BND
9 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/duplication.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | # Tandem duplication
3 | chr1 140 . A A[chr1:71[ 0 PASS SVTYPE=BND
4 | chr1 71 . A ]chr1:140]A 0 PASS SVTYPE=BND
5 | # Tandem triplication (Copy Number=3 on allele 1)
6 | chr2 140 . C C[chr2:71[ 0 PASS SVTYPE=BND
7 | chr2 71 . C ]chr2:140]C 0 PASS SVTYPE=BND
8 | chr2 140 . C C[chr2:71[ 0 PASS SVTYPE=BND
9 | chr2 71 . C ]chr2:140]C 0 PASS SVTYPE=BND
10 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/reversed_events.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 140 . A A]chr2:140] 0 PASS SVTYPE=BND
3 | chr2 140 . C C]chr1:140] 0 PASS SVTYPE=BND
4 | chr1 141 . A [chr2:141[A 0 PASS SVTYPE=BND
5 | chr2 141 . C [chr1:141[C 0 PASS SVTYPE=BND
6 | chr2 35 . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C 0 PASS SVTYPE=DEL
7 | chr2 30 . C CTATTT 0 PASS SVTYPE=INS
8 | chr2 20 . C A 0 PASS SVTYPE=SNP
9 | chr2 10 . CCCCCC CTATTT 0 PASS SVTYPE=INDEL
10 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/zygosity.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO FORMAT NA18507
2 | chr1 10 . A AGGGGG 0 PASS SVTYPE=INS GT:GQ 0/1:99
3 | chr1 20 . A T 0 PASS SVTYPE=SNP GT:GQ 1/0:99
4 | chr1 30 . AAAAAA A 0 PASS SVTYPE=DEL GT:GQ 0/1:99
5 | #
6 | chr2 10 . C CGGGGG 0 PASS SVTYPE=INS GT:GQ 1/1:99
7 | chr2 20 . C T 0 PASS SVTYPE=SNP GT:GQ 1/1:99
8 | chr2 30 . CCCCCC C 0 PASS SVTYPE=DEL GT:GQ 1/1:99
9 | #
10 | chr3 10 . .GG .G,.T . PASS SVTYPE=INDEL GT 1/2
11 |
12 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/inversion.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 70 . A A]chr1:140] 0 PASS SVTYPE=BND
3 | chr1 140 . A A]chr1:70] 0 PASS SVTYPE=BND
4 | chr1 71 . T [chr1:141[T 0 PASS SVTYPE=BND
5 | chr1 141 . T [chr1:71[T 0 PASS SVTYPE=BND
6 | # flip chr2:71 to its complement:
7 | chr2 70 . C C]chr2:71] 0 PASS SVTYPE=BND
8 | chr2 71 . C C]chr2:70] 0 PASS SVTYPE=BND
9 | chr2 71 . G [chr2:72[G 0 PASS SVTYPE=BND
10 | chr2 72 . G [chr2:71[G 0 PASS SVTYPE=BND
11 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_SingleRead1x1Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_SingleRead2x2Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/snp.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env perl
2 | use strict;
3 | use warnings "all";
4 |
5 | print "#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILT\tINFO\n";
6 | my @chr = (['chr1','A'],['chr2','C'],['chr3','G'],['chr4','T']);
7 | for (my $i = 0; $i < 4; $i++)
8 | {
9 | foreach my $pos (1..280)
10 | {
11 | my $offset = ($pos - 1) % 4;
12 | print join("\t",( $chr[$i][0], $pos, ".", $chr[$i][1], $chr[$offset][1], "0", "PASS", "SVTYPE=SNP\n" ))
13 | if ($offset != $i);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReads1x1Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReads4x4Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/c++/lib/model/Phred.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Pre-computed Phred quality scores
8 | **
9 | ** \author Lilian Janin
10 | **/
11 |
12 | #include "model/Phred.hh"
13 |
14 | namespace eagle
15 | {
16 | namespace model
17 | {
18 |
19 | std::vector< double > Phred::qualityToProbability_;
20 |
21 |
22 | } // namespace model
23 | } // namespace eagle
24 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReads2x151Cycles1x1Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReads2x251Cycles1x1Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReads2x251Cycles2x2Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/c++/lib/io/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the lib/io subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBRARY_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/main/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the lib/main subfolder
11 | ##
12 | ## author Lilian Janin
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBRARY_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/model/Nucleotides.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \dsecription Basic functionality for base manipulation.
8 | **
9 | ** \author Mauricio Varea
10 | **/
11 |
12 | #include "model/Nucleotides.hh"
13 |
14 | namespace eagle
15 | {
16 | namespace model
17 | {
18 |
19 | std::vector< std::vector > IUPAC::encode;
20 |
21 |
22 | } // namespace model
23 | } // namespace eagle
24 |
--------------------------------------------------------------------------------
/src/CTestConfig.cmake:
--------------------------------------------------------------------------------
1 | set(CTEST_PROJECT_NAME "EAGLE")
2 |
3 | set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes")
4 |
5 | set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
6 | set(CTEST_DROP_METHOD "http")
7 | #set(CTEST_DROP_SITE "ukch-cdash01.chuk.illumina.com")
8 | set(CTEST_DROP_SITE "10.46.146.88") # <- Come's machine
9 | #set (CTEST_DROP_LOCATION "cgi-bin/HTTPUploadDartFile.cgi")
10 | set (CTEST_DROP_LOCATION "/CDash/submit.php?project=EAGLE")
11 | set(CTEST_DROP_SITE_CDASH TRUE)
12 |
13 | #set (CTEST_TRIGGER_SITE
14 | # "http://${DROP_SITE}/cgi-bin/Submit-vtk-TestingResults.pl")
15 |
--------------------------------------------------------------------------------
/src/c++/lib/common/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the c++/common subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBRARY_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the lib/genome subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBRARY_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/io/cppunit/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for any cppunit subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CPPUNIT_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/model/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the lib/model subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBRARY_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for any cppunit subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CPPUNIT_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/common/cppunit/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for any cppunit subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CPPUNIT_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/cppunit/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for any cppunit subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CPPUNIT_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/cmake/CTestCustom.cmake:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CTestCustom.ctest
9 | ##
10 | ## CMake configuration file for a validation framework
11 | ##
12 | ## authors: Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | #set( CTEST_CUSTOM_POST_TEST "echo Job Done" )
--------------------------------------------------------------------------------
/src/c++/libexec/diffBam/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/analyseBam subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/libexec/fastaDump/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/fastaDump subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/libexec/analyseBam/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/analyseBam subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/libexec/analyseFastq/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2018 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/analyseFastq subfolder
11 | ##
12 | ## author Lilian Janin
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/data/MismatchTables/DefaultMismatchTable.tsv:
--------------------------------------------------------------------------------
1 | # x x->A x->C x->G x->T del x->insertedA x->insertedC x->insertedG x->insertedT
2 | A 0 599620 781362 540031 48416 9754 3402.25 3381.75 9080
3 | C 501568 0 395190 638686 16378 9754 3402.25 3381.75 9080
4 | G 631820 405798 0 482292 17251 9754 3402.25 3381.75 9080
5 | T 699284 878566 756130 0 44068 9754 3402.25 3381.75 9080
6 | # entries not processed:
7 | A->N A N 54979
8 | C->N C N 35769
9 | G->N G N 34525
10 | N->A N A 23033
11 | N->C N C 18890
12 | N->G N G 17332
13 | N->N N N 0
14 | N->T N T 29323
15 | N->_ N _ 9
16 | T->N T N 56195
17 | _->N _ N 13
18 | _->_ _ _ 0
19 |
--------------------------------------------------------------------------------
/src/c++/libexec/simulateSequencer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/simulateSequencer subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/src/c++/libexec/canonical2segments/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/simulateSequencer subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/full_deletion.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 1 . A A[chr1:281[ 0 PASS SVTYPE=DEL
3 | chr1 281 . N ]chr1:1]N 0 PASS SVTYPE=DEL
4 | chr2 0 . N N[chr2:280[ 0 PASS SVTYPE=DEL
5 | chr2 280 . G ]chr2:0]G 0 PASS SVTYPE=DEL
6 | chr3 0 . N N[chr3:281[ 0 PASS SVTYPE=DEL
7 | chr3 281 . N ]chr3:0]N 0 PASS SVTYPE=DEL
8 | chr4 0 . NTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT N 0 PASS SVTYPE=DEL
9 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/transloc_left.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 70 . A A]chr2:70] 0 PASS SVTYPE=BND
3 | chr2 70 . C C]chr1:70] 0 PASS SVTYPE=BND
4 | chr1 71 . A [chr2:71[A 0 PASS SVTYPE=BND
5 | chr2 71 . C [chr1:71[C 0 PASS SVTYPE=BND
6 | #
7 | chr2 140 . C C]chr3:140] 0 PASS SVTYPE=BND
8 | chr3 140 . G G]chr2:140] 0 PASS SVTYPE=BND
9 | chr2 141 . C [chr3:141[C 0 PASS SVTYPE=BND
10 | chr3 141 . G [chr2:141[G 0 PASS SVTYPE=BND
11 | #
12 | chr3 210 . G G]chr4:210] 0 PASS SVTYPE=BND
13 | chr4 210 . T T]chr3:210] 0 PASS SVTYPE=BND
14 | chr3 211 . G [chr4:211[G 0 PASS SVTYPE=BND
15 | chr4 211 . T [chr3:211[T 0 PASS SVTYPE=BND
16 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/transloc_right.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 70 . A A[chr2:71[ 0 PASS SVTYPE=BND
3 | chr2 71 . C ]chr1:70]C 0 PASS SVTYPE=BND
4 | chr1 71 . A ]chr2:70]A 0 PASS SVTYPE=BND
5 | chr2 70 . C C[chr1:71[ 0 PASS SVTYPE=BND
6 | #
7 | chr2 140 . C C[chr3:141[ 0 PASS SVTYPE=BND
8 | chr3 141 . G ]chr2:140]G 0 PASS SVTYPE=BND
9 | chr2 141 . C ]chr3:140]C 0 PASS SVTYPE=BND
10 | chr3 140 . G G[chr2:141[ 0 PASS SVTYPE=BND
11 | #
12 | chr3 210 . G G[chr4:211[ 0 PASS SVTYPE=BND
13 | chr4 211 . T ]chr3:210]T 0 PASS SVTYPE=BND
14 | chr3 211 . G ]chr4:210]G 0 PASS SVTYPE=BND
15 | chr4 210 . T T[chr3:211[ 0 PASS SVTYPE=BND
16 |
--------------------------------------------------------------------------------
/src/c++/libexec/generateHomopolymerIndelVcf/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec/generateHomopolymerIndelVcf subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include(${EAGLE_CXX_LIBEXEC_CMAKE})
17 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReads2x251Cycles2x64Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | H04ADADXX
5 | HSQ868
6 | 121221
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/c++/libexec/diffBam/diffBam.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "BamDiffOptions.hh"
11 | #include "BamDiff.hh"
12 |
13 |
14 | static void bamDiffLauncher(const eagle::main::BamDiffOptions &options)
15 | {
16 | eagle::main::BamDiff bamDiff( options );
17 | bamDiff.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(bamDiffLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/cmake/preInstall/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the preInstall subdirectory
11 | ##
12 | ## author Roman Petrovski
13 | ##
14 | ################################################################################
15 |
16 | add_subdirectory (checkTargetPathsWritable)
17 | add_subdirectory (copyrightAndChanges)
18 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReadsBarcode1x1Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReadsBarcode1x32Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/data/RunInfo/RunInfo_PairedReadsBarcode8x32Tiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | FC1234TST
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/c++/unittest/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the c++/unittest subfolder
11 | ##
12 | ## author Come Raczy
13 | ##
14 | ################################################################################
15 |
16 | include_directories(${CPPUNIT_INCLUDE_DIR})
17 | add_library(eagle_cppunit cppunitTest.cpp RegistryName.cpp)
18 |
--------------------------------------------------------------------------------
/src/c++/libexec/analyseBam/analyseBam.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "BamAnalyserOptions.hh"
11 | #include "BamAnalyser.hh"
12 |
13 |
14 | static void bamAnalyserLauncher(const eagle::main::BamAnalyserOptions &options)
15 | {
16 | eagle::main::BamAnalyser bamAnalyser( options );
17 | bamAnalyser.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(bamAnalyserLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/cmake/postInstall/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the share subdirectory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | #add_subdirectory (verifyBoost)
17 | configure_file("${CMAKE_CURRENT_SOURCE_DIR}/../CTestCustom.cmake" "${CMAKE_BINARY_DIR}/" COPYONLY)
--------------------------------------------------------------------------------
/validation/TestConfig/test8.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test7/config.mk
16 |
17 | # Test8 = test7 with the following overrides
18 | ALIGNMENT_EXTRAS = --KAGU_PARAMS "--circular chr"
19 |
--------------------------------------------------------------------------------
/data/tests/expectedOutputs/deletion.fa:
--------------------------------------------------------------------------------
1 | >chr1_allele1
2 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4 | >chr2_allele1
5 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
6 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
7 | >chr3_allele1
8 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
9 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
10 | >chr4_allele1
11 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
12 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
13 |
--------------------------------------------------------------------------------
/src/c++/bin/compareVcf.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "main/VcfComparatorOptions.hh"
11 | #include "main/VcfComparator.hh"
12 |
13 |
14 | static void vcfComparatorLauncher(const eagle::main::VcfComparatorOptions &options)
15 | {
16 | eagle::main::VcfComparator vcfComparator(options);
17 | vcfComparator.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(vcfComparatorLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/c++/libexec/analyseFastq/analyseFastq.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2018 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "FastqAnalyserOptions.hh"
11 | #include "FastqAnalyser.hh"
12 |
13 |
14 | static void fastqAnalyserLauncher(const eagle::main::FastqAnalyserOptions &options)
15 | {
16 | eagle::main::FastqAnalyser fastqAnalyser( options );
17 | fastqAnalyser.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(fastqAnalyserLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/validation/TestConfig/test6.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test5/config.mk
16 |
17 | # Test6 = test5 with the following overrides
18 | VARIANTS_VCF = $(EAGLE_DATADIR)/Variants/OneOfEachType.vcf
19 |
--------------------------------------------------------------------------------
/validation/TestConfig/test7.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test5/config.mk
16 |
17 | # Test7 = test5 with the following overrides
18 | VARIANTS_VCF = $(EAGLE_DATADIR)/Variants/OneAtTelomere.vcf
19 |
--------------------------------------------------------------------------------
/validation/TestConfig/test2.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 | include $(VALIDATION_DIR)/test1/config.mk
15 |
16 | # Test2 = test1 with the following overrides
17 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_SingleRead2x2Tiles.xml
18 |
--------------------------------------------------------------------------------
/validation/TestConfig/test4.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test3/config.mk
16 |
17 | # Test4 = test3 with the following overrides
18 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_PairedReadsBarcode1x1Tiles.xml
19 |
--------------------------------------------------------------------------------
/validation/TestConfig/test5.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test4/config.mk
16 |
17 | # Test5 = test4 with the following overrides
18 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_PairedReadsBarcode8x32Tiles.xml
19 |
--------------------------------------------------------------------------------
/src/c++/bin/createRunFolder.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "main/RunFolderGeneratorOptions.hh"
11 | #include "main/RunFolderGenerator.hh"
12 |
13 |
14 | static void runFolderGeneratorLauncher(const eagle::main::RunFolderGeneratorOptions &options)
15 | {
16 | eagle::main::RunFolderGenerator runFolderGenerator(options);
17 | runFolderGenerator.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(runFolderGeneratorLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/c++/unittest/RegistryName.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Management of the registry names for the cppunit tests.
8 | **
9 | ** \author Come Raczy
10 | **/
11 |
12 | #ifndef EAGLE_UNIT_TEST_REGISTRY_NAME
13 | #define EAGLE_UNIT_TEST_REGISTRY_NAME
14 |
15 | #include
16 | #include
17 | #include
18 |
19 | const std::vector &getRegistryNameList();
20 | std::string registryName(const std::string &name) throw (std::invalid_argument);
21 |
22 | #endif // EAGLE_UNIT_TEST_REGISTRY_NAME
23 |
--------------------------------------------------------------------------------
/src/c++/bin/allocateFragments.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "main/FragmentsAllocatorOptions.hh"
11 | #include "main/FragmentsAllocator.hh"
12 |
13 |
14 | static void allocateFragmentsLauncher(const eagle::main::FragmentsAllocatorOptions &options)
15 | {
16 | eagle::main::FragmentsAllocator fragmentsAllocator( options );
17 | fragmentsAllocator.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(allocateFragmentsLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/cmake/preInstall/copyrightAndChanges/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the COPYRIGHT and Changes file installation
11 | ##
12 | ## author Roman Petrovski
13 | ##
14 | ################################################################################
15 |
16 | # Installing top level components
17 | # install(FILES "${EAGLE_SOURCE_DIR}/Changes" "${EAGLE_SOURCE_DIR}/COPYRIGHT" DESTINATION "${EAGLE_DATADIR}")
18 |
--------------------------------------------------------------------------------
/src/c++/lib/io/cppunit/testBcl.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_BCL_HH
9 | #define EAGLE_MODEL_TEST_BCL_HH
10 |
11 | #include
12 |
13 | #include "io/Bcl.hh"
14 |
15 |
16 | class TestBcl : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestBcl );
19 | CPPUNIT_TEST( testBclTile );
20 | CPPUNIT_TEST_SUITE_END();
21 | private:
22 | public:
23 | void setUp();
24 | void tearDown();
25 | void testBclTile();
26 | };
27 |
28 | #endif //EAGLE_MODEL_TEST_BCL_HH
29 |
--------------------------------------------------------------------------------
/src/c++/libexec/simulateSequencer/simulateSequencer.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "SequencerSimulatorOptions.hh"
11 | #include "SequencerSimulator.hh"
12 |
13 |
14 | static void sequencerSimulatorLauncher(const eagle::main::SequencerSimulatorOptions &options)
15 | {
16 | eagle::main::SequencerSimulator sequencerSimulator( options );
17 | sequencerSimulator.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(sequencerSimulatorLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/validation/TestConfig/testHuman3.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 | include $(VALIDATION_DIR)/testHuman1/config.mk
15 |
16 | # TestHuman3 = testHuman1 with the following overrides
17 | EAGLE_TEST_REF = /illumina/scratch/iGenomes/Homo_sapiens/UCSC/hg19/Sequence/Chromosomes/chr21.fa
18 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testFragment.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_FRAGMENT_HH
9 | #define EAGLE_MODEL_TEST_FRAGMENT_HH
10 |
11 | #include
12 |
13 | #include "model/Fragment.hh"
14 |
15 |
16 | class TestFragment : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestFragment );
19 | CPPUNIT_TEST( testFragment );
20 | CPPUNIT_TEST_SUITE_END();
21 | private:
22 | public:
23 | void setUp();
24 | void tearDown();
25 | void testFragment();
26 | };
27 |
28 | #endif //EAGLE_MODEL_TEST_FRAGMENT_HH
29 |
--------------------------------------------------------------------------------
/src/c++/lib/common/cppunit/testLogger.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_COMMON_TEST_LOGGER_HH
9 | #define EAGLE_COMMON_TEST_LOGGER_HH
10 |
11 | #include
12 |
13 | #include
14 |
15 | #include "common/Logger.hh"
16 |
17 | class TestLogger : public CppUnit::TestFixture
18 | {
19 | CPPUNIT_TEST_SUITE( TestLogger );
20 | CPPUNIT_TEST( testTime );
21 | CPPUNIT_TEST_SUITE_END();
22 | private:
23 | public:
24 | void setUp();
25 | void tearDown();
26 | void testTime();
27 | };
28 |
29 | #endif // EAGLE_COMMON_TEST_LOGGER_HH
30 |
--------------------------------------------------------------------------------
/validation/TestConfig/test9.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test8/config.mk
16 |
17 | # Test9 = test8 with the following overrides
18 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_SingleRead1x1Tiles.xml
19 |
20 | CASAVA_ANALYSIS = eland_extended
21 | CASAVA_USE_BASES = y*n
22 |
--------------------------------------------------------------------------------
/validation/TestConfig/test3.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | include $(VALIDATION_DIR)/test1/config.mk
16 |
17 | # Test3 = test1 with the following overrides
18 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_PairedReads1x1Tiles.xml
19 |
20 | CASAVA_ANALYSIS = eland_pair
21 | CASAVA_USE_BASES = y*n,y*n
22 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/SharedFastaReference.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "genome/SharedFastaReference.hh"
11 |
12 |
13 | namespace eagle
14 | {
15 | namespace genome
16 | {
17 |
18 | PreferredFastaReader* SharedFastaReference::fastaReference_ = 0;
19 |
20 | std::vector< boost::filesystem::path > SharedFastaReference::sampleGenomeDir_;
21 | std::vector< PreferredFastaReader* > SharedFastaReference::fastaReferenceArray_;
22 | std::map< std::string, unsigned int > SharedFastaReference::dictionary_;
23 |
24 |
25 | } // namespace genome
26 | } // namespace eagle
27 |
--------------------------------------------------------------------------------
/src/c++/lib/common/cppunit/testExceptions.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_COMMON_TEST_EXCEPTIONS_HH
9 | #define EAGLE_COMMON_TEST_EXCEPTIONS_HH
10 |
11 | #include
12 |
13 | #include
14 |
15 | #include "common/Exceptions.hh"
16 |
17 | class TestExceptions : public CppUnit::TestFixture
18 | {
19 | CPPUNIT_TEST_SUITE( TestExceptions );
20 | CPPUNIT_TEST( testErrorNumber );
21 | CPPUNIT_TEST_SUITE_END();
22 | private:
23 | public:
24 | void setUp();
25 | void tearDown();
26 | void testErrorNumber();
27 | };
28 |
29 | #endif // EAGLE_COMMON_TEST_EXCEPTIONS_HH
30 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testFragment.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #include
9 | #include
10 | #include
11 | #include
12 |
13 | using namespace std;
14 | using boost::assign::list_of;
15 |
16 | #include "Helpers.hh"
17 |
18 | #include "RegistryName.hh"
19 | #include "testFragment.hh"
20 |
21 | using eagle::model::Fragment;
22 |
23 | CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TestFragment, registryName("Fragment"));
24 |
25 |
26 | void TestFragment::setUp()
27 | {
28 | }
29 |
30 | void TestFragment::tearDown()
31 | {
32 | }
33 |
34 |
35 | void TestFragment::testFragment()
36 | {
37 | }
38 |
--------------------------------------------------------------------------------
/src/c++/libexec/canonical2segments/canonical2segments.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "CanonicalToSegmentsConverterOptions.hh"
11 | #include "CanonicalToSegmentsConverter.hh"
12 |
13 |
14 | static void canonicalToSegmentsConverterLauncher(const eagle::main::CanonicalToSegmentsConverterOptions &options)
15 | {
16 | eagle::main::CanonicalToSegmentsConverter canonicalToSegmentsConverter( options );
17 | canonicalToSegmentsConverter.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(canonicalToSegmentsConverterLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testPhred.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_PHRED_HH
9 | #define EAGLE_MODEL_TEST_PHRED_HH
10 |
11 | #include
12 |
13 | #include "model/Phred.hh"
14 |
15 |
16 | class TestPhred : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestPhred );
19 | CPPUNIT_TEST( testQualToProb );
20 | CPPUNIT_TEST( testProbToQual );
21 | CPPUNIT_TEST_SUITE_END();
22 | private:
23 | public:
24 | void setUp();
25 | void tearDown();
26 | void testQualToProb();
27 | void testProbToQual();
28 | };
29 |
30 | #endif //EAGLE_MODEL_TEST_PHRED_HH
31 |
--------------------------------------------------------------------------------
/src/c++/libexec/generateHomopolymerIndelVcf/generateHomopolymerIndelVcf.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #include "HomopolymerIndelVcfGeneratorOptions.hh"
11 | #include "HomopolymerIndelVcfGenerator.hh"
12 |
13 |
14 | static void homopolymerIndelVcfGeneratorLauncher(const eagle::main::HomopolymerIndelVcfGeneratorOptions &options)
15 | {
16 | eagle::main::HomopolymerIndelVcfGenerator homopolymerIndelVcfGenerator( options );
17 | homopolymerIndelVcfGenerator.run();
18 | }
19 |
20 |
21 | int main(int argc, char *argv[])
22 | {
23 | eagle::common::run(homopolymerIndelVcfGeneratorLauncher, argc, argv);
24 | }
25 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/cppunit/testEnrichedFragment.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_GENOME_TEST_ENRICHED_FRAGMENT_HH
9 | #define EAGLE_GENOME_TEST_ENRICHED_FRAGMENT_HH
10 |
11 | #include
12 |
13 | #include "genome/EnrichedFragment.hh"
14 |
15 |
16 | class TestEnrichedFragment : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestEnrichedFragment );
19 | CPPUNIT_TEST( testEnrichedFragment );
20 | CPPUNIT_TEST_SUITE_END();
21 | private:
22 | public:
23 | void setUp();
24 | void tearDown();
25 | void testEnrichedFragment();
26 | };
27 |
28 | #endif //EAGLE_GENOME_TEST_FRAGMENT_HH
29 |
--------------------------------------------------------------------------------
/validation/TestConfig/testHuman1.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | EAGLE_TEST_REF = /illumina/scratch/iGenomes/Homo_sapiens/UCSC/hg19/Sequence/Chromosomes
16 | VARIANTS_VCF = $(EAGLE_DATADIR)/Variants/None.vcf
17 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_PairedReadsBarcode8x32Tiles.xml
18 | DEPTH = 30
19 |
20 | CASAVA_ANALYSIS = eland_pair
21 | CASAVA_USE_BASES = y*n,y*n
22 |
--------------------------------------------------------------------------------
/validation/TestConfig/test1.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to configure validation tests.
9 | ##
10 | ## author Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | EAGLE_TEST_REF = /illumina/scratch/iGenomes/Enterobacteriophage_lamdba/NCBI/1993-04-28/Sequence/Chromosomes
16 | VARIANTS_VCF = $(EAGLE_DATADIR)/Variants/None.vcf
17 | RUN_INFO_XML = $(EAGLE_DATADIR)/RunInfo/RunInfo_SingleRead1x1Tiles.xml
18 | DEPTH = 30
19 |
20 | CASAVA_ANALYSIS = eland_extended
21 | CASAVA_USE_BASES = y*n
22 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/cppunit/testEnrichedFragment.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #include
9 | #include
10 | #include
11 | #include
12 |
13 | using namespace std;
14 | using boost::assign::list_of;
15 |
16 | #include "Helpers.hh"
17 |
18 | #include "RegistryName.hh"
19 | #include "testEnrichedFragment.hh"
20 |
21 | using eagle::genome::EnrichedFragment;
22 |
23 | CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TestEnrichedFragment, registryName("EnrichedFragment"));
24 |
25 |
26 | void TestEnrichedFragment::setUp()
27 | {
28 | }
29 |
30 | void TestEnrichedFragment::tearDown()
31 | {
32 | }
33 |
34 |
35 | void TestEnrichedFragment::testEnrichedFragment()
36 | {
37 | }
38 |
--------------------------------------------------------------------------------
/src/perl/lib/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the perl/lib directory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include ("${EAGLE_GLOBALS_CMAKE}")
17 |
18 | install(CODE "
19 | include (\"${EAGLE_MACROS_CMAKE}\")
20 | configure_files_recursively (\"${CMAKE_CURRENT_SOURCE_DIR}\" \"${CMAKE_CURRENT_BINARY_DIR}\" \"*.pm\")
21 | install_files_recursively (\"${CMAKE_CURRENT_BINARY_DIR}\" \"${EAGLE_ORIG_LIBDIR}\" \"*.pm\" \"\${EAGLE_LIBRARY_PERMISSIONS}\")
22 | ")
23 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testStructuralVariant.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_STRUCTURAL_VARIANT_HH
9 | #define EAGLE_MODEL_TEST_STRUCTURAL_VARIANT_HH
10 |
11 | #include
12 |
13 | #include "model/StructuralVariant.hh"
14 |
15 |
16 | class TestStructuralVariant : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestStructuralVariant );
19 | CPPUNIT_TEST( testFlags );
20 | CPPUNIT_TEST( testVariant );
21 | CPPUNIT_TEST_SUITE_END();
22 | private:
23 | public:
24 | void setUp();
25 | void tearDown();
26 | void testFlags();
27 | void testVariant();
28 | };
29 |
30 | #endif // EAGLE_MODEL_TEST_STRUCTURAL_VARIANT_HH
31 |
32 |
--------------------------------------------------------------------------------
/src/makefiles/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the makefiles directory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include ("${EAGLE_GLOBALS_CMAKE}")
17 |
18 | install(CODE "
19 | include (\"${EAGLE_MACROS_CMAKE}\")
20 | configure_files_recursively (\"${CMAKE_CURRENT_SOURCE_DIR}\" \"${CMAKE_CURRENT_BINARY_DIR}\" \"*.mk\")
21 | install_files_recursively (\"${CMAKE_CURRENT_BINARY_DIR}\" \"${EAGLE_ORIG_DATADIR}/Workflows\" \"*.mk\" \"\${EAGLE_LIBRARY_PERMISSIONS}\")
22 | ")
23 |
--------------------------------------------------------------------------------
/src/perl/libexec/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the perl/libexec directory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include ("${EAGLE_GLOBALS_CMAKE}")
17 |
18 | install(CODE "
19 | include (\"${EAGLE_MACROS_CMAKE}\")
20 | configure_files_recursively (\"${CMAKE_CURRENT_SOURCE_DIR}\" \"${CMAKE_CURRENT_BINARY_DIR}\" \"*.pl\")
21 | install_files_recursively (\"${CMAKE_CURRENT_BINARY_DIR}\" \"${EAGLE_ORIG_LIBEXECDIR}\" \"*.pl\" \"\${EAGLE_EXECUTABLE_PERMISSIONS}\")
22 | ")
23 |
--------------------------------------------------------------------------------
/data/QualityTables/DefaultQQTable.tsv:
--------------------------------------------------------------------------------
1 | #Quality ErrorRate
2 | 0 1
3 | 1 0.794328
4 | 2 0.630957
5 | 3 0.501187
6 | 4 0.398107
7 | 5 0.316228
8 | 6 0.251189
9 | 7 0.199526
10 | 8 0.158489
11 | 9 0.125893
12 | 10 0.1
13 | 11 0.0794328
14 | 12 0.0630957
15 | 13 0.0501187
16 | 14 0.0398107
17 | 15 0.0316228
18 | 16 0.0251189
19 | 17 0.0199526
20 | 18 0.0158489
21 | 19 0.0125893
22 | 20 0.01
23 | 21 0.00794328
24 | 22 0.00630957
25 | 23 0.00501187
26 | 24 0.00398107
27 | 25 0.00316228
28 | 26 0.00251189
29 | 27 0.00199526
30 | 28 0.00158489
31 | 29 0.00125893
32 | 30 0.001
33 | 31 0.000794328
34 | 32 0.000630957
35 | 33 0.000501187
36 | 34 0.000398107
37 | 35 0.000316228
38 | 36 0.000251189
39 | 37 0.000199526
40 | 38 0.000158489
41 | 39 0.000125893
42 | 40 0.0001
43 | 41 7.94328e-05
44 | 42 6.30957e-05
45 | 43 5.01187e-05
46 | 44 3.98107e-05
47 | 45 3.16228e-05
48 | 46 2.51189e-05
49 | 47 1.99526e-05
50 | 48 1.58489e-05
51 | 49 1.25893e-05
52 | 50 0
53 |
--------------------------------------------------------------------------------
/src/c++/lib/common/cppunit/testExceptions.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #include
9 | #include
10 | #include
11 |
12 | using namespace std;
13 |
14 | #include "RegistryName.hh"
15 | #include "testExceptions.hh"
16 |
17 | using namespace eagle::common;
18 |
19 |
20 | CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( TestExceptions, registryName("Exceptions"));
21 |
22 | void TestExceptions::setUp()
23 | {
24 | }
25 |
26 | void TestExceptions::tearDown()
27 | {
28 | }
29 |
30 |
31 | void TestExceptions::testErrorNumber()
32 | {
33 | ExceptionData e(1337, "exception unit test");
34 | CPPUNIT_ASSERT_EQUAL(1337, e.getErrorNumber());
35 | CPPUNIT_ASSERT_EQUAL(string("exception unit test"), e.getMessage());
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/src/bash/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the bash directory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include ("${EAGLE_GLOBALS_CMAKE}")
17 | include ("${EAGLE_MACROS_CMAKE}")
18 | configure_files ("${CMAKE_CURRENT_SOURCE_DIR}/test"
19 | "${CMAKE_BINARY_DIR}/Testing/scripts"
20 | "*")
21 | configure_file("test/common.sh" "${CMAKE_BINARY_DIR}/Testing/scripts/common.sh" COPYONLY)
22 |
23 | ##
24 | ## build all the internal applications for the project
25 | ##
26 | add_subdirectory (libexec)
27 |
--------------------------------------------------------------------------------
/src/bash/libexec/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the bash/libexec subdirectory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include ("${EAGLE_GLOBALS_CMAKE}")
17 |
18 | install(CODE "
19 | include (\"${EAGLE_MACROS_CMAKE}\")
20 | configure_files_recursively (\"${CMAKE_CURRENT_SOURCE_DIR}\" \"${CMAKE_CURRENT_BINARY_DIR}\" \"[a-z][a-zA-Z0-9]*.sh\")
21 | install_files_recursively (\"${CMAKE_CURRENT_BINARY_DIR}\" \"${EAGLE_ORIG_LIBEXECDIR}\" \"[a-z][a-zA-Z0-9]*.sh\" \"\${EAGLE_EXECUTABLE_PERMISSIONS}\")
22 | ")
23 |
--------------------------------------------------------------------------------
/src/analysis/cpp/add_translocations/Makefile:
--------------------------------------------------------------------------------
1 | BOOST_ROOT ?= /home/craczy/boost_1_49_0
2 | #SEQAN_ROOT ?= /home/oschulz-trieglaff/code/seqan-release/seqan-1.3.1/
3 | SEQAN_ROOT ?= /home/oschulz-trieglaff/code/seqan-trunk/core/include/
4 |
5 | #LDFLAGS := -L${BOOST_ROOT}/lib -lboost_program_options -lboost_filesystem
6 | LDFLAGS := -L${BOOST_ROOT}/lib
7 |
8 | CPPFLAGS := -I${BOOST_ROOT}/include -I$(SEQAN_ROOT) -I.
9 | CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
10 | CPPFLAGS += -O3 -g
11 | #CPPFLAGS += -g
12 | CPPFLAGS += -W -Wall -Wno-long-long -pedantic -Wno-variadic-macros
13 |
14 | CPP = /usr/bin/g++
15 |
16 | TARGETS = AddTranslocations
17 | ADD_TR_OBJ = AddTranslocations.o VcfVariant.o
18 |
19 | #ALL_OBJ = $(SAMPLE_INV_OBJ)
20 |
21 | all: ${TARGETS}
22 |
23 | %.o: %.cpp %.h
24 | $(CPP) -c $(CPPFLAGS) $<
25 |
26 | AddTranslocations: $(ADD_TR_OBJ)
27 | $(CPP) $(CPPFLAGS) $(LDFLAGS) -o $@ $^
28 |
29 | clean:
30 | /bin/rm -f *.o *~ ${TARGETS}
31 |
32 |
--------------------------------------------------------------------------------
/src/c++/lib/genome/cppunit/testVariantList.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_GENOME_TEST_VARIANT_LIST_HH
9 | #define EAGLE_GENOME_TEST_VARIANT_LIST_HH
10 |
11 | #include
12 |
13 | #include "genome/VariantList.hh"
14 |
15 |
16 | class TestVariantList : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestVariantList );
19 | CPPUNIT_TEST( testAccess );
20 | CPPUNIT_TEST( testConnectivity );
21 | CPPUNIT_TEST_SUITE_END();
22 | private:
23 | eagle::genome::VariantList VL;
24 | public:
25 | TestVariantList()
26 | : VL( 2 ) // diploid
27 | {}
28 | void setUp();
29 | void tearDown();
30 | void testAccess();
31 | void testConnectivity();
32 | };
33 |
34 |
35 | #endif // EAGLE_GENOME_TEST_VARIANT_LIST_HH
36 |
37 |
--------------------------------------------------------------------------------
/data/tests/expectedOutputs/large_deletion.fa:
--------------------------------------------------------------------------------
1 | >chr1_allele1
2 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 | >chr2_allele1
4 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
5 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
6 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
7 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
8 | >chr3_allele1
9 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
10 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
11 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
12 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
13 | >chr4_allele1
14 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
15 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
16 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
17 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
18 |
--------------------------------------------------------------------------------
/validation/Makefile.in:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Top level makefile to run validation tests.
9 | ##
10 | ## authors Lilian Janin
11 | ##
12 | ################################################################################
13 |
14 |
15 | override SHELL:=/bin/bash
16 |
17 | EAGLE_DATADIR = @EAGLE_FULL_DATADIR@
18 | VALIDATION_DIR := $(EAGLE_DATADIR)/validation
19 |
20 | NULL :=
21 | SPACE :=$(NULL) $(NULL)
22 |
23 | AND = &&
24 | OR = ||
25 | MKDIR = mkdir -p
26 | WIPE_OUT = rm -rf
27 | TIME = /usr/bin/time -v -o $(OUTPUT_DIR)/time.log --append
28 |
29 |
30 | all: $(shell ls $(VALIDATION_DIR)|grep test|grep -v Human)
31 |
32 | test%:
33 | mkdir -p $@ \
34 | $(AND) cd $@ \
35 | $(AND) $(MAKE) -f ${VALIDATION_DIR}/$@/Makefile \
36 |
37 |
--------------------------------------------------------------------------------
/src/c++/libexec/canonical2segments/CanonicalToSegmentsConverter.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \author Lilian Janin
8 | **/
9 |
10 | #ifndef EAGLE_MAIN_CANONICAL_TO_SEGMENTS_CONVERTER_HH
11 | #define EAGLE_MAIN_CANONICAL_TO_SEGMENTS_CONVERTER_HH
12 |
13 | #include "io/RunInfo.hh"
14 | #include "genome/EnrichedFragment.hh"
15 | #include "genome/ReadCluster.hh"
16 | #include "CanonicalToSegmentsConverterOptions.hh"
17 |
18 |
19 | namespace eagle
20 | {
21 | namespace main
22 | {
23 |
24 |
25 | class CanonicalToSegmentsConverter
26 | {
27 | public:
28 | CanonicalToSegmentsConverter (const CanonicalToSegmentsConverterOptions &options);
29 | void run();
30 |
31 | private:
32 | const CanonicalToSegmentsConverterOptions &options_;
33 | };
34 |
35 | } // namespace main
36 | } // namespace eagle
37 |
38 | #endif // EAGLE_MAIN_CANONICAL_TO_SEGMENTS_CONVERTER_HH
39 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testGenotype.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_GENOTYPE_HH
9 | #define EAGLE_MODEL_TEST_GENOTYPE_HH
10 |
11 | #include
12 |
13 | #include "model/Genotype.hh"
14 |
15 |
16 | class TestGenotype : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestGenotype );
19 | CPPUNIT_TEST( testPureZygosity );
20 | CPPUNIT_TEST( testImpureZygosity );
21 | CPPUNIT_TEST( testVirtualPloidy );
22 | CPPUNIT_TEST( testRealPloidy );
23 | CPPUNIT_TEST( testStreaming );
24 | CPPUNIT_TEST_SUITE_END();
25 | private:
26 | public:
27 | void setUp();
28 | void tearDown();
29 | void testPureZygosity();
30 | void testImpureZygosity();
31 | void testVirtualPloidy();
32 | void testRealPloidy();
33 | void testStreaming();
34 | };
35 |
36 | #endif // EAGLE_MODEL_TEST_GENOTYPE_HH
37 |
--------------------------------------------------------------------------------
/src/cmake/cxxExecutable.cmake:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file cxxExecutable.cmake
9 | ##
10 | ## CMake configuration file for all the c++ executables
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | include (${EAGLE_GLOBALS_CMAKE})
17 |
18 | get_filename_component(EAGLE_CURRENT_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
19 | message (STATUS "Adding the c++ program subdirectory: ${EAGLE_CURRENT_DIR_NAME}")
20 | include_directories (${EAGLE_CXX_ALL_INCLUDES})
21 | include_directories (${CMAKE_CURRENT_BINARY_DIR})
22 | include_directories (${CMAKE_CURRENT_SOURCE_DIR})
23 | include_directories (${EAGLE_CXX_CONFIG_H_DIR})
24 |
25 | ##
26 | ## probably useless (originally defined for eland)
27 | ##
28 | add_definitions(-D_REENTRANT)
29 |
--------------------------------------------------------------------------------
/src/c++/include/common/FileSystem.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description A preprocessor-based Logger + time display.
8 | **
9 | ** \author Mauricio Varea
10 | **/
11 |
12 | #ifndef EAGLE_COMMON_FILE_SYSTEM_HH
13 | #define EAGLE_COMMON_FILE_SYSTEM_HH
14 |
15 | #include
16 | #include
17 | #include
18 | #include
19 |
20 |
21 | namespace eagle
22 | {
23 | namespace common
24 | {
25 |
26 | class Glob
27 | {
28 | public:
29 | // Glob( boost::regex pattern ) : pattern_(pattern) {}
30 | Glob( std::string pattern = ".*" ) : pattern_(pattern, boost::regex_constants::mod_x) {}
31 |
32 | std::vector glob( const boost::filesystem::path& dir ) const;
33 | private:
34 | boost::regex pattern_;
35 | };
36 |
37 |
38 | } // namespace common
39 | } // namespace eagle
40 |
41 | #endif // EAGLE_COMMON_FILE_SYSTEM_HH
42 |
--------------------------------------------------------------------------------
/src/c++/unittest/check-source.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ################################################################################
3 | ##
4 | ## Copyright (c) 2014 Illumina, Inc.
5 | ##
6 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
7 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
8 | ##
9 | ## file check-source.sh
10 | ##
11 | ## Basic sanity checks on the source code before running the cppuint tests
12 | ##
13 | ## author Come Raczy
14 | ##
15 | ################################################################################
16 |
17 | target=$1
18 | shift
19 | good=yes
20 | for file in $* ; do
21 | check=`grep -nH CPPUNIT_TEST_SUITE_NAMED_REGISTRATION $file | grep -v registryName`
22 | if [[ $check ]] ; then
23 | if [[ $good ]] ; then
24 | good=
25 | echo >&2
26 | echo use of unchecked registry names: >&2
27 | fi
28 | echo " "$check >&2
29 | echo >&2
30 | fi
31 | done
32 | if [[ $good ]] ; then
33 | echo checked > $target
34 | else
35 | exit 1
36 | fi
37 |
38 |
--------------------------------------------------------------------------------
/src/cmake/preInstall/checkTargetPathsWritable/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file configure
9 | ##
10 | ## Configuration file for the share subdirectory
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | #include ("${EAGLE_MACROS_CMAKE}")
17 |
18 | #get_filename_component(EAGLE_CURRENT_DIR_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
19 | message (STATUS "Verifying target directories access")
20 |
21 | include ("${EAGLE_GLOBALS_CMAKE}")
22 | install(
23 | CODE "set(EAGLE_DEST_DIRS \"\${EAGLE_DEST_DATADIR}\"
24 | \"\${EAGLE_DEST_BINDIR}\" \"\${EAGLE_DEST_LIBDIR}\"
25 | \"\${EAGLE_DEST_LIBEXECDIR}\")"
26 | SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/checkTargetPathWritable.cmake"
27 | )
28 |
--------------------------------------------------------------------------------
/validation/TestConfig/testHuman2.mk:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## description Configuration makefile to run the ORION tests (without noise).
9 | ##
10 | ## author Mauricio Varea
11 | ##
12 | ################################################################################
13 |
14 | include $(VALIDATION_DIR)/testHuman1/config.mk
15 |
16 | # TestHuman2 = testHuman1 with the following overrides
17 | EAGLE_TEST_REF = /illumina/scratch/iGenomes/Homo_sapiens/NCBI/build37.1/Sequence/Chromosomes
18 | VARIANTS_VCF = $(EAGLE_DATADIR)/Variants/Stephens2009.vcf
19 |
20 | ALIGNMENT_EXTRAS = --PAS_PARAMS "--max_patterns_to_store 100000"
21 |
22 | # female. Override for male.
23 | EAGLE_EXTRAS = --genome-mutator-options='--organism-ploidy=2 --ploidy-chromosome=chrY --ploidy-level=0 --ploidy-chromosome=chrM --ploidy-level=100'
24 |
--------------------------------------------------------------------------------
/src/c++/libexec/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the libexec subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | ##
17 | ## List of EAGLE utilities
18 | ##
19 | file (GLOB EAGLE_ALL_UTILITIES [a-z][a-zA-Z0-9]*)
20 |
21 | ##
22 | ## Build all the utilities for the project
23 | ## EAGLE_AVAILABLE_UTILITIES is incrementally updated
24 | ##
25 |
26 | set (EAGLE_AVAILABLE_UTILITIES "")
27 | set (EAGLE_ALL_UTILITIES_DIRS "")
28 | foreach (EAGLE_LIBEXEC ${EAGLE_ALL_UTILITIES})
29 | add_subdirectory(${EAGLE_LIBEXEC})
30 | set(EAGLE_AVAILABLE_UTILITIES ${EAGLE_LIBEXEC} ${EAGLE_AVAILABLE_UTILITIES} )
31 | endforeach (EAGLE_LIBEXEC)
32 |
33 | set (EAGLE_AVAILABLE_UTILITIES ${EAGLE_AVAILABLE_UTILITIES} PARENT_SCOPE)
34 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testContig.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_CONTIG_HH
9 | #define EAGLE_MODEL_TEST_CONTIG_HH
10 |
11 | #include
12 |
13 | #include "model/Contig.hh"
14 |
15 |
16 | class TestContig : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestContig );
19 | CPPUNIT_TEST( testHeadReset );
20 | CPPUNIT_TEST( testHeadGet );
21 | CPPUNIT_TEST( testHeadCreate );
22 | CPPUNIT_TEST( testBodyBlock );
23 | //CPPUNIT_TEST( testBodySingle );
24 | //CPPUNIT_TEST( testBodyManipulation );
25 | CPPUNIT_TEST_SUITE_END();
26 | private:
27 | public:
28 | void setUp();
29 | void tearDown();
30 | void testHeadReset();
31 | void testHeadGet();
32 | void testHeadCreate();
33 | void testBodyBlock();
34 | //void testBodySingle();
35 | //void testBodyManipulation();
36 | };
37 |
38 | #endif // EAGLE_MODEL_TEST_CONTIG_HH
39 |
40 |
--------------------------------------------------------------------------------
/src/c++/lib/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | ##
3 | ## Copyright (c) 2014 Illumina, Inc.
4 | ##
5 | ## This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
6 | ## covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
7 | ##
8 | ## file CMakeLists.txt
9 | ##
10 | ## Configuration file for the lib subfolder
11 | ##
12 | ## author Mauricio Varea
13 | ##
14 | ################################################################################
15 |
16 | ##
17 | ## List of EAGLE libraries
18 | ##
19 | set (EAGLE_ALL_LIBRARIES common model io genome main)
20 |
21 | ##
22 | ## Build all the libraries for the project
23 | ## EAGLE_AVAILABLE_LIBRARIES is incrementally updated
24 | ##
25 |
26 | set (EAGLE_AVAILABLE_LIBRARIES "")
27 | set (EAGLE_ALL_LIBRARY_DIRS "")
28 | foreach (EAGLE_LIB_DIR ${EAGLE_ALL_LIBRARIES})
29 | add_subdirectory(${EAGLE_LIB_DIR})
30 | set(EAGLE_AVAILABLE_LIBRARIES eagle_${EAGLE_LIB_DIR} ${EAGLE_AVAILABLE_LIBRARIES} )
31 | endforeach (EAGLE_LIB_DIR)
32 |
33 | set (EAGLE_AVAILABLE_LIBRARIES ${EAGLE_AVAILABLE_LIBRARIES} PARENT_SCOPE)
34 |
35 |
--------------------------------------------------------------------------------
/data/tests/givenInputs/deletion.vcf:
--------------------------------------------------------------------------------
1 | #CHROM POS ID REF ALT QUAL FILT INFO
2 | chr1 35 . AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA A 0 PASS SVTYPE=DEL
3 | chr1 71 . AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA A 0 PASS SVTYPE=DEL
4 | chr1 107 . AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA A 0 PASS SVTYPE=DEL
5 | chr1 143 . AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA A 0 PASS SVTYPE=DEL
6 | chr2 35 . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C 0 PASS SVTYPE=DEL
7 | chr2 71 . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C 0 PASS SVTYPE=DEL
8 | chr2 107 . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C 0 PASS SVTYPE=DEL
9 | chr2 143 . CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C 0 PASS SVTYPE=DEL
10 | chr3 35 . GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG G 0 PASS SVTYPE=DEL
11 | chr3 71 . GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG G 0 PASS SVTYPE=DEL
12 | chr3 107 . GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG G 0 PASS SVTYPE=DEL
13 | chr3 143 . GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG G 0 PASS SVTYPE=DEL
14 | chr4 35 . TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT T 0 PASS SVTYPE=DEL
15 | chr4 71 . TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT T 0 PASS SVTYPE=DEL
16 | chr4 107 . TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT T 0 PASS SVTYPE=DEL
17 | chr4 143 . TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT T 0 PASS SVTYPE=DEL
18 |
--------------------------------------------------------------------------------
/src/c++/lib/model/cppunit/testIntervalGenerator.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **/
7 |
8 | #ifndef EAGLE_MODEL_TEST_INTERVAL_GENERATOR_HH
9 | #define EAGLE_MODEL_TEST_INTERVAL_GENERATOR_HH
10 |
11 | #include
12 |
13 | #include "model/IntervalGenerator.hh"
14 |
15 |
16 | class TestIntervalGenerator : public CppUnit::TestFixture
17 | {
18 | CPPUNIT_TEST_SUITE( TestIntervalGenerator );
19 | CPPUNIT_TEST( testReproducibleRandomness );
20 | CPPUNIT_TEST( testLargeRandomPositions );
21 | CPPUNIT_TEST( testRandomIntervals );
22 | CPPUNIT_TEST( testUniformIntervals );
23 | CPPUNIT_TEST( testRandomIntervalEnd );
24 | CPPUNIT_TEST_SUITE_END();
25 | private:
26 | public:
27 | void setUp();
28 | void tearDown();
29 | void testReproducibleRandomness();
30 | void testLargeRandomPositions();
31 | void testRandomIntervals();
32 | void testUniformIntervals();
33 | void testRandomIntervalEnd();
34 | };
35 |
36 | #endif //EAGLE_MODEL_TEST_INTERVAL_GENERATOR_HH
37 |
--------------------------------------------------------------------------------
/data/Genomes/acgt.fa:
--------------------------------------------------------------------------------
1 | >chr1
2 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
5 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
6 | >chr2
7 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
8 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
9 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
10 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 | >chr3
12 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
13 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
14 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
15 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
16 | >chr4
17 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
18 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
19 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
20 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
21 |
--------------------------------------------------------------------------------
/src/c++/include/common/Semaphore.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Deadlock-free Semaphore class, able to reset itself after crashes
8 | **
9 | ** Deadlock-free semaphore class based on boost's named semaphore.
10 | ** Automatically increase its counter after a timed_wait to avoid deadlocks
11 | ** And automatically decrease it back to normal when possible
12 | **
13 | ** \author Lilian Janin
14 | **/
15 |
16 | #ifndef EAGLE_COMMON_SEMAPHORE_HH
17 | #define EAGLE_COMMON_SEMAPHORE_HH
18 |
19 | #include
20 | #include
21 |
22 |
23 | namespace eagle
24 | {
25 | namespace common
26 | {
27 |
28 | class Semaphore
29 | {
30 | public:
31 | Semaphore( const std::string& name, const unsigned int count );
32 | void wait();
33 | void post();
34 |
35 | private:
36 | const unsigned int resourceCount_;
37 | boost::interprocess::named_semaphore semaphore_;
38 | };
39 |
40 |
41 | } // namespace common
42 | } // namespace eagle
43 |
44 | #endif // EAGLE_COMMON_SEMAPHORE_HH
45 |
--------------------------------------------------------------------------------
/src/c++/lib/common/Logger.cpp:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Time display.
8 | **
9 | ** \author Mauricio Varea
10 | **/
11 |
12 | #include
13 | #include
14 | #include
15 |
16 | #include "common/Logger.hh"
17 |
18 | namespace eagle
19 | {
20 | namespace common
21 | {
22 |
23 | std::string displayTime(size_t time)
24 | { // time in microSeconds
25 | size_t mili = time / 1000;
26 | size_t hour = mili / (60 * 60 * 1000);
27 | size_t r_hour = mili % (60 * 60 * 1000);
28 | size_t min = r_hour / (60 * 1000);
29 | size_t r_min = r_hour % (60 * 1000);
30 | size_t sec = r_min / (1000);
31 | return boost::lexical_cast(mili) + "ms"
32 | + ((mili < 1000) ? "" : (boost::format(" (%uh:%um:%us)") % hour % min % sec).str());
33 | }
34 |
35 | std::string displayTime(size_t time, size_t &acc)
36 | {
37 | acc += time;
38 | return displayTime(time);
39 | }
40 |
41 |
42 | } // namespace common
43 | } // namespace eagle
44 |
--------------------------------------------------------------------------------
/src/c++/include/model/StructuralVariantType.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Component that deals with variant events.
8 | **
9 | ** \author Mauricio Varea
10 | **/
11 |
12 | #ifndef EAGLE_MODEL_STRUCTURAL_VARIANT_TYPE_HH
13 | #define EAGLE_MODEL_STRUCTURAL_VARIANT_TYPE_HH
14 |
15 | #include
16 | #include
17 |
18 | namespace eagle
19 | {
20 | namespace model
21 | {
22 | namespace variant
23 | {
24 |
25 |
26 | typedef std::bitset<7> Type;
27 | const Type Undefined(0);
28 | const Type SNP(0x1);
29 | const Type INS(0x2);
30 | const Type DEL(0x4);
31 | const Type InDel(INS | DEL); // 0x6
32 | const Type DUP(0x8);
33 | const Type INV(0x10);
34 | const Type XOVER(0x20);
35 | const Type Translocation(0x40);
36 |
37 | // initialization via specialization
38 | template T initialize(std::string chr, unsigned long pos, std::string ref, std::string alt, unsigned int altGtIndex=1);
39 |
40 |
41 | } // namespace variant
42 | } // namespace model
43 | } // namespace eagle
44 |
45 | #endif // EAGLE_GENOME_STRUCTURAL_VARIANT_TYPE_HH
46 |
--------------------------------------------------------------------------------
/data/tests/expectedOutputs/reversed_events.fa:
--------------------------------------------------------------------------------
1 | >chr1_allele1
2 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
5 | GGGGGAAATAGGGGGGGGGGTGGGGAAATAGGGGGGGGGG
6 | >chr1_allele1_rev
7 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
8 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
9 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
10 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
11 | >chr3_allele1
12 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
13 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
14 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
15 | GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
16 | >chr4_allele1
17 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
18 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
19 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
20 | TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
21 |
--------------------------------------------------------------------------------
/src/bash/libexec/getBclBases.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [ $# -ne 5 ]; then
4 | echo "Usage:"
5 | echo " ${0##*/} "
6 | exit 1
7 | fi
8 |
9 | LANE=$1
10 | TILE=$2
11 | POS_IN_TILE=$3
12 | CYCLE1=$4
13 | CYCLE2=$5
14 | if [ $CYCLE1 -gt $CYCLE2 ] ; then
15 | REVERSE_COMPLEMENT=1
16 | STEP=-1
17 | BASES=TGCATGCA
18 | else
19 | REVERSE_COMPLEMENT=0
20 | STEP=1
21 | BASES=ACGTACGT
22 | fi
23 |
24 | let BYTENUM=POS_IN_TILE+4
25 |
26 | echo "Extracting read $LANE:$TILE:$POS_IN_TILE from cycle $CYCLE1 to $CYCLE2: reverse-complement=${REVERSE_COMPLEMENT}"
27 |
28 | for i in `seq $CYCLE1 $STEP $CYCLE2` ;
29 | do
30 | (hexdump -s $BYTENUM -n 1 -b RunFolder/Data/Intensities/BaseCalls/L00${LANE}/C$i.1/s_${LANE}_${TILE}.bcl | head -1 | head -c 11 |tail -c 1 | tr "01234567" "${BASES}");
31 | done
32 | echo ""
33 | for i in `seq $CYCLE1 $STEP $CYCLE2` ;
34 | do
35 | BCL_BASE=`hexdump -s $BYTENUM -n 1 -b RunFolder/Data/Intensities/BaseCalls/L00${LANE}/C$i.1/s_${LANE}_${TILE}.bcl | head -1 | head -c 11 |tail -c 3`
36 |
37 | let QUAL=16*\(BCL_BASE/100%10\)+2*\(BCL_BASE/10%10\)+\(BCL_BASE%10/4\)
38 | echo -n "$BCL_BASE($QUAL)."
39 | done
40 |
41 | echo ""
42 |
43 |
--------------------------------------------------------------------------------
/src/c++/include/model/PassFilter.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Class used to determine whether a cluster will Pass Filter (PF) or not
8 | **
9 | ** \author Lilian Janin
10 | **/
11 |
12 | #ifndef EAGLE_MODEL_PASS_FILTER_HH
13 | #define EAGLE_MODEL_PASS_FILTER_HH
14 |
15 | #include
16 |
17 |
18 | namespace eagle
19 | {
20 | namespace model
21 | {
22 |
23 | class PassFilter
24 | {
25 | public:
26 | static bool isBclClusterPassingFilter( const char *bclCluster, const unsigned int clusterLength )
27 | {
28 | unsigned int Ncount = 0;
29 | for (unsigned int i=0; ichr1_allele1
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
3 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
4 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
5 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
6 | >chr2_allele1
7 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
8 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
9 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
10 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
11 | >chr3_allele1
12 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
13 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
14 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
15 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
16 | >chr4_allele1
17 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
18 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
19 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
20 | GTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
21 |
--------------------------------------------------------------------------------
/src/c++/include/main/VcfComparator.hh:
--------------------------------------------------------------------------------
1 | /**
2 | ** Copyright (c) 2014 Illumina, Inc.
3 | **
4 | ** This file is part of Illumina's Enhanced Artificial Genome Engine (EAGLE),
5 | ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
6 | **
7 | ** \description Top level component to induce variants in a reference.
8 | **
9 | ** \author Lilian Janin
10 | **/
11 |
12 | #ifndef EAGLE_MAIN_VCF_COMPARATOR_HH
13 | #define EAGLE_MAIN_VCF_COMPARATOR_HH
14 |
15 | #include
16 | #include
17 | #include