├── LICENSE ├── biojava3-aa-prop ├── pom.xml └── src │ ├── main │ ├── assembly │ │ └── assembly.xml │ ├── java │ │ └── org │ │ │ └── biojava3 │ │ │ └── aaproperties │ │ │ ├── CommandPrompt.java │ │ │ ├── Constraints.java │ │ │ ├── IPeptideProperties.java │ │ │ ├── PeptideProperties.java │ │ │ ├── PeptidePropertiesImpl.java │ │ │ ├── Utils.java │ │ │ ├── package-info.java │ │ │ ├── profeat │ │ │ ├── IProfeatProperties.java │ │ │ ├── ProfeatProperties.java │ │ │ ├── ProfeatPropertiesImpl.java │ │ │ ├── convertor │ │ │ │ ├── Convert2Charge.java │ │ │ │ ├── Convert2Hydrophobicity.java │ │ │ │ ├── Convert2NormalizedVanDerWaalsVolume.java │ │ │ │ ├── Convert2Polarity.java │ │ │ │ ├── Convert2Polarizability.java │ │ │ │ ├── Convert2SecondaryStructure.java │ │ │ │ ├── Convert2SolventAccessibility.java │ │ │ │ ├── Convertor.java │ │ │ │ └── package-info.java │ │ │ └── package-info.java │ │ │ └── xml │ │ │ ├── AminoAcidComposition.java │ │ │ ├── AminoAcidCompositionTable.java │ │ │ ├── CaseFreeAminoAcidCompoundSet.java │ │ │ ├── Element.java │ │ │ ├── ElementTable.java │ │ │ ├── Isotope.java │ │ │ ├── ModifiedAminoAcidCompoundSet.java │ │ │ ├── MyValidationEventHandler.java │ │ │ ├── Name2Count.java │ │ │ ├── SchemaGenerator.java │ │ │ └── package-info.java │ └── resources │ │ ├── AdvancedAminoAcidComposition.xml │ │ ├── AdvancedElementMass.xml │ │ ├── AminoAcidComposition.xml │ │ ├── AminoAcidComposition.xsd │ │ ├── AminoAcidCompositionWithID.xml │ │ ├── ElementMass.xml │ │ ├── ElementMass.xsd │ │ ├── MinAminoAcidComposition.xml │ │ ├── MinElementMass.xml │ │ └── Simplified_compound.xml │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── aaproperties │ │ ├── CommandPromptTester.java │ │ ├── CookBookTester.java │ │ ├── PeptidePropertiesImplTester.java │ │ ├── ProfeatPropertiesImplTester.java │ │ ├── profeat │ │ └── CookBookTester.java │ │ └── xml │ │ ├── AminoAcidTester.java │ │ ├── ElementTester.java │ │ └── GenerateJavaCodesFromText.java │ └── resources │ ├── Symbol2Name.txt │ ├── Symbol2Weight.txt │ ├── modifiedTest.csv │ ├── modifiedTest.fasta │ ├── test.csv │ ├── test.fasta │ ├── test.tsv │ └── testWithCases.fasta ├── biojava3-alignment ├── pom.xml └── src │ ├── main │ ├── java │ │ ├── demo │ │ │ ├── CookbookMSA.java │ │ │ ├── DemoAlignProteins.java │ │ │ ├── DemoLoadSubstMax.java │ │ │ └── TestDNANeedlemanWunsch.java │ │ └── org │ │ │ └── biojava3 │ │ │ └── alignment │ │ │ ├── Alignments.java │ │ │ ├── FractionalIdentityInProfileScorer.java │ │ │ ├── FractionalIdentityScorer.java │ │ │ ├── FractionalSimilarityInProfileScorer.java │ │ │ ├── FractionalSimilarityScorer.java │ │ │ ├── GuideTree.java │ │ │ ├── NeedlemanWunsch.java │ │ │ ├── SimpleAlignedSequence.java │ │ │ ├── SimpleGapPenalty.java │ │ │ ├── SimpleProfile.java │ │ │ ├── SimpleProfilePair.java │ │ │ ├── SimpleProfileProfileAligner.java │ │ │ ├── SimpleSequencePair.java │ │ │ ├── SimpleSubstitutionMatrix.java │ │ │ ├── SmithWaterman.java │ │ │ ├── StandardRescoreRefiner.java │ │ │ ├── SubstitutionMatrixHelper.java │ │ │ ├── aaindex │ │ │ ├── AAIndexFileParser.java │ │ │ ├── AAIndexProvider.java │ │ │ ├── AAindexFactory.java │ │ │ ├── DefaultAAIndexProvider.java │ │ │ └── ScaledSubstitutionMatrix.java │ │ │ ├── io │ │ │ ├── StockholmConsensusAnnotation.java │ │ │ ├── StockholmFileAnnotation.java │ │ │ ├── StockholmFileParser.java │ │ │ ├── StockholmResidueAnnotation.java │ │ │ ├── StockholmSequenceAnnotation.java │ │ │ └── StockholmStructure.java │ │ │ ├── routines │ │ │ ├── AlignerHelper.java │ │ │ ├── AnchoredPairwiseSequenceAligner.java │ │ │ └── GuanUberbacher.java │ │ │ └── template │ │ │ ├── AbstractMatrixAligner.java │ │ │ ├── AbstractPairwiseSequenceAligner.java │ │ │ ├── AbstractProfileProfileAligner.java │ │ │ ├── AbstractScorer.java │ │ │ ├── AlignedSequence.java │ │ │ ├── Aligner.java │ │ │ ├── CallablePairwiseSequenceAligner.java │ │ │ ├── CallablePairwiseSequenceScorer.java │ │ │ ├── CallableProfileProfileAligner.java │ │ │ ├── GapPenalty.java │ │ │ ├── GuideTreeNode.java │ │ │ ├── HierarchicalClusterer.java │ │ │ ├── MatrixAligner.java │ │ │ ├── MutableAlignedSequence.java │ │ │ ├── MutableProfile.java │ │ │ ├── MutableProfilePair.java │ │ │ ├── MutableSequencePair.java │ │ │ ├── PairInProfileScorer.java │ │ │ ├── PairwiseSequenceAligner.java │ │ │ ├── PairwiseSequenceScorer.java │ │ │ ├── PartitionRefiner.java │ │ │ ├── Profile.java │ │ │ ├── ProfilePair.java │ │ │ ├── ProfileProfileAligner.java │ │ │ ├── ProfileProfileScorer.java │ │ │ ├── ProfileView.java │ │ │ ├── RescoreRefiner.java │ │ │ ├── Scorer.java │ │ │ ├── SequencePair.java │ │ │ └── SubstitutionMatrix.java │ └── resources │ │ ├── AAINDEX.txt │ │ ├── blosum100.txt │ │ ├── blosum30.txt │ │ ├── blosum35.txt │ │ ├── blosum40.txt │ │ ├── blosum45.txt │ │ ├── blosum50.txt │ │ ├── blosum55.txt │ │ ├── blosum60.txt │ │ ├── blosum62.txt │ │ ├── blosum65.txt │ │ ├── blosum70.txt │ │ ├── blosum75.txt │ │ ├── blosum80.txt │ │ ├── blosum85.txt │ │ ├── blosum90.txt │ │ ├── gonnet250.txt │ │ ├── nuc-4_2.txt │ │ ├── nuc-4_4.txt │ │ └── pam250.txt │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── alignment │ │ ├── CookbookAlignAllGlobal.java │ │ ├── CookbookAlignAllLocal.java │ │ ├── CookbookAlignPairGlobal.java │ │ ├── CookbookAlignPairLocal.java │ │ ├── CookbookMSA.java │ │ ├── CookbookMSAProfiler.java │ │ ├── FractionalIdentityScorerTest.java │ │ ├── FractionalSimilarityScorerTest.java │ │ ├── GuideTreeTest.java │ │ ├── NeedlemanWunschTest.java │ │ ├── SimpleAlignedSequenceTest.java │ │ ├── SimpleGapPenaltyTest.java │ │ ├── SimpleProfilePairTest.java │ │ ├── SimpleProfileProfileAlignerTest.java │ │ ├── SimpleProfileTest.java │ │ ├── SimpleSequencePairTest.java │ │ ├── SimpleSubstitutionMatrixTest.java │ │ ├── SmithWatermanTest.java │ │ ├── TestDNAAlignment.java │ │ ├── aaindex │ │ └── TestAAINDEXLoading.java │ │ ├── io │ │ └── TestStockholmParser.java │ │ └── routines │ │ └── GuanUberbacherTest.java │ └── resources │ ├── dna-fasta.txt │ ├── longTest(Ankyrin repeat).sto │ ├── piwi-aligned-fasta.txt │ ├── piwi-seed-fasta.txt │ ├── piwi.sth.gz │ ├── pkinase.sto │ ├── rrm.sto │ ├── test.sth │ └── test1.sth ├── biojava3-core ├── dir_conflicts.prej ├── nbactions.xml ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── biojava3 │ │ │ └── core │ │ │ ├── exceptions │ │ │ ├── CompoundNotFoundError.java │ │ │ ├── FileAccessError.java │ │ │ ├── HeaderParseException.java │ │ │ ├── ParserException.java │ │ │ ├── SequenceLengthError.java │ │ │ └── TranslationException.java │ │ │ ├── sequence │ │ │ ├── AccessionID.java │ │ │ ├── BasicSequence.java │ │ │ ├── CDSComparator.java │ │ │ ├── CDSSequence.java │ │ │ ├── ChromosomeSequence.java │ │ │ ├── DNASequence.java │ │ │ ├── DataSource.java │ │ │ ├── ExonComparator.java │ │ │ ├── ExonSequence.java │ │ │ ├── GeneSequence.java │ │ │ ├── IntronSequence.java │ │ │ ├── MultipleSequenceAlignment.java │ │ │ ├── ProteinSequence.java │ │ │ ├── RNASequence.java │ │ │ ├── SequenceComparator.java │ │ │ ├── SequenceOptimizationHints.java │ │ │ ├── StartCodonSequence.java │ │ │ ├── StopCodonSequence.java │ │ │ ├── Strand.java │ │ │ ├── TaxonomyID.java │ │ │ ├── TranscriptSequence.java │ │ │ ├── compound │ │ │ │ ├── AmbiguityDNACompoundSet.java │ │ │ │ ├── AmbiguityRNACompoundSet.java │ │ │ │ ├── AminoAcidCompound.java │ │ │ │ ├── AminoAcidCompoundSet.java │ │ │ │ ├── CodonCompound.java │ │ │ │ ├── DNACompoundSet.java │ │ │ │ ├── NucleotideCompound.java │ │ │ │ └── RNACompoundSet.java │ │ │ ├── edits │ │ │ │ └── Edit.java │ │ │ ├── features │ │ │ │ ├── AbstractFeature.java │ │ │ │ ├── DBReferenceInfo.java │ │ │ │ ├── DatabaseReferenceInterface.java │ │ │ │ ├── FeatureInterface.java │ │ │ │ ├── FeaturesKeyWordInterface.java │ │ │ │ ├── QualityFeature.java │ │ │ │ ├── QuantityFeature.java │ │ │ │ └── TextFeature.java │ │ │ ├── io │ │ │ │ ├── BufferedReaderBytesRead.java │ │ │ │ ├── CasePreservingProteinSequenceCreator.java │ │ │ │ ├── DNASequenceCreator.java │ │ │ │ ├── FastaGeneWriter.java │ │ │ │ ├── FastaReader.java │ │ │ │ ├── FastaReaderHelper.java │ │ │ │ ├── FastaSequenceParser.java │ │ │ │ ├── FastaWriter.java │ │ │ │ ├── FastaWriterHelper.java │ │ │ │ ├── FileProxyDNASequenceCreator.java │ │ │ │ ├── FileProxyProteinSequenceCreator.java │ │ │ │ ├── GenericFastaHeaderFormat.java │ │ │ │ ├── GenericFastaHeaderParser.java │ │ │ │ ├── IUPACParser.java │ │ │ │ ├── PlainFastaHeaderParser.java │ │ │ │ ├── ProteinSequenceCreator.java │ │ │ │ ├── RNASequenceCreator.java │ │ │ │ ├── template │ │ │ │ │ ├── FastaHeaderFormatInterface.java │ │ │ │ │ ├── FastaHeaderParserInterface.java │ │ │ │ │ ├── SequenceCreatorInterface.java │ │ │ │ │ └── SequenceParserInterface.java │ │ │ │ └── util │ │ │ │ │ ├── ClasspathResource.java │ │ │ │ │ └── IOUtils.java │ │ │ ├── loader │ │ │ │ ├── ArrayListProxySequenceReader.java │ │ │ │ ├── SequenceFileProxyLoader.java │ │ │ │ ├── StringProxySequenceReader.java │ │ │ │ └── UniprotProxySequenceReader.java │ │ │ ├── location │ │ │ │ ├── FuzzyPoint.java │ │ │ │ ├── InsdcLocations.java │ │ │ │ ├── InsdcParser.java │ │ │ │ ├── LocationHelper.java │ │ │ │ ├── SequenceLocation.java │ │ │ │ ├── SimpleLocation.java │ │ │ │ ├── SimplePoint.java │ │ │ │ └── template │ │ │ │ │ ├── AbstractLocation.java │ │ │ │ │ ├── AccesionedLocation.java │ │ │ │ │ ├── Location.java │ │ │ │ │ └── Point.java │ │ │ ├── storage │ │ │ │ ├── ArrayListSequenceReader.java │ │ │ │ ├── BitSequenceReader.java │ │ │ │ ├── FourBitSequenceReader.java │ │ │ │ ├── JoiningSequenceReader.java │ │ │ │ ├── SequenceAsStringHelper.java │ │ │ │ ├── SingleCompoundSequenceReader.java │ │ │ │ └── TwoBitSequenceReader.java │ │ │ ├── template │ │ │ │ ├── AbstractCompound.java │ │ │ │ ├── AbstractCompoundSet.java │ │ │ │ ├── AbstractCompoundTranslator.java │ │ │ │ ├── AbstractNucleotideCompoundSet.java │ │ │ │ ├── AbstractSequence.java │ │ │ │ ├── Accessioned.java │ │ │ │ ├── ComplementCompound.java │ │ │ │ ├── Compound.java │ │ │ │ ├── CompoundSet.java │ │ │ │ ├── CompoundTranslator.java │ │ │ │ ├── LightweightProfile.java │ │ │ │ ├── ProxySequenceReader.java │ │ │ │ ├── Sequence.java │ │ │ │ ├── SequenceMixin.java │ │ │ │ ├── SequenceProxyView.java │ │ │ │ ├── SequenceReader.java │ │ │ │ └── SequenceView.java │ │ │ ├── transcription │ │ │ │ ├── CaseInsensitiveCompound.java │ │ │ │ ├── DNAToRNATranslator.java │ │ │ │ ├── Frame.java │ │ │ │ ├── RNAToAminoAcidTranslator.java │ │ │ │ ├── Table.java │ │ │ │ └── TranscriptionEngine.java │ │ │ └── views │ │ │ │ ├── ComplementSequenceView.java │ │ │ │ ├── ReversedSequenceView.java │ │ │ │ ├── RnaSequenceView.java │ │ │ │ └── WindowedSequence.java │ │ │ └── util │ │ │ ├── CRC64Checksum.java │ │ │ ├── ConcurrencyTools.java │ │ │ ├── Equals.java │ │ │ ├── FlatFileCache.java │ │ │ ├── Hashcoder.java │ │ │ ├── InputStreamProvider.java │ │ │ ├── PrettyXMLWriter.java │ │ │ ├── SequenceTools.java │ │ │ ├── SoftHashMap.java │ │ │ ├── StringManipulationHelper.java │ │ │ ├── UncompressInputStream.java │ │ │ ├── XMLHelper.java │ │ │ └── XMLWriter.java │ └── resources │ │ └── org │ │ └── biojava3 │ │ └── core │ │ └── sequence │ │ └── iupac.txt │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── core │ │ └── sequence │ │ ├── DNATest.java │ │ ├── EditSequenceTest.java │ │ ├── JoiningSequenceReaderTest.java │ │ ├── MultipleSequenceAlignmentTest.java │ │ ├── SequenceViewTest.java │ │ ├── TranslationTest.java │ │ ├── compound │ │ └── AmbiguityDNACompoundTest.java │ │ ├── io │ │ ├── CasePreservingProteinSequenceCreatorTest.java │ │ ├── FastaReaderTest.java │ │ ├── FastaWriterTest.java │ │ └── GenericFastaHeaderParserTest.java │ │ ├── location │ │ ├── LocationParserTest.java │ │ └── LocationTest.java │ │ └── views │ │ └── WindowViewTests.java │ └── resources │ ├── PF00070.selex │ ├── PF00104_small.fasta │ └── org │ └── biojava3 │ └── core │ └── sequence │ ├── BRCA2-cds.fasta │ ├── BRCA2-peptide.fasta │ ├── volvox-cds.fasta │ └── volvox-peptide.fasta ├── biojava3-genome ├── nb-configuration.xml ├── nbactions.xml ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── biojava3 │ │ └── genome │ │ ├── App.java │ │ ├── GeneFeatureHelper.java │ │ ├── homology │ │ ├── BlastHomologyHits.java │ │ └── GFF3FromUniprotBlastHits.java │ │ ├── parsers │ │ ├── geneid │ │ │ └── GeneIDXMLReader.java │ │ └── gff │ │ │ ├── Feature.java │ │ │ ├── FeatureHelper.java │ │ │ ├── FeatureI.java │ │ │ ├── FeatureList.java │ │ │ ├── GCStats.java │ │ │ ├── GFF3Reader.java │ │ │ ├── GFF3Writer.java │ │ │ ├── GeneIDGFF2Reader.java │ │ │ ├── GeneMarkGTFReader.java │ │ │ ├── LocIterator.java │ │ │ └── Location.java │ │ ├── query │ │ ├── BlastXMLQuery.java │ │ └── OutputHitsGFF.java │ │ ├── uniprot │ │ └── UniprotToFasta.java │ │ └── util │ │ └── SplitFasta.java │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── genome │ │ ├── AppTest.java │ │ └── GeneFeatureHelperTest.java │ └── resources │ ├── amphimedon.gff3 │ ├── volvox.gff3 │ ├── volvox_all.faa │ ├── volvox_all.fna │ ├── volvox_all_genes_exon_uppercase.fna │ ├── volvox_all_reference.faa │ ├── volvox_length.gff3 │ └── volvox_length_reference.gff3 ├── biojava3-modfinder ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── biojava3 │ │ │ └── protmod │ │ │ ├── Component.java │ │ │ ├── ModificationCategory.java │ │ │ ├── ModificationCondition.java │ │ │ ├── ModificationConditionImpl.java │ │ │ ├── ModificationLinkage.java │ │ │ ├── ModificationOccurrenceType.java │ │ │ ├── ProteinModification.java │ │ │ ├── ProteinModificationImpl.java │ │ │ ├── ProteinModificationRegistry.java │ │ │ ├── io │ │ │ ├── ComponentXMLConverter.java │ │ │ ├── ModifiedCompoundXMLConverter.java │ │ │ ├── ProteinModificationXmlReader.java │ │ │ ├── StructureAtomXMLConverter.java │ │ │ └── StructureGroupXMLConverter.java │ │ │ └── structure │ │ │ ├── ModifiedCompound.java │ │ │ ├── ModifiedCompoundImpl.java │ │ │ ├── ProteinModificationIdentifier.java │ │ │ ├── StructureAtom.java │ │ │ ├── StructureAtomLinkage.java │ │ │ ├── StructureGroup.java │ │ │ └── StructureUtil.java │ └── resources │ │ └── org │ │ └── biojava3 │ │ └── protmod │ │ └── ptm_list.xml │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── protmod │ │ └── structure │ │ ├── ModifiedCompoundSerializationTest.java │ │ ├── ProteinModificationParserTest.java │ │ ├── ProteinModificationRegistryTest.java │ │ └── TmpAtomCache.java │ └── resources │ └── org │ └── biojava3 │ └── protmod │ └── parser │ └── modifiedCompound.xml ├── biojava3-phylo ├── pom.xml └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── biojava3 │ │ │ └── phylo │ │ │ ├── App.java │ │ │ ├── CheckTreeAccuracy.java │ │ │ ├── Comparison.java │ │ │ ├── NJTreeProgressListener.java │ │ │ ├── ProgessListenerStub.java │ │ │ ├── ResidueProperties.java │ │ │ ├── ScoreMatrix.java │ │ │ ├── TreeConstructionAlgorithm.java │ │ │ ├── TreeConstructor.java │ │ │ └── TreeType.java │ └── resources │ │ └── PF00104_small.fasta │ └── test │ └── java │ └── org │ └── biojava3 │ └── phylo │ └── AppTest.java ├── biojava3-protein-disorder ├── pom.xml └── src │ ├── main │ ├── java │ │ ├── demo │ │ │ └── PredictDisorder.java │ │ └── org │ │ │ └── biojava3 │ │ │ ├── data │ │ │ └── sequence │ │ │ │ ├── FastaSequence.java │ │ │ │ ├── SequenceUtil.java │ │ │ │ └── package-info.java │ │ │ ├── print_usage.txt │ │ │ └── ronn │ │ │ ├── InputParameters.java │ │ │ ├── Jronn.java │ │ │ ├── ModelLoader.java │ │ │ ├── NullOutputStream.java │ │ │ ├── ORonn.java │ │ │ ├── ORonnModel.java │ │ │ ├── RonnConstraint.java │ │ │ ├── Timer.java │ │ │ └── package-info.java │ └── resources │ │ └── org │ │ └── biojava3 │ │ └── ronn │ │ ├── model0.rec │ │ ├── model1.rec │ │ ├── model2.rec │ │ ├── model3.rec │ │ ├── model4.rec │ │ ├── model5.rec │ │ ├── model6.rec │ │ ├── model7.rec │ │ ├── model8.rec │ │ └── model9.rec │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── ronn │ │ ├── JronnExample.java │ │ ├── JronnTest.java │ │ └── NonstandardProteinCompoundTest.java │ └── resources │ └── fasta.in ├── biojava3-sequencing ├── pom.xml └── src │ ├── main │ └── java │ │ └── org │ │ └── biojava3 │ │ └── sequencing │ │ └── io │ │ └── fastq │ │ ├── AbstractFastqReader.java │ │ ├── AbstractFastqWriter.java │ │ ├── Fastq.java │ │ ├── FastqBuilder.java │ │ ├── FastqParser.java │ │ ├── FastqReader.java │ │ ├── FastqTools.java │ │ ├── FastqVariant.java │ │ ├── FastqWriter.java │ │ ├── IlluminaFastqReader.java │ │ ├── IlluminaFastqWriter.java │ │ ├── ParseListener.java │ │ ├── SangerFastqReader.java │ │ ├── SangerFastqWriter.java │ │ ├── SolexaFastqReader.java │ │ ├── SolexaFastqWriter.java │ │ ├── StreamListener.java │ │ ├── StreamingFastqParser.java │ │ └── package-info.java │ └── test │ ├── java │ └── org │ │ └── biojava3 │ │ └── sequencing │ │ └── io │ │ └── fastq │ │ ├── AbstractFastqReaderTest.java │ │ ├── AbstractFastqWriterTest.java │ │ ├── FastqBuilderTest.java │ │ ├── FastqTest.java │ │ ├── FastqToolsTest.java │ │ ├── FastqVariantTest.java │ │ ├── IlluminaFastqReaderTest.java │ │ ├── IlluminaFastqWriterTest.java │ │ ├── SangerFastqReaderTest.java │ │ ├── SangerFastqWriterTest.java │ │ ├── SolexaFastqReaderTest.java │ │ ├── SolexaFastqWriterTest.java │ │ └── StreamingFastqParserTest.java │ └── resources │ └── org │ └── biojava3 │ └── sequencing │ └── io │ └── fastq │ ├── bug2335.fastq │ ├── empty.fastq │ ├── error_diff_ids.fastq │ ├── error_double_qual.fastq │ ├── error_double_seq.fastq │ ├── error_long_qual.fastq │ ├── error_no_qual.fastq │ ├── error_qual_del.fastq │ ├── error_qual_escape.fastq │ ├── error_qual_null.fastq │ ├── error_qual_space.fastq │ ├── error_qual_tab.fastq │ ├── error_qual_unit_sep.fastq │ ├── error_qual_vtab.fastq │ ├── error_short_qual.fastq │ ├── error_spaces.fastq │ ├── error_tabs.fastq │ ├── error_trunc_at_plus.fastq │ ├── error_trunc_at_qual.fastq │ ├── error_trunc_at_seq.fastq │ ├── error_trunc_in_plus.fastq │ ├── error_trunc_in_qual.fastq │ ├── error_trunc_in_seq.fastq │ ├── error_trunc_in_title.fastq │ ├── evil_wrapping.fastq │ ├── example.fastq │ ├── illumina-invalid-description.fastq │ ├── illumina-invalid-repeat-description.fastq │ ├── illumina_example.fastq │ ├── illumina_faked.fastq │ ├── illumina_full_range_as_illumina.fastq │ ├── illumina_full_range_as_sanger.fastq │ ├── illumina_full_range_as_solexa.fastq │ ├── illumina_full_range_original_illumina.fastq │ ├── longreads_as_illumina.fastq │ ├── longreads_as_sanger.fastq │ ├── longreads_as_solexa.fastq │ ├── longreads_original_sanger.fastq │ ├── misc_dna_as_illumina.fastq │ ├── misc_dna_as_sanger.fastq │ ├── misc_dna_as_solexa.fastq │ ├── misc_dna_original_sanger.fastq │ ├── misc_rna_as_illumina.fastq │ ├── misc_rna_as_sanger.fastq │ ├── misc_rna_as_solexa.fastq │ ├── misc_rna_original_sanger.fastq │ ├── multiple-wrapped-quality.fastq │ ├── sanger-invalid-description.fastq │ ├── sanger-invalid-repeat-description.fastq │ ├── sanger_93.fastq │ ├── sanger_faked.fastq │ ├── sanger_full_range_as_illumina.fastq │ ├── sanger_full_range_as_sanger.fastq │ ├── sanger_full_range_as_solexa.fastq │ ├── sanger_full_range_original_sanger.fastq │ ├── solexa-invalid-description.fastq │ ├── solexa-invalid-repeat-description.fastq │ ├── solexa_example.fastq │ ├── solexa_faked.fastq │ ├── solexa_full_range_as_illumina.fastq │ ├── solexa_full_range_as_sanger.fastq │ ├── solexa_full_range_as_solexa.fastq │ ├── solexa_full_range_original_solexa.fastq │ ├── test1_sanger.fastq │ ├── test2_solexa.fastq │ ├── test3_illumina.fastq │ ├── tricky.fastq │ ├── wrapped-quality.fastq │ ├── wrapped-sequence.fastq │ ├── wrapping_as_illumina.fastq │ ├── wrapping_as_sanger.fastq │ ├── wrapping_as_solexa.fastq │ ├── wrapping_issues.fastq │ └── wrapping_original_sanger.fastq ├── biojava3-structure-gui ├── pom.xml ├── readme.txt └── src │ ├── main │ ├── java │ │ ├── demo │ │ │ ├── AlignmentGuiDemo.java │ │ │ ├── CookBook.java │ │ │ ├── DemoAlignmentFromFasta.java │ │ │ ├── DemoCE.java │ │ │ ├── DemoFATCAT.java │ │ │ ├── DemoRotationAxis.java │ │ │ ├── DemoSW3DAligner.java │ │ │ ├── DemoShowBiolAssembly.java │ │ │ ├── DemoStructureFromFasta.java │ │ │ ├── ShowStructureInJmol.java │ │ │ └── WebStartClientDemo.java │ │ └── org │ │ │ ├── biojava │ │ │ └── bio │ │ │ │ └── structure │ │ │ │ ├── align │ │ │ │ ├── gui │ │ │ │ │ ├── AboutDialog.java │ │ │ │ │ ├── AlignmentCalc.java │ │ │ │ │ ├── AlignmentCalcDB.java │ │ │ │ │ ├── AlignmentCalculationRunnable.java │ │ │ │ │ ├── AlignmentGui.java │ │ │ │ │ ├── AlignmentTextPanel.java │ │ │ │ │ ├── ChooseDirAction.java │ │ │ │ │ ├── ConfigPDBInstallPanel.java │ │ │ │ │ ├── DBResultTable.java │ │ │ │ │ ├── DBSearchGUI.java │ │ │ │ │ ├── DisplayAFP.java │ │ │ │ │ ├── DotPlotPanel.java │ │ │ │ │ ├── GUIAlignmentProgressListener.java │ │ │ │ │ ├── GUIFarmJobRunnable.java │ │ │ │ │ ├── HelpDialog.java │ │ │ │ │ ├── JPrintPanel.java │ │ │ │ │ ├── MemoryMonitor.java │ │ │ │ │ ├── MenuCreator.java │ │ │ │ │ ├── MyAlignmentLoadListener.java │ │ │ │ │ ├── MyDistMaxListener.java │ │ │ │ │ ├── MyExportListener.java │ │ │ │ │ ├── MyOpenPdbFileListener.java │ │ │ │ │ ├── MySaveFileListener.java │ │ │ │ │ ├── MyTableRowSorter.java │ │ │ │ │ ├── ParameterGUI.java │ │ │ │ │ ├── SelectPDBPanel.java │ │ │ │ │ ├── ShowPDBIDListener.java │ │ │ │ │ ├── StructureAlignmentDisplay.java │ │ │ │ │ ├── StructureLoaderThread.java │ │ │ │ │ ├── SystemInfo.java │ │ │ │ │ ├── aligpanel │ │ │ │ │ │ ├── AFPChainCoordManager.java │ │ │ │ │ │ ├── AligPanel.java │ │ │ │ │ │ ├── AligPanelMouseMotionListener.java │ │ │ │ │ │ └── StatusDisplay.java │ │ │ │ │ ├── autosuggest │ │ │ │ │ │ ├── AutoSuggestProvider.java │ │ │ │ │ │ ├── DefaultAutoSuggestProvider.java │ │ │ │ │ │ ├── JAutoSuggest.java │ │ │ │ │ │ └── SCOPAutoSuggestProvider.java │ │ │ │ │ └── jmol │ │ │ │ │ │ ├── AtomInfo.java │ │ │ │ │ │ ├── AtomInfoParser.java │ │ │ │ │ │ ├── JmolPanel.java │ │ │ │ │ │ ├── JmolTools.java │ │ │ │ │ │ ├── MyJmolStatusListener.java │ │ │ │ │ │ ├── RasmolCommandListener.java │ │ │ │ │ │ ├── StructureAlignmentJmol.java │ │ │ │ │ │ └── package.html │ │ │ │ └── webstart │ │ │ │ │ ├── AligUIManager.java │ │ │ │ │ ├── BrowserOpener.java │ │ │ │ │ ├── ConfigXMLHandler.java │ │ │ │ │ ├── JNLPProxy.java │ │ │ │ │ ├── PersistentConfig.java │ │ │ │ │ ├── WebStartDBSearch.java │ │ │ │ │ ├── WebStartDBSearchResults.java │ │ │ │ │ ├── WebStartMain.java │ │ │ │ │ └── package.html │ │ │ │ └── gui │ │ │ │ ├── BiojavaJmol.java │ │ │ │ ├── JMatrixPanel.java │ │ │ │ ├── RasmolCommandListener.java │ │ │ │ ├── ScaleableMatrixPanel.java │ │ │ │ ├── SequenceDisplay.java │ │ │ │ ├── events │ │ │ │ ├── AlignmentPositionListener.java │ │ │ │ ├── JmolAlignedPositionListener.java │ │ │ │ └── package.html │ │ │ │ ├── package.html │ │ │ │ └── util │ │ │ │ ├── AlignedPosition.java │ │ │ │ ├── AlignmentCalc.java │ │ │ │ ├── AlternativeAlignmentFrame.java │ │ │ │ ├── CoordManager.java │ │ │ │ ├── JButtonTableCellRenderer.java │ │ │ │ ├── JTableDataButtonModel.java │ │ │ │ ├── JTableMouseButtonListener.java │ │ │ │ ├── MenuCreator.java │ │ │ │ ├── PDBDirPanel.java │ │ │ │ ├── PDBServerPanel.java │ │ │ │ ├── PDBUploadPanel.java │ │ │ │ ├── ScopInstallationInstance.java │ │ │ │ ├── ScopSelectPanel.java │ │ │ │ ├── SequenceMouseListener.java │ │ │ │ ├── SequenceScalePanel.java │ │ │ │ ├── StructurePairSelector.java │ │ │ │ ├── color │ │ │ │ ├── ColorInterpolator.java │ │ │ │ ├── ColorUtils.java │ │ │ │ ├── ContinuousColorMapper.java │ │ │ │ ├── ContinuousColorMapperTransform.java │ │ │ │ ├── DefaultMatrixMapper.java │ │ │ │ ├── GradientMapper.java │ │ │ │ ├── GradientPanel.java │ │ │ │ ├── HSVColorSpace.java │ │ │ │ ├── LinearColorInterpolator.java │ │ │ │ ├── LogColorMapper.java │ │ │ │ └── SqrtColorMapper.java │ │ │ │ └── package.html │ │ │ └── biojava3 │ │ │ └── structure │ │ │ └── gui │ │ │ ├── JmolViewerImpl.java │ │ │ ├── OpenAstexViewerImpl.java │ │ │ ├── RenderStyle.java │ │ │ ├── Selection.java │ │ │ ├── SelectionImpl.java │ │ │ ├── StructureViewer.java │ │ │ └── package.html │ └── resources │ │ └── icons │ │ ├── background.png │ │ ├── compfile.png │ │ ├── configure.png │ │ ├── editdelete.png │ │ ├── exit.png │ │ ├── fileprint.png │ │ ├── filesave.png │ │ ├── help.png │ │ ├── kpdf.png │ │ ├── print_printer.png │ │ ├── reload.png │ │ ├── revert-1.png │ │ ├── revert.png │ │ └── window_new.png │ └── test │ └── java │ └── org │ └── biojava │ ├── bio │ └── structure │ │ └── gui │ │ └── TestAtomInfo.java │ └── structure │ └── gui │ ├── JmolViewerImplTest.java │ ├── OpenAstexViewerImplTest.java │ ├── RenderStyleTest.java │ ├── StructureViewerTest.java │ └── ViewerTest.java ├── biojava3-structure ├── pom.xml └── src │ ├── main │ ├── java │ │ ├── META-INF │ │ │ └── MANIFEST.MF │ │ ├── demo │ │ │ ├── ChemCompDistribution.java │ │ │ ├── DemoAtomCache.java │ │ │ ├── DemoBerkeleyScop.java │ │ │ ├── DemoCATH.java │ │ │ ├── DemoCE.java │ │ │ ├── DemoChangeChemCompProvider.java │ │ │ ├── DemoCommandLineStartup.java │ │ │ ├── DemoDomainsplit.java │ │ │ ├── DemoFATCAT.java │ │ │ ├── DemoLoadSecStruc.java │ │ │ ├── DemoLoadStructure.java │ │ │ ├── DemoMMCIFReader.java │ │ │ └── DemoSCOP.java │ │ └── org │ │ │ ├── biojava │ │ │ └── bio │ │ │ │ └── structure │ │ │ │ ├── AminoAcid.java │ │ │ │ ├── AminoAcidImpl.java │ │ │ │ ├── Atom.java │ │ │ │ ├── AtomImpl.java │ │ │ │ ├── AtomIterator.java │ │ │ │ ├── AtomPositionMap.java │ │ │ │ ├── Author.java │ │ │ │ ├── Bond.java │ │ │ │ ├── BondType.java │ │ │ │ ├── Calc.java │ │ │ │ ├── Chain.java │ │ │ │ ├── ChainImpl.java │ │ │ │ ├── Compound.java │ │ │ │ ├── DBRef.java │ │ │ │ ├── Element.java │ │ │ │ ├── ElementType.java │ │ │ │ ├── Group.java │ │ │ │ ├── GroupIterator.java │ │ │ │ ├── GroupType.java │ │ │ │ ├── HetatomImpl.java │ │ │ │ ├── JournalArticle.java │ │ │ │ ├── Mutator.java │ │ │ │ ├── NucleotideImpl.java │ │ │ │ ├── PDBCrystallographicInfo.java │ │ │ │ ├── PDBHeader.java │ │ │ │ ├── PDBRecord.java │ │ │ │ ├── PDBStatus.java │ │ │ │ ├── ResidueNumber.java │ │ │ │ ├── ResidueRange.java │ │ │ │ ├── SSBond.java │ │ │ │ ├── SVDSuperimposer.java │ │ │ │ ├── Site.java │ │ │ │ ├── StandardAminoAcid.java │ │ │ │ ├── Structure.java │ │ │ │ ├── StructureException.java │ │ │ │ ├── StructureImpl.java │ │ │ │ ├── StructureTools.java │ │ │ │ ├── UnknownPdbAminoAcidException.java │ │ │ │ ├── align │ │ │ │ ├── AFPTwister.java │ │ │ │ ├── AbstractStructureAlignment.java │ │ │ │ ├── BioJavaStructureAlignment.java │ │ │ │ ├── CallableStructureAlignment.java │ │ │ │ ├── ClusterAltAligs.java │ │ │ │ ├── FarmJob.java │ │ │ │ ├── MultiThreadedDBSearch.java │ │ │ │ ├── StrucAligParameters.java │ │ │ │ ├── StructureAlignment.java │ │ │ │ ├── StructureAlignmentFactory.java │ │ │ │ ├── StructurePairAligner.java │ │ │ │ ├── ce │ │ │ │ │ ├── AbstractUserArgumentProcessor.java │ │ │ │ │ ├── CECalculator.java │ │ │ │ │ ├── CeCPMain.java │ │ │ │ │ ├── CeCPUserArgumentProcessor.java │ │ │ │ │ ├── CeCalculatorEnhanced.java │ │ │ │ │ ├── CeMain.java │ │ │ │ │ ├── CeParameters.java │ │ │ │ │ ├── CeSideChainMain.java │ │ │ │ │ ├── CeSideChainUserArgumentProcessor.java │ │ │ │ │ ├── CeUserArgumentProcessor.java │ │ │ │ │ ├── ConfigStrucAligParams.java │ │ │ │ │ ├── GuiWrapper.java │ │ │ │ │ ├── MatrixListener.java │ │ │ │ │ ├── OptimalCECPMain.java │ │ │ │ │ ├── OptimalCECPParameters.java │ │ │ │ │ ├── StartupParameters.java │ │ │ │ │ ├── UserArgumentProcessor.java │ │ │ │ │ └── package.html │ │ │ │ ├── client │ │ │ │ │ ├── CountProgressListener.java │ │ │ │ │ ├── FarmJobParameters.java │ │ │ │ │ ├── FarmJobRunnable.java │ │ │ │ │ ├── JFatCatClient.java │ │ │ │ │ ├── JobKillException.java │ │ │ │ │ ├── PdbPair.java │ │ │ │ │ ├── StructureName.java │ │ │ │ │ └── package.html │ │ │ │ ├── events │ │ │ │ │ └── AlignmentProgressListener.java │ │ │ │ ├── fatcat │ │ │ │ │ ├── FatCat.java │ │ │ │ │ ├── FatCatFlexible.java │ │ │ │ │ ├── FatCatRigid.java │ │ │ │ │ ├── FatCatUserArgumentProcessor.java │ │ │ │ │ ├── calc │ │ │ │ │ │ ├── AFPCalculator.java │ │ │ │ │ │ ├── AFPChainer.java │ │ │ │ │ │ ├── AFPOptimizer.java │ │ │ │ │ │ ├── AFPPostProcessor.java │ │ │ │ │ │ ├── FCAlignHelper.java │ │ │ │ │ │ ├── FatCatAligner.java │ │ │ │ │ │ ├── FatCatParameters.java │ │ │ │ │ │ ├── SigEva.java │ │ │ │ │ │ └── StructureAlignmentOptimizer.java │ │ │ │ │ └── package.html │ │ │ │ ├── helper │ │ │ │ │ ├── AligMatEl.java │ │ │ │ │ ├── AlignTools.java │ │ │ │ │ ├── GapArray.java │ │ │ │ │ ├── IdxComparator.java │ │ │ │ │ ├── IndexPair.java │ │ │ │ │ ├── JointFragments.java │ │ │ │ │ └── package.html │ │ │ │ ├── model │ │ │ │ │ ├── AFP.java │ │ │ │ │ ├── AFPChain.java │ │ │ │ │ └── AfpChainWriter.java │ │ │ │ ├── package.html │ │ │ │ ├── pairwise │ │ │ │ │ ├── AligNPE.java │ │ │ │ │ ├── Alignable.java │ │ │ │ │ ├── AlignmentProgressListener.java │ │ │ │ │ ├── AlignmentResult.java │ │ │ │ │ ├── AltAligComparator.java │ │ │ │ │ ├── AlternativeAlignment.java │ │ │ │ │ ├── FragmentJoiner.java │ │ │ │ │ ├── FragmentPair.java │ │ │ │ │ ├── Gotoh.java │ │ │ │ │ ├── StrCompAlignment.java │ │ │ │ │ └── package.html │ │ │ │ ├── seq │ │ │ │ │ ├── SmithWaterman3DParameters.java │ │ │ │ │ ├── SmithWaterman3Daligner.java │ │ │ │ │ └── SmithWatermanUserArgumentProcessor.java │ │ │ │ ├── util │ │ │ │ │ ├── AFPAlignmentDisplay.java │ │ │ │ │ ├── AFPChainScorer.java │ │ │ │ │ ├── AlignmentTools.java │ │ │ │ │ ├── AtomCache.java │ │ │ │ │ ├── CacheFactory.java │ │ │ │ │ ├── CliTools.java │ │ │ │ │ ├── CollectionTools.java │ │ │ │ │ ├── ConfigurationException.java │ │ │ │ │ ├── HTTPConnectionTools.java │ │ │ │ │ ├── ResourceManager.java │ │ │ │ │ ├── RotationAxis.java │ │ │ │ │ ├── SynchronizedOutFile.java │ │ │ │ │ └── UserConfiguration.java │ │ │ │ └── xml │ │ │ │ │ ├── AFPChainFlipper.java │ │ │ │ │ ├── AFPChainXMLConverter.java │ │ │ │ │ ├── AFPChainXMLParser.java │ │ │ │ │ ├── HasResultXMLConverter.java │ │ │ │ │ ├── PdbPairXMLConverter.java │ │ │ │ │ ├── PdbPairsMessage.java │ │ │ │ │ ├── PositionInQueueXMLConverter.java │ │ │ │ │ ├── RepresentativeXMLConverter.java │ │ │ │ │ └── package.html │ │ │ │ ├── cath │ │ │ │ ├── CathCategory.java │ │ │ │ ├── CathDatabase.java │ │ │ │ ├── CathDomain.java │ │ │ │ ├── CathFragment.java │ │ │ │ ├── CathInstallation.java │ │ │ │ ├── CathNode.java │ │ │ │ └── CathSegment.java │ │ │ │ ├── domain │ │ │ │ ├── AssignmentXMLSerializer.java │ │ │ │ ├── DomainProvider.java │ │ │ │ ├── DomainProviderFactory.java │ │ │ │ ├── LocalProteinDomainParser.java │ │ │ │ ├── PDBDomainProvider.java │ │ │ │ ├── PDPProvider.java │ │ │ │ ├── RemoteDomainProvider.java │ │ │ │ ├── RemotePDPProvider.java │ │ │ │ ├── SerializableCache.java │ │ │ │ └── pdp │ │ │ │ │ ├── ClusterDomains.java │ │ │ │ │ ├── Cut.java │ │ │ │ │ ├── CutDomain.java │ │ │ │ │ ├── CutSites.java │ │ │ │ │ ├── CutValues.java │ │ │ │ │ ├── Domain.java │ │ │ │ │ ├── GetDistanceMatrix.java │ │ │ │ │ ├── PDPDistanceMatrix.java │ │ │ │ │ ├── PDPParameters.java │ │ │ │ │ ├── Segment.java │ │ │ │ │ ├── SegmentComparator.java │ │ │ │ │ └── ShortSegmentRemover.java │ │ │ │ ├── io │ │ │ │ ├── CAConverter.java │ │ │ │ ├── FastaStructureParser.java │ │ │ │ ├── FileConvert.java │ │ │ │ ├── FileParsingParameters.java │ │ │ │ ├── LocalCacheStructureProvider.java │ │ │ │ ├── MMCIFFileReader.java │ │ │ │ ├── PDBBioAssemblyParser.java │ │ │ │ ├── PDBFileParser.java │ │ │ │ ├── PDBFileReader.java │ │ │ │ ├── PDBParseException.java │ │ │ │ ├── PDBSRSReader.java │ │ │ │ ├── SandboxStyleStructureProvider.java │ │ │ │ ├── SeqRes2AtomAligner.java │ │ │ │ ├── StructureIO.java │ │ │ │ ├── StructureIOFile.java │ │ │ │ ├── StructureProvider.java │ │ │ │ ├── StructureSequenceMatcher.java │ │ │ │ ├── mmcif │ │ │ │ │ ├── AllChemCompProvider.java │ │ │ │ │ ├── ChemCompConsumer.java │ │ │ │ │ ├── ChemCompGroupFactory.java │ │ │ │ │ ├── ChemCompProvider.java │ │ │ │ │ ├── ChemicalComponentDictionary.java │ │ │ │ │ ├── DownloadChemCompProvider.java │ │ │ │ │ ├── MMcifConsumer.java │ │ │ │ │ ├── MMcifParser.java │ │ │ │ │ ├── ReducedChemCompProvider.java │ │ │ │ │ ├── SimpleMMcifConsumer.java │ │ │ │ │ ├── SimpleMMcifParser.java │ │ │ │ │ ├── chem │ │ │ │ │ │ ├── ChemCompTools.java │ │ │ │ │ │ ├── PolymerType.java │ │ │ │ │ │ └── ResidueType.java │ │ │ │ │ ├── model │ │ │ │ │ │ ├── AbstractBean.java │ │ │ │ │ │ ├── AtomSite.java │ │ │ │ │ │ ├── AuditAuthor.java │ │ │ │ │ │ ├── ChemComp.java │ │ │ │ │ │ ├── ChemCompAtom.java │ │ │ │ │ │ ├── ChemCompBond.java │ │ │ │ │ │ ├── ChemCompDescriptor.java │ │ │ │ │ │ ├── DatabasePDBremark.java │ │ │ │ │ │ ├── DatabasePDBrev.java │ │ │ │ │ │ ├── Entity.java │ │ │ │ │ │ ├── EntityPolySeq.java │ │ │ │ │ │ ├── Exptl.java │ │ │ │ │ │ ├── PdbxChemCompDescriptor.java │ │ │ │ │ │ ├── PdbxChemCompIdentifier.java │ │ │ │ │ │ ├── PdbxEntityNonPoly.java │ │ │ │ │ │ ├── PdbxNonPolyScheme.java │ │ │ │ │ │ ├── PdbxPolySeqScheme.java │ │ │ │ │ │ ├── PdbxStructAssembly.java │ │ │ │ │ │ ├── PdbxStructAssemblyGen.java │ │ │ │ │ │ ├── PdbxStructAssemblyGenXMLContainer.java │ │ │ │ │ │ ├── PdbxStructAssemblyXMLContainer.java │ │ │ │ │ │ ├── PdbxStructOperList.java │ │ │ │ │ │ ├── PdbxStructOperListXMLContainer.java │ │ │ │ │ │ ├── Refine.java │ │ │ │ │ │ ├── Struct.java │ │ │ │ │ │ ├── StructAsym.java │ │ │ │ │ │ ├── StructKeywords.java │ │ │ │ │ │ ├── StructRef.java │ │ │ │ │ │ ├── StructRefSeq.java │ │ │ │ │ │ └── package.html │ │ │ │ │ └── package.html │ │ │ │ ├── package.html │ │ │ │ ├── sifts │ │ │ │ │ ├── SiftsEntity.java │ │ │ │ │ ├── SiftsMappingProvider.java │ │ │ │ │ ├── SiftsResidue.java │ │ │ │ │ ├── SiftsSegment.java │ │ │ │ │ └── SiftsXMLParser.java │ │ │ │ └── util │ │ │ │ │ └── FileDownloadUtils.java │ │ │ │ ├── jama │ │ │ │ ├── CholeskyDecomposition.java │ │ │ │ ├── EigenvalueDecomposition.java │ │ │ │ ├── LUDecomposition.java │ │ │ │ ├── Maths.java │ │ │ │ ├── Matrix.java │ │ │ │ ├── QRDecomposition.java │ │ │ │ ├── README.txt │ │ │ │ ├── SingularValueDecomposition.java │ │ │ │ └── package.html │ │ │ │ ├── math │ │ │ │ ├── SparseSquareMatrix.java │ │ │ │ ├── SparseVector.java │ │ │ │ └── SymbolTable.java │ │ │ │ ├── package.html │ │ │ │ ├── quaternary │ │ │ │ ├── BioAssemblyTools.java │ │ │ │ ├── BiologicalAssemblyBuilder.java │ │ │ │ ├── CartesianProduct.java │ │ │ │ ├── ModelTransformationMatrix.java │ │ │ │ ├── OperatorResolver.java │ │ │ │ ├── OrderedPair.java │ │ │ │ └── io │ │ │ │ │ ├── BioUnitDataProvider.java │ │ │ │ │ ├── BioUnitDataProviderFactory.java │ │ │ │ │ ├── FileBasedPDBBioUnitDataProvider.java │ │ │ │ │ ├── MmCifBiolAssemblyProvider.java │ │ │ │ │ ├── MmCifPDBBiolAssemblyProvider.java │ │ │ │ │ ├── PDBBioUnitDataProvider.java │ │ │ │ │ ├── RawBioUnitDataProvider.java │ │ │ │ │ ├── RemoteBioUnitDataProvider.java │ │ │ │ │ └── RemoteRawBioUnitDataProvider.java │ │ │ │ ├── rcsb │ │ │ │ ├── RCSBDescription.java │ │ │ │ ├── RCSBDescriptionFactory.java │ │ │ │ ├── RCSBMacromolecule.java │ │ │ │ ├── RCSBPolymer.java │ │ │ │ └── RCSBTaxonomy.java │ │ │ │ ├── scop │ │ │ │ ├── BerkeleyScopInstallation.java │ │ │ │ ├── CachedRemoteScopInstallation.java │ │ │ │ ├── RemoteScopInstallation.java │ │ │ │ ├── ScopCategory.java │ │ │ │ ├── ScopDatabase.java │ │ │ │ ├── ScopDescription.java │ │ │ │ ├── ScopDomain.java │ │ │ │ ├── ScopFactory.java │ │ │ │ ├── ScopInstallation.java │ │ │ │ ├── ScopNode.java │ │ │ │ ├── package.html │ │ │ │ └── server │ │ │ │ │ ├── ScopDescriptions.java │ │ │ │ │ ├── ScopDomains.java │ │ │ │ │ ├── ScopNodes.java │ │ │ │ │ ├── TreeSetStringWrapper.java │ │ │ │ │ └── XMLUtil.java │ │ │ │ ├── secstruc │ │ │ │ ├── BigSqrt.java │ │ │ │ ├── BridgeType.java │ │ │ │ ├── DistEn.java │ │ │ │ ├── HBond.java │ │ │ │ ├── Ladder.java │ │ │ │ ├── SecStruc.java │ │ │ │ ├── SecStrucGroup.java │ │ │ │ ├── SecStrucState.java │ │ │ │ └── SecStrucType.java │ │ │ │ └── server │ │ │ │ ├── FlatFileInstallation.java │ │ │ │ ├── MMCIFFileInstallation.java │ │ │ │ ├── PDBFilter.java │ │ │ │ ├── PDBInstallation.java │ │ │ │ ├── PrepareIndexFile.java │ │ │ │ ├── PrepareMMcifIndexFile.java │ │ │ │ ├── SimpleStructureServer.java │ │ │ │ ├── StructureEvent.java │ │ │ │ ├── StructureEventImpl.java │ │ │ │ ├── StructureFetcherRunnable.java │ │ │ │ ├── StructureListener.java │ │ │ │ ├── StructureServer.java │ │ │ │ └── package.html │ │ │ └── biojava3 │ │ │ └── structure │ │ │ └── StructureIO.java │ └── resources │ │ ├── about.properties │ │ ├── blosum62.mat │ │ ├── ce.properties │ │ ├── chemcomp │ │ ├── 2EP.cif.gz │ │ ├── 2MD.cif.gz │ │ ├── 6MO.cif.gz │ │ ├── A.cif.gz │ │ ├── ACY.cif.gz │ │ ├── ALA.cif.gz │ │ ├── ANS.cif.gz │ │ ├── ARG.cif.gz │ │ ├── ASN.cif.gz │ │ ├── ASP.cif.gz │ │ ├── C.cif.gz │ │ ├── CA.cif.gz │ │ ├── CMP.cif.gz │ │ ├── CSE.cif.gz │ │ ├── CYS.cif.gz │ │ ├── DA.cif.gz │ │ ├── DAR.cif.gz │ │ ├── DC.cif.gz │ │ ├── DG.cif.gz │ │ ├── DI.cif.gz │ │ ├── DOD.cif.gz │ │ ├── DT.cif.gz │ │ ├── G.cif.gz │ │ ├── GLN.cif.gz │ │ ├── GLU.cif.gz │ │ ├── GLY.cif.gz │ │ ├── GOL.cif.gz │ │ ├── HIS.cif.gz │ │ ├── HOH.cif.gz │ │ ├── I.cif.gz │ │ ├── ILE.cif.gz │ │ ├── KTH.cif.gz │ │ ├── LEU.cif.gz │ │ ├── LYS.cif.gz │ │ ├── MAL.cif.gz │ │ ├── MET.cif.gz │ │ ├── MG.cif.gz │ │ ├── MGD.cif.gz │ │ ├── MO.cif.gz │ │ ├── MSE.cif.gz │ │ ├── NA.cif.gz │ │ ├── PHE.cif.gz │ │ ├── PO4.cif.gz │ │ ├── PRO.cif.gz │ │ ├── SEC.cif.gz │ │ ├── SER.cif.gz │ │ ├── SF4.cif.gz │ │ ├── SO4.cif.gz │ │ ├── THR.cif.gz │ │ ├── TRP.cif.gz │ │ ├── TYR.cif.gz │ │ ├── TYS.cif.gz │ │ ├── U.cif.gz │ │ ├── UNX.cif.gz │ │ ├── VAL.cif.gz │ │ └── ZN.cif.gz │ │ ├── jfatcat.properties │ │ └── org │ │ └── biojava │ │ └── bio │ │ └── structure │ │ └── standardaminos.pdb │ └── test │ ├── java │ └── org │ │ └── biojava │ │ └── bio │ │ └── structure │ │ ├── AtomPositionMapTest.java │ │ ├── ChemCompTest.java │ │ ├── ElementTest.java │ │ ├── HetatomImplTest.java │ │ ├── PDBStatusTest.java │ │ ├── PdbFileFormat30Test.java │ │ ├── ResidueNumberTest.java │ │ ├── ResidueRangeTest.java │ │ ├── SiteTest.java │ │ ├── SourceCompoundTest.java │ │ ├── StructureIOTest.java │ │ ├── Test4hhb.java │ │ ├── TestAltLocs.java │ │ ├── TestAtomCache.java │ │ ├── TestCloning.java │ │ ├── TestDNAAlignment.java │ │ ├── TestDownloadChemCompProvider.java │ │ ├── TestLoadStructureFromURL.java │ │ ├── TestNucleotides.java │ │ ├── TestVeryLongFileName.java │ │ ├── align │ │ ├── LoadOldXMLfileTest.java │ │ ├── TestAlignDBSearchPairs.java │ │ ├── ce │ │ │ ├── CeCPMainTest.java │ │ │ ├── TestSmallAlignment.java │ │ │ └── TestWebStartClient.java │ │ └── util │ │ │ └── AlignmentToolsTest.java │ │ ├── io │ │ ├── StructureSequenceMatcherTest.java │ │ ├── TestChemCompProvider.java │ │ ├── TestHardBioUnits.java │ │ └── TestQuaternaryStructureProviders.java │ │ ├── rcsb │ │ └── RCSBDescriptionFactoryTest.java │ │ ├── redmine │ │ └── test1DARSeqAlign.java │ │ └── scop │ │ └── ScopDescriptionTest.java │ └── resources │ ├── 104D_v23.pdb │ ├── 104D_v30.pdb │ ├── 2gox.pdb │ ├── 2gox_v315.pdb │ ├── 2pos.pdb │ ├── 388d_v23.pdb │ ├── 388d_v30.pdb │ ├── 3cdl.pdb │ ├── 3cfy.pdb │ ├── 3dl7_v32.pdb │ ├── 3mk3.pdb │ ├── 4hhb.cif.gz │ ├── 4hhb.pdb.gz │ ├── align │ ├── 1FEZ.A_1O08.A.xml │ └── 1P80.D_2IUF.E.xml │ ├── db_search.pairs │ └── describeMol │ ├── 1w0p.xml │ ├── 4hhb.xml │ ├── almost_empty.xml │ ├── diff_ecs.xml │ ├── empty.xml │ └── same_ecs.xml ├── biojava3-ws ├── pom.xml └── src │ └── main │ └── java │ ├── demo │ ├── HmmerDemo.java │ └── NCBIQBlastServiceDemo.java │ └── org │ └── biojava3 │ └── ws │ ├── alignment │ ├── RemotePairwiseAlignmentOutputProperties.java │ ├── RemotePairwiseAlignmentProperties.java │ ├── RemotePairwiseAlignmentService.java │ ├── package.html │ └── qblast │ │ ├── BlastAlignmentParameterEnum.java │ │ ├── BlastJob.java │ │ ├── BlastMatrixEnum.java │ │ ├── BlastOutputAlignmentFormatEnum.java │ │ ├── BlastOutputFormatEnum.java │ │ ├── BlastOutputParameterEnum.java │ │ ├── BlastProgramEnum.java │ │ ├── MapToStringTransformer.java │ │ ├── NCBIQBlastAlignmentProperties.java │ │ ├── NCBIQBlastOutputProperties.java │ │ └── NCBIQBlastService.java │ └── hmmer │ ├── HmmerDomain.java │ ├── HmmerResult.java │ ├── HmmerScan.java │ └── RemoteHmmerScan.java ├── ignore.txt ├── integrationtest ├── pom.xml └── src │ └── test │ ├── java │ └── org │ │ ├── biojava │ │ └── bio │ │ │ └── structure │ │ │ ├── HeaderOnlyTest.java │ │ │ ├── MMcifTest.java │ │ │ ├── PDBFileParserTest.java │ │ │ ├── StructurePairAlignerTest.java │ │ │ ├── StructureTest.java │ │ │ ├── StructureToolsTest.java │ │ │ ├── Test1a4w.java │ │ │ ├── TestSECalignment.java │ │ │ ├── align │ │ │ ├── FlipAFPChainTest.java │ │ │ ├── ce │ │ │ │ └── OptimalCECPMainTest.java │ │ │ └── fatcat │ │ │ │ ├── AFPChainSerialisationTest.java │ │ │ │ ├── FlipAFPChainTest.java │ │ │ │ ├── MyTestHelper.java │ │ │ │ ├── TestFlexibleRotationMatrices.java │ │ │ │ └── TestOutputStrings.java │ │ │ ├── cath │ │ │ └── CathTest.java │ │ │ ├── scop │ │ │ └── ScopTest.java │ │ │ └── util │ │ │ └── StringManipulationTestsHelper.java │ │ └── integrationtest │ │ └── AppTest.java │ └── resources │ ├── 1a4w.cif │ ├── 1a4w.pdb │ ├── 1fdo.cif │ ├── 1fdo.pdb │ ├── 1j59.cif │ ├── 1j59.pdb │ ├── 1lnl.pdb │ ├── 1tap.pdb │ ├── 2kc9.cif │ ├── 2kc9.pdb │ ├── 5pti.cif │ ├── 5pti.pdb │ ├── 5pti_old.pdb │ └── ce_1fdo.A_2iv2.X.out ├── pom.xml ├── protein-comparison-tool ├── pom.xml └── src │ └── main │ └── assembly │ ├── LICENSE │ ├── assembly.xml │ ├── db.out │ ├── example.lst │ ├── runCE.sh │ ├── runFATCAT.sh │ └── startFarmJob.sh └── readme.txt /biojava3-aa-prop/src/main/assembly/assembly.xml: -------------------------------------------------------------------------------- 1 | 5 | AAProperties 6 | 7 | dir 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | org.biojava:biojava3-core 16 | org.biojava:biojava3-structure 17 | 18 | 19 | 20 | modules/${artifactId} 21 | false 22 | 23 | 24 | 25 | 26 | 27 | ${project.basedir}/src 28 | dev 29 | true 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Set of classes that responsible for providing APIs and Command Prompt access to generate some basic physico-chemical properties of protein sequences. 3 | * 4 | * @author Koh Chuan Hock 5 | * 6 | * @version 2011.08.22 7 | * @since 3.0.2 8 | */ 9 | package org.biojava3.aaproperties; 10 | 11 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2Charge.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2Charge extends Convertor{ 4 | /** 5 | * Class for the conversion of protein sequence into charge 6 | */ 7 | 8 | @Override 9 | public char convert(char c){ 10 | switch(c){ 11 | case 'K':case 'R': 12 | return group1;//Positive 13 | case 'A':case 'N':case 'C':case 'Q':case 'G':case 'H':case 'I':case 'L':case 'M':case 'F':case 'P':case 'S':case 'T':case 'W':case 'Y':case 'V': 14 | return group2;//Neutral 15 | case 'D':case 'E': 16 | return group3;//Negative 17 | default: 18 | return unknownGroup;//Non-standard AA 19 | } 20 | } 21 | 22 | private static String[] subCategory = {"Positive", "Neutral", "Negative"}; 23 | @Override 24 | public String[] getGrouping(){return Convert2Charge.subCategory;} 25 | @Override 26 | public String getAttribute(){return "Charge";} 27 | } 28 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2Hydrophobicity.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2Hydrophobicity extends Convertor { 4 | /** 5 | * Class for the conversion of protein sequence into hydrophobicity 6 | */ 7 | 8 | @Override 9 | public char convert(char c){ 10 | switch(c){ 11 | case 'R':case 'K':case 'E':case 'D':case 'Q':case 'N': 12 | return group1;//Polar 13 | case 'G':case 'A':case 'S':case 'T':case 'H':case 'P':case 'Y': 14 | return group2;//Neutral 15 | case 'C':case 'L':case 'V':case 'I':case 'M':case 'F':case 'W': 16 | return group3;//Hydrophobicity 17 | default: 18 | return unknownGroup;//Non-standard AA 19 | } 20 | } 21 | private static String[] subCategory = {"Polar", "Neutral", "Hydrophobicity"}; 22 | @Override 23 | public String[] getGrouping(){return subCategory;} 24 | @Override 25 | public String getAttribute(){return "Hydrophobicity";} 26 | } 27 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2NormalizedVanDerWaalsVolume.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2NormalizedVanDerWaalsVolume extends Convertor{ 4 | /** 5 | * Class for the conversion of protein sequence into normalized van der waals volume 6 | */ 7 | 8 | @Override 9 | public char convert(char c){ 10 | switch(c){ 11 | case 'G':case 'A':case 'S':case 'T':case 'P':case 'D': case 'C': 12 | return group1;//Volume Range 0-2.78 13 | case 'N':case 'V':case 'E':case 'Q':case 'I':case 'L': 14 | return group2;//Volume Range 2.95-4.0 15 | case 'M':case 'H':case 'K':case 'F':case 'R':case 'Y':case 'W': 16 | return group3;//Volume Range 4.03-8.08 17 | default: 18 | return unknownGroup;//Non-standard AA 19 | } 20 | } 21 | private static String[] subCategory = {"Range_0-2.78", "Range_2.95-4.0", "Range_4.03-8.08"}; 22 | @Override 23 | public String[] getGrouping(){return subCategory;} 24 | @Override 25 | public String getAttribute(){return "Normalized van der waals Volume";} 26 | } 27 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2Polarity.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2Polarity extends Convertor{ 4 | /** 5 | * Class for the conversion of protein sequence into polarity 6 | */ 7 | 8 | @Override 9 | public char convert(char c){ 10 | switch(c){ 11 | case 'L':case 'I':case 'F':case 'W':case 'C':case 'M':case 'V':case 'Y': 12 | return group1;//Polarity value 4.9-6.2 13 | case 'P':case 'A':case 'T':case 'G':case 'S': 14 | return group2;//Polarity value 8.0-9.2 15 | case 'H':case 'Q':case 'R':case 'K':case 'N':case 'E':case 'D': 16 | return group3;//Polarity value 10.4-13.0 17 | default: 18 | return unknownGroup;//Non-standard AA 19 | } 20 | } 21 | private static String[] subCategory = {"Value_4.9-6.2", "Value_8.0-9.2", "Value_10.4-13.0"}; 22 | @Override 23 | public String[] getGrouping(){return subCategory;} 24 | @Override 25 | public String getAttribute(){return "Polarity";} 26 | } 27 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2Polarizability.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2Polarizability extends Convertor{ 4 | /** 5 | * Class for the conversion of protein sequence into polarizability 6 | */ 7 | 8 | @Override 9 | public char convert(char c){ 10 | switch(c){ 11 | case 'G':case 'A':case 'S':case 'D':case 'T': 12 | return group1;//Polarizability value 0-0.08 13 | case 'C':case 'P':case 'N':case 'V':case 'E':case 'Q':case 'I':case 'L': 14 | return group2;//Polarizability value 0.128-0.186 15 | case 'K':case 'M':case 'H':case 'F':case 'R':case 'Y':case 'W': 16 | return group3;//Polarizability value 0.219-0.409 17 | default: 18 | return unknownGroup;//Non-standard AA 19 | } 20 | } 21 | 22 | private static String[] subCategory = {"Value_0-0.08", "Value_0.128-0.186", "Value_0.219-0.409"}; 23 | @Override 24 | public String[] getGrouping(){return subCategory;} 25 | @Override 26 | public String getAttribute(){return "Polarizability";} 27 | } 28 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2SecondaryStructure.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2SecondaryStructure extends Convertor{ 4 | /** 5 | * Class for the conversion of protein sequence into secondary structure 6 | */ 7 | @Override 8 | public char convert(char c){ 9 | switch(c){ 10 | case 'E':case 'A':case 'L':case 'M':case 'Q':case 'K':case 'R':case 'H': 11 | return group1;//Helix 12 | case 'V':case 'I':case 'Y':case 'C':case 'W':case 'F':case 'T': 13 | return group2;//Strand 14 | case 'G':case 'N':case 'P':case 'S':case 'D': 15 | return group3;//Coil 16 | default: 17 | return unknownGroup;//Non-standard AA 18 | } 19 | } 20 | private static String[] subCategory = {"Helix", "Strand", "Coil"}; 21 | @Override 22 | public String[] getGrouping(){return subCategory;} 23 | @Override 24 | public String getAttribute(){return "Secondary Structure";} 25 | } 26 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/Convert2SolventAccessibility.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.profeat.convertor; 2 | 3 | public class Convert2SolventAccessibility extends Convertor{ 4 | /** 5 | * Class for the conversion of protein sequence into solvent accessibility 6 | */ 7 | @Override 8 | public char convert(char c){ 9 | switch(c){ 10 | case 'A':case 'L':case 'F':case 'C':case 'G':case 'I':case 'V':case 'W': 11 | return group1;//Buried 12 | case 'R':case 'K':case 'Q':case 'E':case 'N':case 'D': 13 | return group2;//Exposed 14 | case 'M':case 'P':case 'S':case 'T':case 'H':case 'Y': 15 | return group3;//Intermediate 16 | default: 17 | return unknownGroup;//Non-standard AA 18 | } 19 | } 20 | 21 | private static String[] subCategory = {"Buried", "Exposed", "Intermediate"}; 22 | @Override 23 | public String[] getGrouping(){return subCategory;} 24 | @Override 25 | public String getAttribute(){return "Solvent Accessibility";} 26 | } 27 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/convertor/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Set of classes that enable the conversion protein sequences into various attributes. 3 | * The seven different attributes are

4 | * Hydrophobicity (Polar, Neutral, Hydrophobicity)
5 | * Normalized van der Waals volume (Range 0 - 2.78, 2.95 - 4.0, 4.03 - 8.08)
6 | * Polarity (Value 4.9 - 6.2, 8.0 - 9.2, 10.4 - 13.0)
7 | * Polarizability (Value 0 - 1.08, 0.128 - 0.186, 0.219 - 0.409)
8 | * Charge (Positive, Neutral, Negative)
9 | * Secondary structure (Helix, Strand, Coil)
10 | * Solvent accessibility (Buried, Exposed, Intermediate)
11 | * 12 | * @author Koh Chuan Hock 13 | * 14 | * @version 2011.08.22 15 | * @since 3.0.2 16 | */ 17 | package org.biojava3.aaproperties.profeat.convertor; 18 | 19 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/profeat/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Set of classes that responsible for providing APIs access to generate some PROFEAT properties of protein sequences. 3 | * PROFEAT: a web server for computing structural and physicochemical features of proteins and peptides from amino acid sequence 4 | * http://nar.oxfordjournals.org/content/34/suppl_2/W32.abstract 5 | * 6 | * @author Koh Chuan Hock 7 | * 8 | * @version 2011.08.22 9 | * @since 3.0.2 10 | */ 11 | package org.biojava3.aaproperties.profeat; 12 | 13 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/xml/MyValidationEventHandler.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.xml; 2 | 3 | import javax.xml.bind.ValidationEvent; 4 | import javax.xml.bind.ValidationEventHandler; 5 | import javax.xml.bind.ValidationEventLocator; 6 | 7 | public class MyValidationEventHandler implements ValidationEventHandler{ 8 | @Override 9 | public boolean handleEvent(ValidationEvent ve) { 10 | if (ve.getSeverity() == ValidationEvent.FATAL_ERROR || ve.getSeverity() == ValidationEvent.ERROR){ 11 | ValidationEventLocator locator = ve.getLocator(); 12 | //print message from valdation event 13 | System.out.println("Message is " + ve.getMessage()); 14 | //output line and column number 15 | System.out.println("Column is " + locator.getColumnNumber() + " at line number " + locator.getLineNumber()); 16 | return false; 17 | } 18 | return true; 19 | } 20 | } -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/xml/Name2Count.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.xml; 2 | 3 | import javax.xml.bind.annotation.XmlAccessType; 4 | import javax.xml.bind.annotation.XmlAccessorType; 5 | import javax.xml.bind.annotation.XmlAttribute; 6 | 7 | @XmlAccessorType(XmlAccessType.FIELD) 8 | public class Name2Count{ 9 | @XmlAttribute(name = "name", required = true) 10 | private String name; 11 | @XmlAttribute(name = "count", required = true) 12 | private int count; 13 | 14 | public Name2Count(){} 15 | 16 | public Name2Count(String n, int c){ 17 | if(c <= 0){ 18 | throw new Error("Count must be > 0."); 19 | } 20 | this.name = n; 21 | this.count = c; 22 | } 23 | 24 | public String getName(){ 25 | return this.name; 26 | } 27 | 28 | public int getCount(){ 29 | return this.count; 30 | } 31 | } -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/xml/SchemaGenerator.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties.xml; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | 6 | import javax.xml.bind.SchemaOutputResolver; 7 | import javax.xml.transform.Result; 8 | import javax.xml.transform.stream.StreamResult; 9 | 10 | public class SchemaGenerator extends SchemaOutputResolver{ 11 | private String fileName; 12 | 13 | public SchemaGenerator(String filename){ 14 | this.fileName = filename; 15 | } 16 | 17 | public Result createOutput(String namespaceUri, String suggestedFileName) throws IOException { 18 | File f = new File(this.fileName); 19 | f.createNewFile(); 20 | return new StreamResult(f); 21 | } 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/java/org/biojava3/aaproperties/xml/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Set of classes that handles the reading and writing of xml files. 3 | * 4 | * @author Koh Chuan Hock 5 | * 6 | * @version 2011.08.22 7 | * @since 3.0.2 8 | */ 9 | package org.biojava3.aaproperties.xml; 10 | 11 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/resources/AdvancedElementMass.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/resources/AminoAcidComposition.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/resources/ElementMass.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/resources/MinElementMass.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/main/resources/Simplified_compound.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/test/java/org/biojava3/aaproperties/ProfeatPropertiesImplTester.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.aaproperties; 2 | 3 | public class ProfeatPropertiesImplTester { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/test/resources/modifiedTest.csv: -------------------------------------------------------------------------------- 1 | SequenceName,0,1,MolecularWeight,Absorbance_True,Absorbance_False,ExtinctionCoefficient_True,ExtinctionCoefficient_False,InstabilityIndex,ApliphaticIndex,AverageHydropathyValue,IsoelectricPoint,NetCharge_pH_7,A,R,N,D,C,E,Q,G,H,I,L,K,M,F,P,S,T,W,Y,V 2 | SAOV_0114,0.0,0.0,53660.5723,0.771,0.771,41370.0,41370.0,30.7956,94.2222,-0.1709,4.8056,-19.986,0.101,0.0283,0.0525,0.0646,0.0020,0.0687,0.0444,0.0848,0.0222,0.0848,0.0768,0.0626,0.0141,0.0364,0.0343,0.0586,0.0566,0.0081,0.0263,0.0727 3 | SAOV_0094,0.0,0.0,45884.0164,1.2588,1.2588,57760.0,57760.0,37.3445,99.5141,-0.3223,8.9187,3.6654,0.0537,0.0332,0.0767,0.0512,0.0,0.0767,0.0281,0.023,0.0179,0.0793,0.1279,0.1023,0.0281,0.0486,0.0256,0.0793,0.0307,0.0102,0.0614,0.046 4 | SAA6008_00126,0.0023,0.0012,94560.4808,0.5684,0.5737,53750.0,54250.0,32.8694,89.0185,-0.1548,5.6515,-15.4402,0.0958,0.0231,0.0416,0.0473,0.0092,0.0774,0.0346,0.0693,0.0231,0.0878,0.067,0.082,0.0335,0.0346,0.0427,0.0647,0.0681,0.0035,0.0289,0.0658 5 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/test/resources/test.csv: -------------------------------------------------------------------------------- 1 | SequenceName,MolecularWeight,Absorbance_True,Absorbance_False,ExtinctionCoefficient_True,ExtinctionCoefficient_False,InstabilityIndex,ApliphaticIndex,AverageHydropathyValue,IsoelectricPoint,NetCharge_pH_7,A,R,N,D,C,E,Q,G,H,I,L,K,M,F,P,S,T,W,Y,V 2 | SAOV_0114,53660.5723,0.771,0.771,41370.0,41370.0,30.7956,94.2222,-0.1709,4.8056,-19.986,0.101,0.0283,0.0525,0.0646,0.0020,0.0687,0.0444,0.0848,0.0222,0.0848,0.0768,0.0626,0.0141,0.0364,0.0343,0.0586,0.0566,0.0081,0.0263,0.0727 3 | SAOV_0094,45884.0164,1.2588,1.2588,57760.0,57760.0,37.3445,99.5141,-0.3223,8.9187,3.6654,0.0537,0.0332,0.0767,0.0512,0.0,0.0767,0.0281,0.023,0.0179,0.0793,0.1279,0.1023,0.0281,0.0486,0.0256,0.0793,0.0307,0.0102,0.0614,0.046 4 | SAA6008_00126,95002.026,0.5815,0.5867,55240.0,55740.0,33.2063,88.7112,-0.1504,5.6515,-15.4412,0.0955,0.023,0.0414,0.0472,0.0092,0.0771,0.0345,0.069,0.023,0.0875,0.0667,0.0817,0.0345,0.0357,0.0426,0.0644,0.0679,0.0035,0.0299,0.0656 5 | -------------------------------------------------------------------------------- /biojava3-aa-prop/src/test/resources/test.tsv: -------------------------------------------------------------------------------- 1 | SequenceName MolecularWeight Absorbance_True Absorbance_False ExtinctionCoefficient_True ExtinctionCoefficient_False InstabilityIndex ApliphaticIndex AverageHydropathyValue IsoelectricPoint NetCharge_pH_7 A R N D C E Q G H I L K M F P S T W Y V 2 | SAOV_0114 53660.5723 0.771 0.771 41370.0 41370.0 30.7956 94.2222 -0.1709 4.8056 -19.986 0.101 0.0283 0.0525 0.0646 0.0020 0.0687 0.0444 0.0848 0.0222 0.0848 0.0768 0.0626 0.0141 0.0364 0.0343 0.0586 0.0566 0.0081 0.0263 0.0727 3 | SAOV_0094 45884.0164 1.2588 1.2588 57760.0 57760.0 37.3445 99.5141 -0.3223 8.9187 3.6654 0.0537 0.0332 0.0767 0.0512 0.0 0.0767 0.0281 0.023 0.0179 0.0793 0.1279 0.1023 0.0281 0.0486 0.0256 0.0793 0.0307 0.0102 0.0614 0.046 4 | SAA6008_00126 95002.026 0.5815 0.5867 55240.0 55740.0 33.2063 88.7112 -0.1504 5.6515 -15.4412 0.0955 0.023 0.0414 0.0472 0.0092 0.0771 0.0345 0.069 0.023 0.0875 0.0667 0.0817 0.0345 0.0357 0.0426 0.0644 0.0679 0.0035 0.0299 0.0656 5 | -------------------------------------------------------------------------------- /biojava3-alignment/src/main/java/demo/DemoLoadSubstMax.java: -------------------------------------------------------------------------------- 1 | package demo; 2 | 3 | import org.biojava3.alignment.SubstitutionMatrixHelper; 4 | import org.biojava3.alignment.template.SubstitutionMatrix; 5 | import org.biojava3.core.sequence.compound.AminoAcidCompound; 6 | 7 | public class DemoLoadSubstMax { 8 | 9 | public static void main (String[] args){ 10 | 11 | 12 | // that's the PAM250 matrix (named a bit unclear in AAindex...) 13 | String max2="DAYM780301"; 14 | SubstitutionMatrix substMax2 = SubstitutionMatrixHelper.getMatrixFromAAINDEX(max2); 15 | System.out.println(substMax2); 16 | 17 | // and here BLOSUM62... 18 | String max3="HENS920102"; 19 | SubstitutionMatrix substMax3 = SubstitutionMatrixHelper.getMatrixFromAAINDEX(max3); 20 | System.out.println(substMax3); 21 | 22 | // This one I developed a while ago to be optimised for the alignment of distantly related sequences 23 | String matrixName4 = "PRLA000101"; 24 | SubstitutionMatrix substMax4 = SubstitutionMatrixHelper.getMatrixFromAAINDEX(matrixName4); 25 | System.out.println(substMax4); 26 | 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /biojava3-alignment/src/main/java/org/biojava3/alignment/aaindex/AAIndexProvider.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.alignment.aaindex; 2 | 3 | import org.biojava3.alignment.template.SubstitutionMatrix; 4 | import org.biojava3.core.sequence.compound.AminoAcidCompound; 5 | 6 | 7 | public interface AAIndexProvider { 8 | 9 | public SubstitutionMatrix getMatrix(String matrixName); 10 | } 11 | -------------------------------------------------------------------------------- /biojava3-alignment/src/main/java/org/biojava3/alignment/aaindex/AAindexFactory.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.alignment.aaindex; 2 | 3 | 4 | /** Factory class to get Providers for substitution matrices the are provided by the AAINDEX database. 5 | * 6 | * @author Andreas Prlic 7 | * 8 | */ 9 | public class AAindexFactory { 10 | 11 | 12 | private static AAIndexProvider provider = null; 13 | 14 | public static AAIndexProvider getAAIndexProvider() { 15 | if ( provider == null) 16 | provider = new DefaultAAIndexProvider(); 17 | return provider; 18 | } 19 | 20 | public static void setAAIndexProvider(AAIndexProvider provider) { 21 | AAindexFactory.provider = provider; 22 | } 23 | 24 | 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /biojava3-alignment/src/main/resources/nuc-4_2.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This matrix was created by Todd Lowe 12/10/92 3 | # 4 | # Uses ambiguous nucleotide codes, probabilities rounded to 5 | # nearest integer 6 | # 7 | # Lowest score = -4, Highest score = 5 8 | # 9 | A T G C 10 | A 5 -4 -4 -4 11 | T -4 5 -4 -4 12 | G -4 -4 5 -4 13 | C -4 -4 -4 5 14 | S -4 -4 1 1 15 | W 1 1 -4 -4 16 | R 1 -4 1 -4 17 | Y -4 1 -4 1 18 | K -4 1 1 -4 19 | M 1 -4 -4 1 20 | B -4 -1 -1 -1 21 | V -1 -4 -1 -1 22 | H -1 -1 -4 -1 23 | D -1 -1 -1 -4 24 | N -2 -2 -2 -2 25 | 26 | -------------------------------------------------------------------------------- /biojava3-alignment/src/main/resources/nuc-4_4.txt: -------------------------------------------------------------------------------- 1 | # 2 | # This matrix was created by Todd Lowe 12/10/92 3 | # 4 | # Uses ambiguous nucleotide codes, probabilities rounded to 5 | # nearest integer 6 | # 7 | # Lowest score = -4, Highest score = 5 8 | # 9 | A T G C S W R Y K M B V H D N 10 | A 5 -4 -4 -4 -4 1 1 -4 -4 1 -4 -1 -1 -1 -2 11 | T -4 5 -4 -4 -4 1 -4 1 1 -4 -1 -4 -1 -1 -2 12 | G -4 -4 5 -4 1 -4 1 -4 1 -4 -1 -1 -4 -1 -2 13 | C -4 -4 -4 5 1 -4 -4 1 -4 1 -1 -1 -1 -4 -2 14 | S -4 -4 1 1 -1 -4 -2 -2 -2 -2 -1 -1 -3 -3 -1 15 | W 1 1 -4 -4 -4 -1 -2 -2 -2 -2 -3 -3 -1 -1 -1 16 | R 1 -4 1 -4 -2 -2 -1 -4 -2 -2 -3 -1 -3 -1 -1 17 | Y -4 1 -4 1 -2 -2 -4 -1 -2 -2 -1 -3 -1 -3 -1 18 | K -4 1 1 -4 -2 -2 -2 -2 -1 -4 -1 -3 -3 -1 -1 19 | M 1 -4 -4 1 -2 -2 -2 -2 -4 -1 -3 -1 -1 -3 -1 20 | B -4 -1 -1 -1 -1 -3 -3 -1 -1 -3 -1 -2 -2 -2 -1 21 | V -1 -4 -1 -1 -1 -3 -1 -3 -3 -1 -2 -1 -2 -2 -1 22 | H -1 -1 -4 -1 -3 -1 -3 -1 -3 -1 -2 -2 -1 -2 -1 23 | D -1 -1 -1 -4 -3 -1 -1 -3 -1 -3 -2 -2 -2 -1 -1 24 | N -2 -2 -2 -2 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 25 | 26 | -------------------------------------------------------------------------------- /biojava3-alignment/src/test/resources/piwi.sth.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-alignment/src/test/resources/piwi.sth.gz -------------------------------------------------------------------------------- /biojava3-alignment/src/test/resources/test.sth: -------------------------------------------------------------------------------- 1 | # STOCKHOLM 1.0 2 | #=GF ID CBS 3 | #=GF AC PF00571 4 | #=GF DE CBS domain 5 | #=GF AU Bateman A 6 | #=GF CC CBS domains are small intracellular modules mostly found 7 | #=GF CC in 2 or four copies within a protein. 8 | #=GF SQ 67 9 | #=GS O31698/18-71 AC O31698 10 | #=GS O83071/192-246 AC O83071 11 | #=GS O83071/259-312 AC O83071 12 | #=GS O31698/88-139 AC O31698 13 | #=GS O31698/88-139 OS Bacillus subtilis 14 | O83071/192-246 MTCRAQLIAVPRASSLAE..AIACAQKM....RVSRVPVYERS 15 | #=GR O83071/192-246 SA 999887756453524252..55152525....36463774777 16 | O83071/259-312 MQHVSAPVFVFECTRLAY..VQHKLRAH....SRAVAIVLDEY 17 | #=GR O83071/259-312 SS CCCCCHHHHHHHHHHHHH..EEEEEEEE....EEEEEEEEEEE 18 | O31698/18-71 MIEADKVAHVQVGNNLEH..ALLVLTKT....GYTAIPVLDPS 19 | #=GR O31698/18-71 SS CCCHHHHHHHHHHHHHHH..EEEEEEEE....EEEEEEEEHHH 20 | O31698/88-139 EVMLTDIPRLHINDPIMK..GFGMVINN......GFVCVENDE 21 | #=GR O31698/88-139 SS CCCCCCCHHHHHHHHHHH..HEEEEEEE....EEEEEEEEEEH 22 | #=GC SS_cons CCCCCHHHHHHHHHHHHH..EEEEEEEE....EEEEEEEEEEH 23 | O31699/88-139 EVMLTDIPRLHINDPIMK..GFGMVINN......GFVCVENDE 24 | #=GR O31699/88-139 AS ________________*__________________________ 25 | #=GR_O31699/88-139_IN ____________1______________2__________0____ 26 | // -------------------------------------------------------------------------------- /biojava3-alignment/src/test/resources/test1.sth: -------------------------------------------------------------------------------- 1 | # STOCKHOLM 1.0 2 | #=GF ID UPSK 3 | #=GF SE Predicted; Infernal 4 | #=GF SS Published; PMID 9223489 5 | #=GF RN [1] 6 | #=GF RM 9223489 7 | #=GF RT The role of the pseudoknot at the 3' end of turnip yellow mosaic 8 | #=GF RT virus RNA in minus-strand synthesis by the viral RNA-dependent RNA 9 | #=GF RT polymerase. 10 | #=GF RA Deiman BA, Kortlever RM, Pleij CW; 11 | #=GF RL J Virol 1997;71:5990-5996. 12 | 13 | AF035635.1/619-641 UGAGUUCUCGAUCUCUAAAAUCG 14 | M24804.1/82-104 UGAGUUCUCUAUCUCUAAAAUCG 15 | J04373.1/6212-6234 UAAGUUCUCGAUCUUUAAAAUCG 16 | M24803.1/1-23 UAAGUUCUCGAUCUCUAAAAUCG 17 | #=GC SS_cons .AAA....<<<>>> 18 | // 19 | -------------------------------------------------------------------------------- /biojava3-core/dir_conflicts.prej: -------------------------------------------------------------------------------- 1 | Trying to change property 'svn:ignore' from '.settings 2 | .classpath 3 | .project 4 | ' to '.settings 5 | .classpath 6 | .project 7 | ', 8 | but the property has been locally changed from '.settings 9 | .classpath 10 | .project 11 | ' to '.settings 12 | .classpath 13 | .project 14 | target 15 | '. 16 | -------------------------------------------------------------------------------- /biojava3-core/src/main/java/org/biojava3/core/exceptions/CompoundNotFoundError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on 01-21-2010 21 | * 22 | * @author Richard Holland 23 | * 24 | * 25 | */ 26 | package org.biojava3.core.exceptions; 27 | 28 | public class CompoundNotFoundError extends Error { 29 | /** 30 | * 31 | */ 32 | private static final long serialVersionUID = 1L; 33 | 34 | public CompoundNotFoundError(CharSequence compoundStr) { 35 | super("Compound not found for: "+compoundStr); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-core/src/main/java/org/biojava3/core/exceptions/FileAccessError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on DATE 21 | * 22 | */ 23 | 24 | package org.biojava3.core.exceptions; 25 | 26 | /** 27 | * Thrown from SequenceFileProxyLoader if error opening file using RandomnAccessFile 28 | * @author Scooter Willis 29 | */ 30 | public class FileAccessError extends Error{ 31 | 32 | private static final long serialVersionUID = 6513440232428438424L; 33 | 34 | public FileAccessError(String error){ 35 | super(error); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-core/src/main/java/org/biojava3/core/exceptions/HeaderParseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on DATE 21 | * 22 | */ 23 | 24 | package org.biojava3.core.exceptions; 25 | 26 | /** 27 | * Currently not used 28 | * @author Scooter Willis 29 | */ 30 | public class HeaderParseException extends Error{ 31 | 32 | private static final long serialVersionUID = -8356845980320906455L; 33 | 34 | public HeaderParseException(String error){ 35 | super(error); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-core/src/main/java/org/biojava3/core/exceptions/SequenceLengthError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on DATE 21 | * 22 | */ 23 | 24 | package org.biojava3.core.exceptions; 25 | 26 | /** 27 | * Currently not used 28 | * @author Scooter Willis 29 | */ 30 | public class SequenceLengthError extends Error{ 31 | 32 | private static final long serialVersionUID = -5486504706601790351L; 33 | 34 | public SequenceLengthError(String message){ 35 | super(message); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-core/src/main/java/org/biojava3/core/sequence/DataSource.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this template, choose Tools | Templates 3 | * and open the template in the editor. 4 | */ 5 | package org.biojava3.core.sequence; 6 | 7 | /** 8 | *

 9 |  * GenBank                           gi|gi-number|gb|accession|locus
10 |  * ENA Data Library                  gi|gi-number|emb|accession|locus
11 |  * DDBJ, DNA Database of Japan       gi|gi-number|dbj|accession|locus
12 |  * NBRF PIR                          pir||entry
13 |  * Protein Research Foundation       prf||name
14 |  * SWISS-PROT UNIPROT                sp|accession|name
15 |  * Brookhaven Protein Data Bank (1)  pdb|entry|chain
16 |  * Brookhaven Protein Data Bank (2)  entry:chain|PDBID|CHAIN|SEQUENCE
17 |  * Patents                           pat|country|number
18 |  * GenInfo Backbone Id               bbs|number
19 |  * General database identifier       gnl|database|identifier
20 |  * NCBI Reference Sequence           ref|accession|locus
21 |  * Local Sequence identifier         lcl|identifier
22 |  * 
23 |  * @author Scooter Willis 
24 |  */
25 | 
26 | public enum DataSource {
27 | 
28 |     GENBANK, ENA, DDBJ, NBRF, PRF, PDB1, PDB2, PDBe, PATENTS, GENINFO, GENERAL, NCBI, UNIPROT, PFAM, LOCAL, UNKNOWN
29 | }
30 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/SequenceComparator.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on DATE
21 |  *
22 |  */
23 | package org.biojava3.core.sequence;
24 | 
25 | import java.util.Comparator;
26 | 
27 | import org.biojava3.core.sequence.template.AbstractSequence;
28 | 
29 | /**
30 |  * Used to sort sequences
31 |  * @author Scooter Willis 
32 |  */
33 | public class SequenceComparator implements Comparator>{
34 | 
35 |    
36 |     public int compare(AbstractSequence o1, AbstractSequence o2) {
37 |         return o1.getBioBegin() - o2.getBioBegin();
38 |     }
39 | 
40 | }
41 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/Strand.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.core.sequence;
 2 | 
 3 | /**
 4 |  * Provides a way of representing the strand of a sequence, location
 5 |  * hit or feature.
 6 |  *
 7 |  * @author ayates
 8 |  */
 9 | public enum Strand {
10 | 
11 |     POSITIVE("+", 1), NEGATIVE("-", -1), UNDEFINED(".", 0);
12 |     private final String stringRepresentation;
13 |     private final int numericRepresentation;
14 | 
15 |     private Strand(String stringRepresentation, int numericRepresentation) {
16 |         this.stringRepresentation = stringRepresentation;
17 |         this.numericRepresentation = numericRepresentation;
18 |     }
19 | 
20 |     public int getNumericRepresentation() {
21 |         return numericRepresentation;
22 |     }
23 | 
24 |     public String getStringRepresentation() {
25 |         return stringRepresentation;
26 |     }
27 | 
28 |     public Strand getReverse() {
29 |         switch (this) {
30 |             case POSITIVE:
31 |                 return NEGATIVE;
32 |             case NEGATIVE:
33 |                 return POSITIVE;
34 |             default:
35 |                 return UNDEFINED;
36 |         }
37 |     }
38 | }
39 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/compound/RNACompoundSet.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.core.sequence.compound;
 2 | 
 3 | import org.biojava3.core.sequence.template.AbstractNucleotideCompoundSet;
 4 | 
 5 | /**
 6 |  *
 7 |  * @author Andy Yates
 8 |  */
 9 | public class RNACompoundSet extends AbstractNucleotideCompoundSet {
10 | 
11 |   private static class InitaliseOnDemand {
12 |     public static final RNACompoundSet INSTANCE = new RNACompoundSet();
13 |   }
14 |   public static RNACompoundSet getRNACompoundSet() {
15 |     return InitaliseOnDemand.INSTANCE;
16 |   }
17 | 
18 |   public RNACompoundSet() {
19 |     addNucleotideCompound("A", "U");
20 |     addNucleotideCompound("U", "A");
21 |     addNucleotideCompound("G", "C");
22 |     addNucleotideCompound("C", "G");
23 |     addNucleotideCompound("N", "N");
24 |     addNucleotideCompound("-", "-");
25 |   }
26 | 
27 |   public NucleotideCompound newNucleotideCompound(String base, String complement, String... equivalents) {
28 |     return new NucleotideCompound(base, this, complement);
29 |   }
30 | }


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/features/DatabaseReferenceInterface.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  */
22 | 
23 | package org.biojava3.core.sequence.features;
24 | 
25 | import java.util.ArrayList;
26 | import java.util.LinkedHashMap;
27 | 
28 | /**
29 |  * If a SequenceProxyReader implements this interface then that external source
30 |  * has a list of cross reference id(s)
31 |  * @author Scooter Willis 
32 |  */
33 | public interface DatabaseReferenceInterface {
34 | 
35 |     public LinkedHashMap> getDatabaseReferences() throws Exception;
36 | }
37 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/io/template/FastaHeaderFormatInterface.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  */
22 | 
23 | package org.biojava3.core.sequence.io.template;
24 | 
25 | import org.biojava3.core.sequence.template.Compound;
26 | import org.biojava3.core.sequence.template.Sequence;
27 | 
28 | /**
29 |  *
30 |  * @author Scooter Willis 
31 |  */
32 | public interface FastaHeaderFormatInterface, C extends Compound> {
33 |     /**
34 |      * 
35 |      * @param sequence
36 |      * @return
37 |      */
38 |     public String getHeader(S sequence);
39 | }
40 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/io/template/FastaHeaderParserInterface.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  */
22 | 
23 | package org.biojava3.core.sequence.io.template;
24 | 
25 | import org.biojava3.core.sequence.template.Compound;
26 | import org.biojava3.core.sequence.template.Sequence;
27 | 
28 | /**
29 |  *
30 |  * @author Scooter Willis 
31 |  */
32 | public interface FastaHeaderParserInterface, C extends Compound> {
33 | /**
34 |  *
35 |  * @param header
36 |  * @param sequence
37 |  */
38 |     public void parseHeader(String header, S sequence);
39 | }
40 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/io/template/SequenceParserInterface.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  */
22 | 
23 | package org.biojava3.core.sequence.io.template;
24 | 
25 | import java.io.DataInput;
26 | 
27 | /**
28 |  *
29 |  * @author Scooter Willis 
30 |  */
31 | public interface SequenceParserInterface {
32 | /**
33 |  *
34 |  * @param dataInput
35 |  * @param sequenceLength
36 |  * @return
37 |  * @throws Exception
38 |  */
39 |     public String getSequence(DataInput dataInput,int sequenceLength) throws Exception;
40 | }
41 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/loader/ArrayListProxySequenceReader.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  */
22 | package org.biojava3.core.sequence.loader;
23 | 
24 | import org.biojava3.core.sequence.storage.ArrayListSequenceReader;
25 | import org.biojava3.core.sequence.template.Compound;
26 | import org.biojava3.core.sequence.template.ProxySequenceReader;
27 | 
28 | /**
29 |  *
30 |  *
31 |  * @param 
32 |  */
33 | public class ArrayListProxySequenceReader
34 |   extends ArrayListSequenceReader implements ProxySequenceReader{
35 | 
36 | }
37 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/template/Accessioned.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.core.sequence.template;
 2 | 
 3 | import org.biojava3.core.sequence.AccessionID;
 4 | 
 5 | /**
 6 |  * Indicates an entity is accessioned
 7 |  *
 8 |  * @author ayates
 9 |  */
10 | public interface Accessioned {
11 | 
12 |     /**
13 |      * Returns the AccessionID this location is currently bound with
14 |      */
15 |     AccessionID getAccession();
16 | 
17 | }
18 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/template/ComplementCompound.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  *
22 |  * @author Richard Holland
23 |  * @auther Scooter Willis
24 |  *
25 |  */
26 | 
27 | package org.biojava3.core.sequence.template;
28 | 
29 | public interface ComplementCompound extends Compound {
30 | 
31 |   public ComplementCompound getComplement();
32 | }
33 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/template/CompoundTranslator.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.core.sequence.template;
 2 | 
 3 | import java.util.List;
 4 | 
 5 | public interface CompoundTranslator {
 6 | 
 7 |   T translate(F fromCompound);
 8 | 
 9 |   List translateMany(F fromCompound);
10 | 
11 |   Sequence createSequence(Sequence originalSequence);
12 | 
13 |   List> createSequences(Sequence originalSequence);
14 | 
15 | }
16 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/template/ProxySequenceReader.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  *
22 |  * @author Richard Holland
23 |  * @auther Scooter Willis
24 |  *
25 |  */
26 | package org.biojava3.core.sequence.template;
27 | 
28 | public interface ProxySequenceReader extends SequenceReader {
29 | 	
30 | }
31 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/template/SequenceReader.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  *
22 |  * @author Richard Holland
23 |  *
24 |  *
25 |  */
26 | package org.biojava3.core.sequence.template;
27 | 
28 | public interface SequenceReader extends Sequence {
29 | 	
30 | 	public void setCompoundSet(CompoundSet compoundSet);
31 | 	
32 | 	public void setContents(String sequence);
33 | }
34 | 


--------------------------------------------------------------------------------
/biojava3-core/src/main/java/org/biojava3/core/sequence/template/SequenceView.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 01-21-2010
21 |  *
22 |  * @author Richard Holland
23 |  *
24 |  *
25 |  */
26 | package org.biojava3.core.sequence.template;
27 | 
28 | public interface SequenceView extends Sequence {
29 | 
30 |     public Sequence getViewedSequence();
31 | 
32 |     /**
33 |      * 1-indexed, inclusive.
34 |      */
35 |     public Integer getBioStart();
36 | 
37 |     /**
38 |      * 1-indexed, inclusive.
39 |      */
40 |     public Integer getBioEnd();
41 | }
42 | 


--------------------------------------------------------------------------------
/biojava3-core/src/test/java/org/biojava3/core/sequence/compound/AmbiguityDNACompoundTest.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.core.sequence.compound;
 2 | 
 3 | import static org.junit.Assert.assertEquals;
 4 | 
 5 | import java.util.ArrayList;
 6 | import java.util.List;
 7 | 
 8 | import org.junit.Test;
 9 | 
10 | public class AmbiguityDNACompoundTest {
11 | 
12 |   private AmbiguityDNACompoundSet set = AmbiguityDNACompoundSet.getDNACompoundSet();
13 | 
14 |   @Test
15 |   public void testAmbiguity() {
16 |     NucleotideCompound actual = set.getAmbiguity(getCompounds("M","V"));
17 |     assertEquals("Checking M & G = V", getCompounds("V")[0], actual);
18 |   }
19 | 
20 |   @Test
21 |   public void testBasicAmbiguity() {
22 |     NucleotideCompound actual = set.getAmbiguity(getCompounds("A","C"));
23 |     assertEquals("Checking A & C = M", getCompounds("M")[0], actual);
24 |   }
25 | 
26 |   private NucleotideCompound[] getCompounds(String... compoundStrings) {
27 |     List c = new ArrayList();
28 |     for(String s: compoundStrings) {
29 |       c.add(set.getCompoundForString(s));
30 |     }
31 |     return c.toArray(new NucleotideCompound[0]);
32 |   }
33 | }
34 | 


--------------------------------------------------------------------------------
/biojava3-core/src/test/resources/org/biojava3/core/sequence/volvox-peptide.fasta:
--------------------------------------------------------------------------------
 1 | >rna-Apple3
 2 | FLGFASDSNFRRQ*R*YFIRLSLPSAPSGPVALLLNVPCTMLAVPTPPRALWVDRLAL*G
 3 | CVFNWFQVRRLWIYDATSNIIPMSRLSSKTSKP*N*GRSFF*MKGSVIAIHVSAYSIACR
 4 | LSCYRCRKFVNIKYNTF*V*QGLFTATYWCR**NEKPQHREEENGIPTNLIST*RTKRAV
 5 | HGADENESPNGPS*TPQPVEKLRSARS*STDLKKKRRSLPER*AQPVPGCCRILPHGGAI
 6 | WTTPYFGHSRLPTANASRSCAKFSLDRSHVRFALRKYGILEVLSGLA*GLSGTGAHRSSP
 7 | SR*RGD*IRNMLVPGFGTNQSR*RYKKPFLLVLCLKRTPVTIRRQPEEATWFSFISTLFA
 8 | ISNVILCGDLNAFW*NHTEIQRTRHSDRSRFGGQPRTLHCSARGVSYPEVPVV*RVVTGA
 9 | GPTLPTVKEGNKFDPRVRPGSGGMAYIPYAHSACTFLAHAGILQAGQSVLWPLSYTSNAR
10 | SMFANIAPVAYSTV*PLHHVM


--------------------------------------------------------------------------------
/biojava3-genome/nb-configuration.xml:
--------------------------------------------------------------------------------
 1 | 
 2 | 
 3 |     
 9 |     
10 |         
16 |     
17 | 
18 | 


--------------------------------------------------------------------------------
/biojava3-genome/src/main/java/org/biojava3/genome/App.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.genome;
 2 | 
 3 | /**
 4 |  * Hello world!
 5 |  *
 6 |  */
 7 | public class App 
 8 | {
 9 |     public static void main( String[] args )
10 |     {
11 |         System.out.println( "Hello World!" );
12 |     }
13 | }
14 | 


--------------------------------------------------------------------------------
/biojava3-genome/src/test/java/org/biojava3/genome/AppTest.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.genome;
 2 | 
 3 | import junit.framework.Test;
 4 | import junit.framework.TestCase;
 5 | import junit.framework.TestSuite;
 6 | 
 7 | /**
 8 |  * Unit test for simple App.
 9 |  */
10 | public class AppTest 
11 |     extends TestCase
12 | {
13 |     /**
14 |      * Create the test case
15 |      *
16 |      * @param testName name of the test case
17 |      */
18 |     public AppTest( String testName )
19 |     {
20 |         super( testName );
21 |     }
22 | 
23 |     /**
24 |      * @return the suite of tests being tested
25 |      */
26 |     public static Test suite()
27 |     {
28 |         return new TestSuite( AppTest.class );
29 |     }
30 | 
31 |     /**
32 |      * Rigourous Test :-)
33 |      */
34 |     public void testApp()
35 |     {
36 |         assertTrue( true );
37 |     }
38 | }
39 | 


--------------------------------------------------------------------------------
/biojava3-genome/src/test/resources/amphimedon.gff3:
--------------------------------------------------------------------------------
1 | ##gff-version 3
2 | Contig13175	JGI	gene	1	1864985	.	-	.	ID=Aqu1;Name=Aqu1
3 | Contig100	JGI	mRNA	27	746	.	-	.	ID=PAC:15698561;Name=Aqu1.200033;PACid=15698561;Parent=Aqu1


--------------------------------------------------------------------------------
/biojava3-genome/src/test/resources/volvox_length.gff3:
--------------------------------------------------------------------------------
1 | ##gff-version 3
2 | ctgA	volvox_all.fna	contig	1	50001	.	.	.	Name=ctgA
3 | agt830.5	volvox_all.fna	contig	1	654	.	.	.	Name=agt830.5
4 | agt830.3	volvox_all.fna	contig	1	595	.	.	.	Name=agt830.3
5 | agt767.5	volvox_all.fna	contig	1	1053	.	.	.	Name=agt767.5
6 | agt221.5	volvox_all.fna	contig	1	1253	.	.	.	Name=agt221.5
7 | agt221.3	volvox_all.fna	contig	1	501	.	.	.	Name=agt221.3
8 | agt767.3	volvox_all.fna	contig	1	1001	.	.	.	Name=agt767.3
9 | 


--------------------------------------------------------------------------------
/biojava3-genome/src/test/resources/volvox_length_reference.gff3:
--------------------------------------------------------------------------------
1 | ##gff-version 3
2 | ctgA	volvox_all.fna	contig	1	50001	.	.	.	Name=ctgA
3 | agt830.5	volvox_all.fna	contig	1	654	.	.	.	Name=agt830.5
4 | agt830.3	volvox_all.fna	contig	1	595	.	.	.	Name=agt830.3
5 | agt767.5	volvox_all.fna	contig	1	1053	.	.	.	Name=agt767.5
6 | agt221.5	volvox_all.fna	contig	1	1253	.	.	.	Name=agt221.5
7 | agt221.3	volvox_all.fna	contig	1	501	.	.	.	Name=agt221.3
8 | agt767.3	volvox_all.fna	contig	1	1001	.	.	.	Name=agt767.3
9 | 


--------------------------------------------------------------------------------
/biojava3-phylo/src/main/java/org/biojava3/phylo/App.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.phylo;
 2 | 
 3 | /**
 4 |  * Hello world!
 5 |  *
 6 |  */
 7 | public class App 
 8 | {
 9 |     public static void main( String[] args )
10 |     {
11 |         System.out.println( "Hello World!" );
12 |     }
13 | }
14 | 


--------------------------------------------------------------------------------
/biojava3-phylo/src/main/java/org/biojava3/phylo/NJTreeProgressListener.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * To change this template, choose Tools | Templates
 3 |  * and open the template in the editor.
 4 |  */
 5 | 
 6 | package org.biojava3.phylo;
 7 | 
 8 | //import org.biojavax.bio.phylo.jalview.NJTree;
 9 | 
10 | 
11 | /**
12 |  *
13 |  * @author willishf
14 |  */
15 | public interface NJTreeProgressListener {
16 |     public void progress(Object njtree,String state, int percentageComplete);
17 |     public void progress(Object njtree,String state, int currentCount,int totalCount);
18 |     public void complete(Object njtree);
19 |     public void canceled(Object njtree);
20 | }
21 | 


--------------------------------------------------------------------------------
/biojava3-phylo/src/main/java/org/biojava3/phylo/ProgessListenerStub.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * To change this template, choose Tools | Templates
 3 |  * and open the template in the editor.
 4 |  */
 5 | 
 6 | package org.biojava3.phylo;
 7 | 
 8 | 
 9 | /**
10 |  *
11 |  * @author willishf
12 |  */
13 | public class ProgessListenerStub implements NJTreeProgressListener {
14 | String priorState = "";
15 |     public void progress(Object njtree,String state, int percentageComplete) {
16 |         if(!priorState.equals(state)){
17 |             priorState = state;
18 |             System.out.println();
19 |         }
20 | 
21 |         System.out.println("\n" + state + ":" + percentageComplete);
22 |     }
23 | 
24 | 
25 | 
26 |     public void progress(Object njtree,String state, int currentCount, int totalCount) {
27 |         if (!priorState.equals(state)){
28 |             priorState = state;
29 |             System.out.println();
30 |         }
31 | 
32 |         System.out.println("\n" + state + ":" + currentCount + "/" + totalCount);
33 |     }
34 | 
35 |     public void complete(Object njtree) {
36 | 
37 |     }
38 | 
39 |     public void canceled(Object njtree) {
40 |        
41 |     }
42 | 
43 | }
44 | 


--------------------------------------------------------------------------------
/biojava3-phylo/src/main/java/org/biojava3/phylo/TreeConstructionAlgorithm.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * To change this template, choose Tools | Templates
 3 |  * and open the template in the editor.
 4 |  */
 5 | 
 6 | package org.biojava3.phylo;
 7 | 
 8 | /**
 9 |  *
10 |  * @author willishf
11 |  */
12 | public enum TreeConstructionAlgorithm {
13 |     PID, BLOSUM62;
14 | }
15 | 


--------------------------------------------------------------------------------
/biojava3-phylo/src/main/java/org/biojava3/phylo/TreeType.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * To change this template, choose Tools | Templates
 3 |  * and open the template in the editor.
 4 |  */
 5 | 
 6 | package org.biojava3.phylo;
 7 | 
 8 | /**
 9 |  *
10 |  * @author willishf
11 |  */
12 | public enum TreeType {
13 |     AV, NJ;
14 | }
15 | 


--------------------------------------------------------------------------------
/biojava3-phylo/src/test/java/org/biojava3/phylo/AppTest.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.phylo;
 2 | 
 3 | import junit.framework.Test;
 4 | import junit.framework.TestCase;
 5 | import junit.framework.TestSuite;
 6 | 
 7 | /**
 8 |  * Unit test for simple App.
 9 |  */
10 | public class AppTest 
11 |     extends TestCase
12 | {
13 |     /**
14 |      * Create the test case
15 |      *
16 |      * @param testName name of the test case
17 |      */
18 |     public AppTest( String testName )
19 |     {
20 |         super( testName );
21 |     }
22 | 
23 |     /**
24 |      * @return the suite of tests being tested
25 |      */
26 |     public static Test suite()
27 |     {
28 |         return new TestSuite( AppTest.class );
29 |     }
30 | 
31 |     /**
32 |      * Rigourous Test :-)
33 |      */
34 |     public void testApp()
35 |     {
36 |         assertTrue( true );
37 |     }
38 | }
39 | 


--------------------------------------------------------------------------------
/biojava3-protein-disorder/src/main/java/org/biojava3/data/sequence/package-info.java:
--------------------------------------------------------------------------------
 1 | /**
 2 |  * Set of classes that responsible for data handling. 
 3 |  * Classes in this package have no dependencies to other sources in the project. 
 4 |  * 
 5 |  * @author Peter Troshin 
 6 |  * 
 7 |  * @version 1.0 January 2010
 8 |  */
 9 | package org.biojava3.data.sequence;
10 | 
11 | 


--------------------------------------------------------------------------------
/biojava3-protein-disorder/src/test/java/org/biojava3/ronn/JronnTest.java:
--------------------------------------------------------------------------------
 1 | package org.biojava3.ronn;
 2 | 
 3 | import static org.junit.Assert.assertEquals;
 4 | 
 5 | import org.biojava3.data.sequence.FastaSequence;
 6 | import org.biojava3.ronn.Jronn.Range;
 7 | import org.junit.Test;
 8 | 
 9 | 
10 | public class JronnTest {
11 | 
12 | 	@Test
13 | 	public void verifyRanges() { 
14 |   
15 | 	Range[]	ranges = Jronn.getDisorder(new FastaSequence("name", "LLRGRHLMNGTMIMRPWNFLNDHHFPKFFPHLIEQQAIWLADWWRKKHC" +
16 | 				"RPLPTRAPTMDQWDHFALIQKHWTANLWFLTFPFNDKWGWIWFLKDWTPGSADQAQRACTWFFCHGHDTN" +
17 | 				"CQIIFEGRNAPERADPMWTGGLNKHIIARGHFFQSNKFHFLERKFCEMAEIERPNFTCRTLDCQKFPWDDP" +
18 | 				"CSSTHSDCPKLEDLISFTETHGCSAADNADRPSQACHIGWAAMCEPTAMFMLMGSRCRCSFWPQNNAARHR" +
19 | 				"NFLIQIEMHSHLEHWIQTLHPQRPFLCNTWDDNWPICQFASQARGNSPDHHP"));
20 | 	assertEquals(4, ranges.length);
21 | 	assertEquals(53, ranges[0].from);
22 | 	assertEquals(59, ranges[0].to); 
23 | 	
24 | 	assertEquals(190, ranges[1].from);
25 | 	assertEquals(196, ranges[1].to);
26 | 	
27 | 	assertEquals(210, ranges[2].from);
28 | 	assertEquals(226, ranges[2].to);
29 | 	
30 | 	assertEquals(305, ranges[3].from);
31 | 	assertEquals(313, ranges[3].to);
32 | 	//System.out.println(Arrays.toString(ranges));
33 | 	}
34 | }
35 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/main/java/org/biojava3/sequencing/io/fastq/IlluminaFastqReader.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  */
21 | package org.biojava3.sequencing.io.fastq;
22 | 
23 | /**
24 |  * Reader for {@link FastqVariant#FASTQ_ILLUMINA} formatted sequences.
25 |  *
26 |  * @since 3.0.3
27 |  */
28 | public final class IlluminaFastqReader
29 |     extends AbstractFastqReader
30 | {
31 | 
32 |     /** {@inheritDoc} */
33 |     protected FastqVariant getVariant()
34 |     {
35 |         return FastqVariant.FASTQ_ILLUMINA;
36 |     }
37 | }


--------------------------------------------------------------------------------
/biojava3-sequencing/src/main/java/org/biojava3/sequencing/io/fastq/SangerFastqReader.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  */
21 | package org.biojava3.sequencing.io.fastq;
22 | 
23 | /**
24 |  * Reader for {@link FastqVariant#FASTQ_SANGER} formatted sequences.
25 |  *
26 |  * @since 3.0.3
27 |  */
28 | public final class SangerFastqReader
29 |     extends AbstractFastqReader
30 | {
31 | 
32 |     /** {@inheritDoc} */
33 |     protected FastqVariant getVariant()
34 |     {
35 |         return FastqVariant.FASTQ_SANGER;
36 |     }
37 | }


--------------------------------------------------------------------------------
/biojava3-sequencing/src/main/java/org/biojava3/sequencing/io/fastq/SolexaFastqReader.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  */
21 | package org.biojava3.sequencing.io.fastq;
22 | 
23 | /**
24 |  * Reader for {@link FastqVariant#FASTQ_SOLEXA} formatted sequences.
25 |  *
26 |  * @since 3.0.3
27 |  */
28 | public final class SolexaFastqReader
29 |     extends AbstractFastqReader
30 | {
31 | 
32 |     /** {@inheritDoc} */
33 |     protected FastqVariant getVariant()
34 |     {
35 |         return FastqVariant.FASTQ_SOLEXA;
36 |     }
37 | }


--------------------------------------------------------------------------------
/biojava3-sequencing/src/main/java/org/biojava3/sequencing/io/fastq/StreamListener.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  */
21 | package org.biojava3.sequencing.io.fastq;
22 | 
23 | /**
24 |  * Event based parser callback.
25 |  *
26 |  * @since 3.0.3
27 |  */
28 | public interface StreamListener
29 | {
30 |     /**
31 |      * Notify this listener of a FASTQ formatted sequence.
32 |      *
33 |      * @param fastq FASTQ formatted sequence
34 |      */
35 |     void fastq(Fastq fastq);
36 | }
37 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/bug2335.fastq:
--------------------------------------------------------------------------------
1 | @DS6BPQV01A2G0A
2 | TTGGAATGTTGCAAATGGGAGGCAGTTTGAAATACTGAATAGGCCTCATCGAGAATGTGAAGTTTCAGTAAAGACTTGAGGAAGTTGAATGAGCTGATGAATGGATATATG
3 | +DS6BPQV01A2G0A
4 | @8A8@7<=A9:8?:#6B>*2B<<<:B>*=A<(<6;6<<2;8@8A9<<=<==<<@88=<+<==B:<<@8C<60,)%"<=:5<
 5 | @85@7@8+8<
24 | <3;=4:DA3%<;=8-9.A=):B=*
25 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/example.fastq:
--------------------------------------------------------------------------------
 1 | @EAS54_6_R1_2_1_413_324
 2 | CCCTTCTTGTCTTCAGCGTTTCTCC
 3 | +
 4 | ;;3;;;;;;;;;;;;7;;;;;;;88
 5 | @EAS54_6_R1_2_1_540_792
 6 | TTGGCAGGCCAAGGCCGATGGATCA
 7 | +
 8 | ;;;;;;;;;;;7;;;;;-;;;3;83
 9 | @EAS54_6_R1_2_1_443_348
10 | GTTGCTTCTGGCGTGGGTGGGGGGG
11 | +
12 | ;;;;;;;;;;;9;7;;.7;393333
13 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina-invalid-description.fastq:
--------------------------------------------------------------------------------
1 | invalid description
2 | ACTG
3 | +
4 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina-invalid-repeat-description.fastq:
--------------------------------------------------------------------------------
1 | @description
2 | ACTG
3 | +invalid repeat description
4 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina_faked.fastq:
--------------------------------------------------------------------------------
1 | @Test PHRED qualities from 40 to 0 inclusive
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTN
3 | +
4 | hgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@
5 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina_full_range_as_illumina.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0005 Original version has PHRED scores from 62 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACG
3 | +
4 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0006 Original version has PHRED scores from 0 to 62 inclusive (in that order)
6 | GCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina_full_range_as_sanger.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0005 Original version has PHRED scores from 62 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACG
3 | +
4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
5 | @FAKE0006 Original version has PHRED scores from 0 to 62 inclusive (in that order)
6 | GCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | _^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina_full_range_as_solexa.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0005 Original version has PHRED scores from 62 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACG
3 | +
4 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0006 Original version has PHRED scores from 0 to 62 inclusive (in that order)
6 | GCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJHGFECB@>;;
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/illumina_full_range_original_illumina.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0005 Original version has PHRED scores from 62 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACG
3 | +
4 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0006 Original version has PHRED scores from 0 to 62 inclusive (in that order)
6 | GCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_dna_as_illumina.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0007 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTA
 3 | +
 4 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 5 | @FAKE0008 Original version has mixed case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gTcatAGcgTcatAGcgTcatAGcgTcatAGcgTcatAGcg
 7 | +
 8 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 9 | @FAKE0009 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | tcagtcagtcagtcagtcagtcagtcagtcagtcagtcagt
11 | +
12 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
13 | @FAKE0010 Original version has mixed case ambiguous DNA and PHRED scores of 40, 30, 20, 10 (cycled)
14 | gatcrywsmkhbvdnGATCRYWSMKHBVDN
15 | +
16 | h^TJh^TJh^TJh^TJh^TJh^TJh^TJh^
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_dna_as_sanger.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0007 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTA
 3 | +
 4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 5 | @FAKE0008 Original version has mixed case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gTcatAGcgTcatAGcgTcatAGcgTcatAGcgTcatAGcg
 7 | +
 8 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 9 | @FAKE0009 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | tcagtcagtcagtcagtcagtcagtcagtcagtcagtcagt
11 | +
12 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
13 | @FAKE0010 Original version has mixed case ambiguous DNA and PHRED scores of 40, 30, 20, 10 (cycled)
14 | gatcrywsmkhbvdnGATCRYWSMKHBVDN
15 | +
16 | I?5+I?5+I?5+I?5+I?5+I?5+I?5+I?
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_dna_as_solexa.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0007 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTA
 3 | +
 4 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 5 | @FAKE0008 Original version has mixed case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gTcatAGcgTcatAGcgTcatAGcgTcatAGcgTcatAGcg
 7 | +
 8 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 9 | @FAKE0009 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | tcagtcagtcagtcagtcagtcagtcagtcagtcagtcagt
11 | +
12 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
13 | @FAKE0010 Original version has mixed case ambiguous DNA and PHRED scores of 40, 30, 20, 10 (cycled)
14 | gatcrywsmkhbvdnGATCRYWSMKHBVDN
15 | +
16 | h^TJh^TJh^TJh^TJh^TJh^TJh^TJh^
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_dna_original_sanger.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0007 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTA
 3 | +
 4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 5 | @FAKE0008 Original version has mixed case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gTcatAGcgTcatAGcgTcatAGcgTcatAGcgTcatAGcg
 7 | +
 8 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 9 | @FAKE0009 Original version has lower case unambiguous DNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | tcagtcagtcagtcagtcagtcagtcagtcagtcagtcagt
11 | +
12 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
13 | @FAKE0010 Original version has mixed case ambiguous DNA and PHRED scores of 40, 30, 20, 10 (cycled)
14 | gatcrywsmkhbvdnGATCRYWSMKHBVDN
15 | +
16 | I?5+I?5+I?5+I?5+I?5+I?5+I?5+I?
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_rna_as_illumina.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0011 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGUACGUACGUACGUACGUACGUACGUACGUACGUACGUA
 3 | +
 4 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 5 | @FAKE0012 Original version has mixed case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gUcauAGcgUcauAGcgUcauAGcgUcauAGcgUcauAGcg
 7 | +
 8 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 9 | @FAKE0013 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | ucagucagucagucagucagucagucagucagucagucagu
11 | +
12 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
13 | @FAKE0014 Original version has mixed case ambiguous RNA with PHRED scores from 35 to 40 inclusive (cycled)
14 | gaucrywsmkhbvdnGAUCRYWSMKHBVDN
15 | +
16 | cdefghcdefghcdefghcdefghcdefgh
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_rna_as_sanger.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0011 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGUACGUACGUACGUACGUACGUACGUACGUACGUACGUA
 3 | +
 4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 5 | @FAKE0012 Original version has mixed case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gUcauAGcgUcauAGcgUcauAGcgUcauAGcgUcauAGcg
 7 | +
 8 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 9 | @FAKE0013 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | ucagucagucagucagucagucagucagucagucagucagu
11 | +
12 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
13 | @FAKE0014 Original version has mixed case ambiguous RNA with PHRED scores from 35 to 40 inclusive (cycled)
14 | gaucrywsmkhbvdnGAUCRYWSMKHBVDN
15 | +
16 | DEFGHIDEFGHIDEFGHIDEFGHIDEFGHI
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_rna_as_solexa.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0011 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGUACGUACGUACGUACGUACGUACGUACGUACGUACGUA
 3 | +
 4 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 5 | @FAKE0012 Original version has mixed case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gUcauAGcgUcauAGcgUcauAGcgUcauAGcgUcauAGcg
 7 | +
 8 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
 9 | @FAKE0013 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | ucagucagucagucagucagucagucagucagucagucagu
11 | +
12 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
13 | @FAKE0014 Original version has mixed case ambiguous RNA with PHRED scores from 35 to 40 inclusive (cycled)
14 | gaucrywsmkhbvdnGAUCRYWSMKHBVDN
15 | +
16 | cdefghcdefghcdefghcdefghcdefgh
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/misc_rna_original_sanger.fastq:
--------------------------------------------------------------------------------
 1 | @FAKE0011 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 2 | ACGUACGUACGUACGUACGUACGUACGUACGUACGUACGUA
 3 | +
 4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 5 | @FAKE0012 Original version has mixed case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
 6 | gUcauAGcgUcauAGcgUcauAGcgUcauAGcgUcauAGcg
 7 | +
 8 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
 9 | @FAKE0013 Original version has lower case unambiguous RNA with PHRED scores from 0 to 40 inclusive (in that order)
10 | ucagucagucagucagucagucagucagucagucagucagu
11 | +
12 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI
13 | @FAKE0014 Original version has mixed case ambiguous RNA with PHRED scores from 35 to 40 inclusive (cycled)
14 | gaucrywsmkhbvdnGAUCRYWSMKHBVDN
15 | +
16 | DEFGHIDEFGHIDEFGHIDEFGHIDEFGHI
17 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/multiple-wrapped-quality.fastq:
--------------------------------------------------------------------------------
 1 | @description
 2 | AC
 3 | T
 4 | G
 5 | +
 6 | ZZ
 7 | Z
 8 | Z
 9 | @description
10 | AC
11 | T
12 | G
13 | +
14 | ZZ
15 | Z
16 | Z
17 | @description
18 | AC
19 | T
20 | G
21 | +
22 | ZZ
23 | Z
24 | Z
25 | @description
26 | AC
27 | T
28 | G
29 | +
30 | ZZ
31 | Z
32 | Z


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger-invalid-description.fastq:
--------------------------------------------------------------------------------
1 | invalid description
2 | ACTG
3 | +
4 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger-invalid-repeat-description.fastq:
--------------------------------------------------------------------------------
1 | @description
2 | ACTG
3 | +invalid repeat description
4 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger_93.fastq:
--------------------------------------------------------------------------------
1 | @Test PHRED qualities from 93 to 0 inclusive
2 | ACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGACTGAN
3 | +
4 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!
5 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger_faked.fastq:
--------------------------------------------------------------------------------
1 | @Test PHRED qualities from 40 to 0 inclusive
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTN
3 | +
4 | IHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!
5 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger_full_range_as_illumina.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0001 Original version has PHRED scores from 93 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
3 | +
4 | @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | @FAKE0002 Original version has PHRED scores from 0 to 93 inclusive (in that order)
6 | CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger_full_range_as_sanger.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0001 Original version has PHRED scores from 93 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
3 | +
4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0002 Original version has PHRED scores from 0 to 93 inclusive (in that order)
6 | CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger_full_range_as_solexa.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0001 Original version has PHRED scores from 93 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
3 | +
4 | ;;>@BCEFGHJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | @FAKE0002 Original version has PHRED scores from 0 to 93 inclusive (in that order)
6 | CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJHGFECB@>;;
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/sanger_full_range_original_sanger.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0001 Original version has PHRED scores from 93 to 0 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTAC
3 | +
4 | !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0002 Original version has PHRED scores from 0 to 93 inclusive (in that order)
6 | CATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa-invalid-description.fastq:
--------------------------------------------------------------------------------
1 | invalid description
2 | ACTG
3 | +
4 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa-invalid-repeat-description.fastq:
--------------------------------------------------------------------------------
1 | @description
2 | ACTG
3 | +invalid repeat description
4 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa_example.fastq:
--------------------------------------------------------------------------------
 1 | @SLXA-B3_649_FC8437_R1_1_1_610_79
 2 | GATGTGCAATACCTTTGTAGAGGAA
 3 | +SLXA-B3_649_FC8437_R1_1_1_610_79
 4 | YYYYYYYYYYYYYYYYYYWYWYYSU
 5 | @SLXA-B3_649_FC8437_R1_1_1_397_389
 6 | GGTTTGAGAAAGAGAAATGAGATAA
 7 | +SLXA-B3_649_FC8437_R1_1_1_397_389
 8 | YYYYYYYYYWYYYYWWYYYWYWYWW
 9 | @SLXA-B3_649_FC8437_R1_1_1_850_123
10 | GAGGGTGTTGATCATGATGATGGCG
11 | +SLXA-B3_649_FC8437_R1_1_1_850_123
12 | YYYYYYYYYYYYYWYYWYYSYYYSY
13 | @SLXA-B3_649_FC8437_R1_1_1_362_549
14 | GGAAACAAAGTTTTTCTCAACATAG
15 | +SLXA-B3_649_FC8437_R1_1_1_362_549
16 | YYYYYYYYYYYYYYYYYYWWWWYWY
17 | @SLXA-B3_649_FC8437_R1_1_1_183_714
18 | GTATTATTTAATGGCATACACTCAA
19 | +SLXA-B3_649_FC8437_R1_1_1_183_714
20 | YYYYYYYYYYWYYYYWYWWUWWWQQ
21 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa_faked.fastq:
--------------------------------------------------------------------------------
1 | @slxa_0001_1_0001_01
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTNNNNNN
3 | +slxa_0001_1_0001_01
4 | hgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;
5 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa_full_range_as_illumina.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0003 Original version has Solexa scores from 62 to -5 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
3 | +
4 | AABBCCDDEEFGHIJJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0004 Original version has Solexa scores from -5 to 62 inclusive (in that order)
6 | TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJJIHGFEEDDCCBBAA
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa_full_range_as_sanger.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0003 Original version has Solexa scores from 62 to -5 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
3 | +
4 | ""##$$%%&&'()*++,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
5 | @FAKE0004 Original version has Solexa scores from -5 to 62 inclusive (in that order)
6 | TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | _^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,++*)('&&%%$$##""
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa_full_range_as_solexa.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0003 Original version has Solexa scores from 62 to -5 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
3 | +
4 | ;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0004 Original version has Solexa scores from -5 to 62 inclusive (in that order)
6 | TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/solexa_full_range_original_solexa.fastq:
--------------------------------------------------------------------------------
1 | @FAKE0003 Original version has Solexa scores from 62 to -5 inclusive (in that order)
2 | ACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGTACGT
3 | +
4 | ;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
5 | @FAKE0004 Original version has Solexa scores from -5 to 62 inclusive (in that order)
6 | TGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCATGCA
7 | +
8 | ~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;
9 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/test2_solexa.fastq:
--------------------------------------------------------------------------------
 1 | @SLXA-B3_649_FC8437_R1_1_1_610_79
 2 | GATGTGCAATACCTTTGTAGAGGAA
 3 | +
 4 | YYYYYYYYYYYYYYYYYYWYWYYSU
 5 | @SLXA-B3_649_FC8437_R1_1_1_397_389
 6 | GGTTTGAGAAAGAGAAATGAGATAA
 7 | +
 8 | YYYYYYYYYWYYYYWWYYYWYWYWW
 9 | @SLXA-B3_649_FC8437_R1_1_1_850_123
10 | GAGGGTGTTGATCATGATGATGGCG
11 | +SLXA-B3_649_FC8437_R1_1_1_850_123
12 | YYYYYYYYYYYYYWYYWYYSYYYSY
13 | @SLXA-B3_649_FC8437_R1_1_1_362_549
14 | GGAAACAAAGTTTTTCTCAACATAG
15 | +SLXA-B3_649_FC8437_R1_1_1_362_549
16 | YYYYYYYYYYYYYYYYYYWWWWYWY
17 | @SLXA-B3_649_FC8437_R1_1_1_183_714
18 | GTATTATTTAATGGCATACACTCAA
19 | +SLXA-B3_649_FC8437_R1_1_1_183_714
20 | YYYYYYYYYYWYYYYWYWWUWWWQQ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/tricky.fastq:
--------------------------------------------------------------------------------
 1 | @071113_EAS56_0053:1:1:998:236
 2 | TTTCTTGCCCCCATAGACTGAGACCTTCCCTAAATA
 3 | +071113_EAS56_0053:1:1:998:236
 4 | IIIIIIIIIIIIIIIIIIIIIIIIIIIIICII+III
 5 | @071113_EAS56_0053:1:1:182:712
 6 | ACCCAGCTAATTTTTGTATTTTTGTTAGAGACAGTG
 7 | +
 8 | @IIIIIIIIIIIIIIICDIIIII<%<6&-*).(*%+
 9 | @071113_EAS56_0053:1:1:153:10
10 | TGTTCTGAAGGAAGGTGTGCGTGCGTGTGTGTGTGT
11 | +
12 | IIIIIIIIIIIICIIGIIIII>IAIIIE65I=II:6
13 | @071113_EAS56_0053:1:3:990:501
14 | TGGGAGGTTTTATGTGGA
15 | AAGCAGCAATGTACAAGA
16 | +
17 | IIIIIII.IIIIII1@44
18 | @-7.%<&+/$/%4(++(%
19 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapped-quality.fastq:
--------------------------------------------------------------------------------
1 | @description
2 | AC
3 | T
4 | G
5 | +
6 | ZZ
7 | Z
8 | Z


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapped-sequence.fastq:
--------------------------------------------------------------------------------
1 | @description
2 | AC
3 | T
4 | G
5 | +
6 | ZZZZ


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapping_as_illumina.fastq:
--------------------------------------------------------------------------------
 1 | @SRR014849.50939 EIXKN4201BA2EC length=135
 2 | GAAATTTCAGGGCCACCTTTTTTTTGATAGAATAATGGAGAAAATTAAAAGCTGTACATATACCAATGAACAATAAATCAATACATAAAAAAGGAGAAGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTCGG
 3 | +
 4 | Zb^Ld`N\[d`NaZ[aZc]UOKHDA[\YT[_W[aZ\aZ[Zd`SF_WeaUI[Y\[[\\\[\Z\aY`X[[aZ\aZ\d`OY[aY[[\[[e`WPJC^UZ[`X\[R]T_V_W[`[Ga\I`\H[[Q^TVa\Ia\Ic^LY\S
 5 | @SRR014849.110027 EIXKN4201APUB0 length=131
 6 | CTTCAAATGATTCCGGGACTGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTTCGGTTCCAACTCGCCGTCCGAATAATCCGTTCAAAATCTTGGCCTGTCAAAACGACTTTACGACCAGAACGATCCG
 7 | +
 8 | \aYY_[FY\T`X^Vd`OY\[[^U_V[R^T[_ZDc^La\HYYO\S[c^Ld`Nc_QAZaZaYaY`XZZ\[aZZ[aZ[aZ[aZY`Z[`ZWeaVJ\[aZaY`X[PY\eaUG[\[[d`OXTUZ[Q\\`W\\\Y_W\
 9 | @SRR014849.203935 EIXKN4201B4HU6 length=144
10 | AACCCGTCCCATCAAAGATTTTGGTTGGAACCCGAAAGGGTTTTGAATTCAAACCCCTTTCGGTTCCAACTATTCAATTGTTTAACTTTTTTTAAATTGATGGTCTGTTGGACCATTTGTAATAATCCCCATCGGAATTTCTTT
11 | +
12 | `Z_ZDVT^YB[[Xd`PZ\d`RDaZaZ`ZaZ_ZDXd`Pd`Pd`RD[aZ`ZWd`Oc_RCd`P\aZ`ZaZaZY\YaZYaY`XYd`O`X[e`WPJEAc^LaZS[YYN[Z\Y`XWLT^U\b]JW[[RZ\SYc`RD[Z\WLXM`\HYa\I
13 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapping_as_sanger.fastq:
--------------------------------------------------------------------------------
 1 | @SRR014849.50939 EIXKN4201BA2EC length=135
 2 | GAAATTTCAGGGCCACCTTTTTTTTGATAGAATAATGGAGAAAATTAAAAGCTGTACATATACCAATGAACAATAAATCAATACATAAAAAAGGAGAAGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTCGG
 3 | +
 4 | ;C?-EA/=60,)%"<=:5<@85@7@8+8<<3;=4:DA3%<;=8-9.A=):B=*
13 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapping_as_solexa.fastq:
--------------------------------------------------------------------------------
 1 | @SRR014849.50939 EIXKN4201BA2EC length=135
 2 | GAAATTTCAGGGCCACCTTTTTTTTGATAGAATAATGGAGAAAATTAAAAGCTGTACATATACCAATGAACAATAAATCAATACATAAAAAAGGAGAAGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTCGG
 3 | +
 4 | Zb^Ld`N\[d`NaZ[aZc]UOKGB;[\YT[_W[aZ\aZ[Zd`SE_WeaUH[Y\[[\\\[\Z\aY`X[[aZ\aZ\d`OY[aY[[\[[e`WPJ@^UZ[`X\[R]T_V_W[`[Fa\H`\G[[Q^TVa\Ha\Hc^LY\S
 5 | @SRR014849.110027 EIXKN4201APUB0 length=131
 6 | CTTCAAATGATTCCGGGACTGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTTCGGTTCCAACTCGCCGTCCGAATAATCCGTTCAAAATCTTGGCCTGTCAAAACGACTTTACGACCAGAACGATCCG
 7 | +
 8 | \aYY_[EY\T`X^Vd`OY\[[^U_V[R^T[_ZBc^La\GYYO\S[c^Ld`Nc_Q;ZaZaYaY`XZZ\[aZZ[aZ[aZ[aZY`Z[`ZWeaVJ\[aZaY`X[PY\eaUF[\[[d`OXTUZ[Q\\`W\\\Y_W\
 9 | @SRR014849.203935 EIXKN4201B4HU6 length=144
10 | AACCCGTCCCATCAAAGATTTTGGTTGGAACCCGAAAGGGTTTTGAATTCAAACCCCTTTCGGTTCCAACTATTCAATTGTTTAACTTTTTTTAAATTGATGGTCTGTTGGACCATTTGTAATAATCCCCATCGGAATTTCTTT
11 | +
12 | `Z_ZBVT^Y>[[Xd`PZ\d`RBaZaZ`ZaZ_ZBXd`Pd`Pd`RB[aZ`ZWd`Oc_R@d`P\aZ`ZaZaZY\YaZYaY`XYd`O`X[e`WPJC;c^LaZS[YYN[Z\Y`XWLT^U\b]JW[[RZ\SYc`RB[Z\WLXM`\GYa\H
13 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapping_issues.fastq:
--------------------------------------------------------------------------------
 1 | @SRR014849.50939 EIXKN4201BA2EC length=135
 2 | GAAATTTCAGGGCCACCTTTTTTTTGATAGAATAATGGAGAAAATTAAAAGCTGTACATATACCAATGAACAATAAATCAATACATAAAAAAGGAGAAGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTCGG
 3 | +
 4 | ;C?-EA/=60,)%"<=:5<
 5 | @85@7@8+8<
24 | <3;=4:DA3%<;=8-9.A=):B=*
25 | 


--------------------------------------------------------------------------------
/biojava3-sequencing/src/test/resources/org/biojava3/sequencing/io/fastq/wrapping_original_sanger.fastq:
--------------------------------------------------------------------------------
 1 | @SRR014849.50939 EIXKN4201BA2EC length=135
 2 | GAAATTTCAGGGCCACCTTTTTTTTGATAGAATAATGGAGAAAATTAAAAGCTGTACATATACCAATGAACAATAAATCAATACATAAAAAAGGAGAAGTTGGAACCGAAAGGGTTTGAATTCAAACCCTTTCGG
 3 | +
 4 | ;C?-EA/=60,)%"<=:5<
 5 | @85@7@8+8<
24 | <3;=4:DA3%<;=8-9.A=):B=*
25 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/readme.txt:
--------------------------------------------------------------------------------
 1 | TODO in order for this to compile:
 2 | 
 3 | Install JmolApplet.jar from the Jmol web site using:
 4 | 
 5 | http://jmol.sourceforge.net/download/
 6 | 
 7 | mvn install:install-file \
 8 |  -Dfile=/Users/andreas/workspace_mvn/Jmol/build/JmolApplet.jar \
 9 |  -DgroupId=jmolapplet \
10 |  -DartifactId=JmolApplet \
11 |  -Dversion=11.8.17 \
12 |  -Dpackaging=jar \
13 |  -DgeneratePom=true 
14 |  
15 |  
16 |  Install Javaws.jar
17 |  (probably somewhere in your Java install)


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/demo/AlignmentGuiDemo.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on 2010-01-21
21 |  *
22 |  */
23 | package demo;
24 | 
25 | 
26 | import org.biojava.bio.structure.align.gui.AlignmentGui;
27 | 
28 | /**
29 |  * 
30 |  * @author Andreas Prlic
31 |  *
32 |  */
33 | public class AlignmentGuiDemo {
34 | 
35 | 	/** e.g. try to align 2hyn vs 1zll
36 | 	 * 
37 | 	 */
38 | 	public static void main(String[] args) {
39 | 			
40 | 		AlignmentGui.getInstance();
41 | 		
42 | 	}
43 | }
44 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/demo/ShowStructureInJmol.java:
--------------------------------------------------------------------------------
 1 | package demo;
 2 | 
 3 | import org.biojava.bio.structure.Structure;
 4 | import org.biojava.bio.structure.align.gui.jmol.StructureAlignmentJmol;
 5 | import org.biojava.bio.structure.align.util.AtomCache;
 6 | 
 7 | 
 8 | /** Demo how to load and display a structure in Jmol
 9 |  * 
10 |  * @author Andreas Prlic
11 |  *
12 |  */
13 | public class ShowStructureInJmol {
14 | 	public static void main(String[] args){
15 | 		try {
16 | 			
17 | 			AtomCache cache = new AtomCache();
18 | 
19 | 			Structure struc = cache.getStructure("1aoi");
20 | 
21 | 			StructureAlignmentJmol jmolPanel = new StructureAlignmentJmol();
22 | 
23 | 			jmolPanel.setStructure(struc);
24 | 
25 | 			// send some RASMOL style commands to Jmol
26 | 			jmolPanel.evalString("select * ; color chain;");
27 | 			jmolPanel.evalString("select nucleic; cartoon on;");
28 | 			jmolPanel.evalString("select *; spacefill off; wireframe off; cartoon on;  ");
29 | 		} catch (Exception e){
30 | 			e.printStackTrace();
31 | 		}
32 | 	}
33 | }
34 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/gui/AlignmentCalculationRunnable.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * Created on Mar 30, 2010
21 |  * Author: Andreas Prlic 
22 |  *
23 |  */
24 | 
25 | package org.biojava.bio.structure.align.gui;
26 | 
27 | public interface AlignmentCalculationRunnable extends Runnable
28 | {
29 | 
30 |    public void interrupt();
31 |    public void cleanup();
32 |    public void setNrCPUs(int useNrCPUs);
33 | 
34 | }
35 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/gui/jmol/package.html:
--------------------------------------------------------------------------------
1 | 
2 |   
3 |     
4 |   
5 |   
6 |   Utility methods for better interaction with Jmol.
7 |   
8 |   
9 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/align/webstart/package.html:
--------------------------------------------------------------------------------
1 | 
2 |   
3 |     
4 |   
5 |   
6 | Classes related to Java Web Start
7 |   
8 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/gui/events/AlignmentPositionListener.java:
--------------------------------------------------------------------------------
 1 | /*
 2 |  *                    BioJava development code
 3 |  *
 4 |  * This code may be freely distributed and modified under the
 5 |  * terms of the GNU Lesser General Public Licence.  This should
 6 |  * be distributed with the code.  If you do not have a copy,
 7 |  * see:
 8 |  *
 9 |  *      http://www.gnu.org/copyleft/lesser.html
10 |  *
11 |  * Copyright for this code is held jointly by the individual
12 |  * authors.  These should be listed in @author doc comments.
13 |  *
14 |  * For more information on the BioJava project and its aims,
15 |  * or to join the biojava-l mailing list, visit the home page
16 |  * at:
17 |  *
18 |  *      http://www.biojava.org/
19 |  *
20 |  * created at May 28, 2008
21 |  */
22 | package org.biojava.bio.structure.gui.events;
23 | 
24 | import org.biojava.bio.structure.gui.util.AlignedPosition;
25 | 
26 | public interface AlignmentPositionListener {
27 | 
28 | 	public void mouseOverPosition(AlignedPosition p);
29 | 	public void positionSelected(AlignedPosition p);
30 | 	public void toggleSelection(AlignedPosition p);
31 | 	public void rangeSelected(AlignedPosition start , AlignedPosition end);
32 | 	public void selectionLocked();
33 | 	public void selectionUnlocked();
34 | 	
35 | }
36 | 


--------------------------------------------------------------------------------
/biojava3-structure-gui/src/main/java/org/biojava/bio/structure/gui/events/package.html:
--------------------------------------------------------------------------------
1 | 
2 | 

3 | Some event classes for the protein structure GUIs. 4 | 5 | Possible start classes are one level higher at 6 | org.biojava.bio.structure.gui.BiojavaJmol, and org.biojava.bio.structure.gui.AlignmentGui. 7 |

8 | 9 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava/bio/structure/gui/package.html: -------------------------------------------------------------------------------- 1 | 2 |

3 | A few convenience classes to view protein structures with Jmol (if it is on the classpath), 4 | to calculate a protein structure alignment and to investigate the internals of the protein structure alignment algorithm. 5 | 6 | Possible start classes are BiojavaJmol, AlignmentGui. 7 |

8 | 9 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava/bio/structure/gui/util/StructurePairSelector.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * created at May 25, 2008 21 | */ 22 | package org.biojava.bio.structure.gui.util; 23 | 24 | import org.biojava.bio.structure.Structure; 25 | import org.biojava.bio.structure.StructureException; 26 | 27 | /** To be implemented by JPanels that are part of the GUI to trigger structure aligmnents. 28 | * 29 | * 30 | * @author Andreas Prlic 31 | * @since 1.7 32 | * 33 | */ 34 | public interface StructurePairSelector { 35 | 36 | public Structure getStructure1() throws StructureException; 37 | public Structure getStructure2() throws StructureException; 38 | 39 | } 40 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava/bio/structure/gui/util/color/ContinuousColorMapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on Aug 3, 2007 21 | */ 22 | package org.biojava.bio.structure.gui.util.color; 23 | 24 | import java.awt.Color; 25 | 26 | /** 27 | * Provides a mapping between real numbers and Colors. 28 | * For instance, this could generate a gradient. 29 | * 30 | * @author Spencer Bliven 31 | * 32 | */ 33 | public interface ContinuousColorMapper { 34 | 35 | /** 36 | * 37 | * @param value The real to be mapped 38 | * @return The color corresponding to value 39 | */ 40 | public Color getColor(double value); 41 | } 42 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava/bio/structure/gui/util/package.html: -------------------------------------------------------------------------------- 1 | 2 |

3 | Some utility classes for the protein structure GUIs. 4 | 5 | Possible start classes are one level higher at 6 | org.biojava.bio.structure.gui.BiojavaJmol, and org.biojava.bio.structure.gui.AlignmentGui. 7 |

8 | 9 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava3/structure/gui/RenderStyle.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.structure.gui; 2 | 3 | public enum RenderStyle { 4 | WIREFRAME, STICKS, BALL_AND_STICK, SURFACE, RIBBON, CARTOON, SPHERES, MESH 5 | 6 | } 7 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava3/structure/gui/Selection.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.structure.gui; 2 | 3 | import java.util.List; 4 | 5 | import org.biojava.bio.structure.align.gui.jmol.AtomInfo; 6 | 7 | public interface Selection { 8 | 9 | 10 | public void clear(); 11 | public List getSelection(); 12 | public void setSelection(List selection); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava3/structure/gui/SelectionImpl.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.structure.gui; 2 | 3 | import java.util.List; 4 | 5 | import org.biojava.bio.structure.align.gui.jmol.AtomInfo; 6 | 7 | public class SelectionImpl implements Selection { 8 | 9 | public void clear() { 10 | // TODO Auto-generated method stub 11 | 12 | } 13 | 14 | public List getSelection() { 15 | // TODO Auto-generated method stub 16 | return null; 17 | } 18 | 19 | public void setSelection(List selection) { 20 | // TODO Auto-generated method stub 21 | 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava3/structure/gui/StructureViewer.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.structure.gui; 2 | 3 | import java.awt.Color; 4 | 5 | import org.biojava.bio.structure.Structure; 6 | 7 | public interface StructureViewer { 8 | 9 | public void setStructure(Structure structure); 10 | public void repaint(); 11 | public void setSelection(Selection selection); 12 | public Selection getSelection(); 13 | 14 | /** Apply this color to the current Selection 15 | * 16 | * @param red 17 | */ 18 | public void setColor(Color red); 19 | public Color getColor(); 20 | 21 | 22 | /** Apply this style to the current selection 23 | * 24 | * @param wireframe renderstyle 25 | */ 26 | public void setStyle(RenderStyle wireframe); 27 | 28 | /** Clear the current display 29 | * 30 | * 31 | */ 32 | public void clear(); 33 | 34 | /** Set the Zoom level 35 | * 36 | * @param i 37 | */ 38 | public void setZoom(int i); 39 | 40 | } 41 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/java/org/biojava3/structure/gui/package.html: -------------------------------------------------------------------------------- 1 | 2 |

3 | New MVC interface for structure-gui 4 |

5 | 6 | -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/background.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/compfile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/compfile.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/configure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/configure.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/editdelete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/editdelete.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/exit.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/fileprint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/fileprint.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/filesave.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/help.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/kpdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/kpdf.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/print_printer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/print_printer.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/reload.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/revert-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/revert-1.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/revert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/revert.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/main/resources/icons/window_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure-gui/src/main/resources/icons/window_new.png -------------------------------------------------------------------------------- /biojava3-structure-gui/src/test/java/org/biojava/structure/gui/RenderStyleTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this template, choose Tools | Templates 3 | * and open the template in the editor. 4 | */ 5 | 6 | package org.biojava.structure.gui; 7 | 8 | import junit.framework.TestCase; 9 | 10 | /** 11 | * 12 | * @author Jules 13 | */ 14 | public class RenderStyleTest extends TestCase { 15 | 16 | public RenderStyleTest(String testName) { 17 | super(testName); 18 | } 19 | 20 | @Override 21 | protected void setUp() throws Exception { 22 | super.setUp(); 23 | } 24 | 25 | @Override 26 | protected void tearDown() throws Exception { 27 | super.tearDown(); 28 | } 29 | 30 | public void testSomeMethod() { 31 | // TODO review the generated test code and remove the default call to fail. 32 | //fail("The test case is a prototype."); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/demo/ChemCompDistribution.java: -------------------------------------------------------------------------------- 1 | package demo; 2 | 3 | import org.biojava.bio.structure.io.mmcif.DownloadChemCompProvider; 4 | 5 | public class ChemCompDistribution { 6 | 7 | public static void main(String[] args){ 8 | 9 | 10 | DownloadChemCompProvider.setPath("/Users/andreas/WORK/PDB/"); 11 | DownloadChemCompProvider c = new DownloadChemCompProvider(); 12 | c.setDownloadAll(true); 13 | c.checkDoFirstInstall(); 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/demo/DemoBerkeleyScop.java: -------------------------------------------------------------------------------- 1 | package demo; 2 | 3 | import org.biojava.bio.structure.scop.BerkeleyScopInstallation; 4 | import org.biojava.bio.structure.scop.ScopDatabase; 5 | import org.biojava.bio.structure.scop.ScopFactory; 6 | 7 | /** A demo for how to use the Berkeley version of SCOP instead of the default UK-SCOP 8 | * 9 | * @author andreas 10 | * @since 3.0.4 11 | * 12 | */ 13 | public class DemoBerkeleyScop { 14 | public static void main(String[]args){ 15 | 16 | 17 | ScopDatabase berkeley = new BerkeleyScopInstallation(); 18 | 19 | ScopFactory.setScopDatabase(berkeley); 20 | 21 | // whenever you want to get access to SCOP now request it like this: 22 | ScopDatabase scop = ScopFactory.getSCOP(); 23 | // ... and do something with it 24 | 25 | 26 | // eg. you can run all the demos that work for the UK - SCOP (currently at version 1.75) 27 | // this demo no automatically picks up the Berkeley version (currently 1.75A) 28 | DemoSCOP scopDemo = new DemoSCOP(); 29 | 30 | scopDemo.getCategories(); 31 | scopDemo.printDomainsForPDB(); 32 | scopDemo.traverseHierarchy(); 33 | scopDemo.alignSuperfamily(); 34 | 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/BondType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this template, choose Tools | Templates 3 | * and open the template in the editor. 4 | */ 5 | 6 | package org.biojava.bio.structure; 7 | 8 | /** 9 | * Work in progress - NOT final! 10 | * @author Jules Jacobsen 11 | */ 12 | public enum BondType { 13 | UNDEFINED, COVALENT, IONIC, HBOND, VANDERWAALS, HYDROPHOBIC, METAL, PLANAR, ATOM_PLANE; 14 | } 15 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/GroupType.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | /** contains only the static declaration of which types of Groups are available 4 | * 5 | * @author Andreas Prlic 6 | * @since 1.7 7 | * 8 | */ 9 | public class GroupType { 10 | 11 | /** the type for amino acids 12 | * 13 | */ 14 | public static final String AMINOACID = "amino"; 15 | 16 | /** the type for hetero groups 17 | * 18 | */ 19 | public static final String HETATM = "hetatm"; 20 | 21 | /** the type for nucelotide groups 22 | * 23 | */ 24 | public static final String NUCLEOTIDE = "nucleotide"; 25 | } 26 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/PDBRecord.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | /** An interface implemented by all classes that represent PDB records 4 | * 5 | * @author Andreas Prlic 6 | * @since 1.6 7 | */ 8 | public interface PDBRecord { 9 | 10 | /** Returns a PDB file like representation of this record. 11 | * 12 | * @return a String providing a PDB file like representation of the record. 13 | */ 14 | public String toPDB(); 15 | 16 | 17 | /** Appends a PDB file like representation of this record to the provided StringBuffer. 18 | * 19 | */ 20 | public void toPDB(StringBuffer buf); 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/ce/CeCPUserArgumentProcessor.java: -------------------------------------------------------------------------------- 1 | /** 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on Apr 24, 2012 21 | * Created by Andreas Prlic 22 | * 23 | * @since 3.0.2 24 | */ 25 | package org.biojava.bio.structure.align.ce; 26 | 27 | import org.biojava.bio.structure.align.StructureAlignment; 28 | 29 | public class CeCPUserArgumentProcessor extends CeUserArgumentProcessor { 30 | public StructureAlignment getAlgorithm() { 31 | return new CeCPMain(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/ce/CeSideChainUserArgumentProcessor.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.ce; 2 | 3 | import org.biojava.bio.structure.align.StructureAlignment; 4 | 5 | public class CeSideChainUserArgumentProcessor extends AbstractUserArgumentProcessor { 6 | 7 | public StructureAlignment getAlgorithm() { 8 | return new CeSideChainMain(); 9 | } 10 | 11 | 12 | @Override 13 | public Object getParameters() { 14 | 15 | CeParameters params = new CeParameters(); 16 | 17 | params.setScoringStrategy(CeParameters.SIDE_CHAIN_SCORING); 18 | //params.setMaxGapSize(0); 19 | return params; 20 | } 21 | 22 | 23 | public String getDbSearchLegend(){ 24 | String legend = "# name1\tname2\tscore\tz-score\trmsd\tlen1\tlen2\tsim1\tsim2\t " ; 25 | return legend; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/ce/ConfigStrucAligParams.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.ce; 2 | 3 | 4 | import java.util.List; 5 | 6 | public interface ConfigStrucAligParams { 7 | 8 | 9 | /** get the list of parameters that the user can change through the user interface. 10 | * Parameter names are the same names as the corresponding Get/Set methods. 11 | * 12 | * @return list of parameters 13 | */ 14 | public List getUserConfigParameters(); 15 | 16 | /** The labels to be displayed to the user for each parameter 17 | * 18 | * @return list of parameter names 19 | */ 20 | public List getUserConfigParameterNames(); 21 | 22 | /** Get the data types of the parameters 23 | * 24 | * @return list of parameter classes 25 | */ 26 | @SuppressWarnings("rawtypes") 27 | public List getUserConfigTypes(); 28 | 29 | 30 | /** The help text for each of these parameters. 31 | * 32 | * @return help strings 33 | */ 34 | public List getUserConfigHelp(); 35 | 36 | 37 | /** Set the parameters to the default. 38 | * 39 | */ 40 | public void reset(); 41 | } 42 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/ce/MatrixListener.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.ce; 2 | 3 | 4 | 5 | public interface MatrixListener { 6 | 7 | public double[][] matrixInOptimizer(double[][] max); 8 | 9 | public boolean[][] initializeBreakFlag(boolean[][] brkFlag); 10 | } 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/ce/UserArgumentProcessor.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.ce; 2 | 3 | public interface UserArgumentProcessor { 4 | 5 | 6 | /** Process user arguments that have been provided from the command line 7 | * 8 | * @param argv 9 | */ 10 | public void process(String[] argv); 11 | } 12 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/ce/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Classes related to the implementation of the CE alignment algorithm, here called jCE. 7 | 8 | CE reference: 9 |
10 | Shindyalov IN, Bourne PE (1998)
11 | Protein structure alignment by incremental combinatorial extension (CE) of the optimal path.
12 | Protein Eng 11: 739-747  
13 |   
14 | 15 | see also: 16 |
17 |   Andreas Prlic; Spencer Bliven; Peter W. Rose; Wolfgang F. Bluhm; Chris Bizon; Adam Godzik; Philip E. Bourne (2010)
18 | Pre-calculated protein structure alignments at the RCSB PDB website
19 | Bioinformatics 26: 2983-2985
20 | 
21 | 22 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/client/JobKillException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on Sep 16, 2009 21 | * Author: Andreas Prlic 22 | * 23 | */ 24 | 25 | package org.biojava.bio.structure.align.client; 26 | 27 | public class JobKillException extends Exception { 28 | 29 | /** 30 | * 31 | */ 32 | private static final long serialVersionUID = 1L; 33 | 34 | public JobKillException(String message){ 35 | super(message); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/client/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | This package deals with the server communication for auto-downloading pre-calculated alignments. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/events/AlignmentProgressListener.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.events; 2 | 3 | public interface AlignmentProgressListener { 4 | 5 | public void alignmentStarted(String name1, String name2); 6 | 7 | public void alignmentEnded(); 8 | 9 | public void logStatus(String message); 10 | 11 | public void downloadingStructures(String name); 12 | 13 | public void requestingAlignmentsFromServer(int nrAlignments); 14 | 15 | public void sentResultsToServer(int nrAlignments,String serverMessage); 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/fatcat/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Classes related to the implementation of the FATCAT alignment algorithm, here called jFATCAT. 9 | 10 | FATCAT reference: 11 |
12 |  Yuzhen Ye & Adam Godzik (2003)
13 | Flexible structure alignment by chaining aligned fragment pairs allowing twists.  
14 | Bioinformatics vol.19 suppl. 2. ii246-ii255. 
15 |   
16 | 17 | see also: 18 |
19 |   Andreas Prlic; Spencer Bliven; Peter W. Rose; Wolfgang F. Bluhm; Chris Bizon; Adam Godzik; Philip E. Bourne (2010)
20 | Pre-calculated protein structure alignments at the RCSB PDB website
21 | Bioinformatics 26: 2983-2985
22 | 
23 | 24 | 25 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/helper/IdxComparator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * PDB web development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * 15 | * Created on May 23, 2009 16 | * Created by Andreas Prlic 17 | * 18 | */ 19 | 20 | package org.biojava.bio.structure.align.helper; 21 | 22 | import java.util.Comparator; 23 | 24 | public class IdxComparator implements Comparator 25 | { 26 | 27 | public int compare(int[] o1, int[] o2) 28 | { 29 | if (((o1[0]) == (o2[0])) && 30 | ((o2[1]) == (o2[1]))) 31 | return 0; 32 | if ( o1[0] < o2[0]) 33 | return -1; 34 | 35 | return 1; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/helper/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Helper classes for structural alignment. 9 | 10 | 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Classes for the alignment of structures. This is the unpublished legacy implementation from the time, 9 | before BioJava supported CE and FATCAT alignments. 10 | 11 | See the StructurePairAligner for an example. 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/pairwise/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Classes for the pairwise alignment of structures. 9 | 10 | 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/seq/SmithWatermanUserArgumentProcessor.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.seq; 2 | 3 | 4 | import org.biojava.bio.structure.align.StructureAlignment; 5 | import org.biojava.bio.structure.align.ce.AbstractUserArgumentProcessor; 6 | 7 | 8 | 9 | public class SmithWatermanUserArgumentProcessor extends AbstractUserArgumentProcessor{ 10 | 11 | 12 | 13 | 14 | public StructureAlignment getAlgorithm() { 15 | return new SmithWaterman3Daligner(); 16 | } 17 | 18 | 19 | 20 | @Override 21 | public Object getParameters() { 22 | StructureAlignment alignment = getAlgorithm(); 23 | 24 | SmithWaterman3DParameters p = (SmithWaterman3DParameters) alignment.getParameters(); 25 | 26 | if ( p == null) 27 | p = new SmithWaterman3DParameters(); 28 | 29 | 30 | return p; 31 | } 32 | 33 | public String getDbSearchLegend(){ 34 | String legend = "# name1\tname2\tscore\tz-score\trmsd\tlen1\tlen2\tsim1\tsim2\t " ; 35 | return legend; 36 | } 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/util/CacheFactory.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.util; 2 | 3 | import org.biojava3.core.util.SoftHashMap; 4 | 5 | 6 | /** provides a SoftHashMap singleton. 7 | * 8 | * 9 | * @Deprecated find better ways for caching or use a SoftHashMap directly 10 | */ 11 | 12 | public class CacheFactory { 13 | 14 | @SuppressWarnings("rawtypes") 15 | private static SoftHashMap cache = new SoftHashMap (); 16 | 17 | // no public constructor; 18 | private CacheFactory(){ 19 | 20 | } 21 | 22 | @SuppressWarnings("rawtypes") 23 | public static SoftHashMap getCache(){ 24 | return cache; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/util/CollectionTools.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.util; 2 | 3 | import java.util.*; 4 | 5 | /** 6 | * Utilities for working with collections. 7 | * 8 | * @author Thomas Down 9 | */ 10 | public class CollectionTools { 11 | public static int[] toIntArray(Collection l) { 12 | int[] a = new int[l.size()]; 13 | int i = 0; 14 | for (Iterator j = l.iterator(); j.hasNext(); ) { 15 | a[i++] = ( j.next()).intValue(); 16 | } 17 | return a; 18 | } 19 | 20 | public static double[] toDoubleArray(Collection l) { 21 | double[] a = new double[l.size()]; 22 | int i = 0; 23 | for (Iterator j = l.iterator(); j.hasNext(); ) { 24 | a[i++] = ((Number) j.next()).doubleValue(); 25 | } 26 | return a; 27 | } 28 | 29 | public static Object randomPick(Collection col) { 30 | Object[] objs = col.toArray(new Object[col.size()]); 31 | return objs[(int) Math.floor(Math.random() * objs.length)]; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/util/ConfigurationException.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.align.util; 2 | 3 | 4 | public class ConfigurationException extends Exception { 5 | 6 | /** 7 | * 8 | */ 9 | private static final long serialVersionUID = -8047100079715000276L; 10 | 11 | /** 12 | * Constructs a ConfigurationException object. 13 | * 14 | * @param s a String ... 15 | */ 16 | public ConfigurationException(String s) { 17 | super(s); 18 | } 19 | 20 | /** 21 | * Constructs a ConfigurationException object. 22 | * 23 | * @param t a Throwable object 24 | */ 25 | public ConfigurationException (Throwable t) { 26 | super(t); 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/align/xml/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Serialization and deserialization for structure alignment results (as AFPChain object) to XML. 7 | 8 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/DomainProvider.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain; 2 | 3 | import java.util.SortedSet; 4 | 5 | public interface DomainProvider { 6 | 7 | public SortedSet getDomainNames(String name); 8 | 9 | public SortedSet getRepresentativeDomains(); 10 | } 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/DomainProviderFactory.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain; 2 | 3 | 4 | /** A simple factory object that returns the system wide default DomainProvider 5 | * 6 | * @author andreas 7 | * 8 | */ 9 | public class DomainProviderFactory { 10 | 11 | private DomainProviderFactory(){ 12 | 13 | } 14 | 15 | static DomainProvider domainProvider ; 16 | 17 | 18 | 19 | public static void setDomainProvider(DomainProvider provider){ 20 | domainProvider = provider; 21 | 22 | } 23 | 24 | public static DomainProvider getDomainProvider(){ 25 | if ( domainProvider == null) 26 | domainProvider = new RemoteDomainProvider(true); 27 | 28 | return domainProvider; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/PDPProvider.java: -------------------------------------------------------------------------------- 1 | /** 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on May 1, 2012 21 | * Created by Andreas Prlic 22 | * 23 | * @since 3.0.2 24 | */ 25 | package org.biojava.bio.structure.domain; 26 | 27 | import java.util.SortedSet; 28 | 29 | import org.biojava.bio.structure.Structure; 30 | import org.biojava.bio.structure.align.util.AtomCache; 31 | 32 | public interface PDPProvider { 33 | 34 | public SortedSet getPDPDomainNamesForPDB(String pdbId); 35 | public Structure getDomain(String pdbDomainName, AtomCache cache); 36 | 37 | } 38 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/pdp/CutSites.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain.pdp; 2 | 3 | import java.util.Arrays; 4 | 5 | 6 | public class CutSites { 7 | int ncuts; 8 | int[] cut_sites; 9 | 10 | public CutSites(){ 11 | ncuts = 0; 12 | 13 | cut_sites = new int[PDPParameters.MAX_CUTS]; 14 | } 15 | 16 | @Override 17 | public String toString() { 18 | return "CutSites [ncuts=" + ncuts + ", cut_sites=" 19 | + Arrays.toString(cut_sites) + "]"; 20 | } 21 | public int getNcuts() { 22 | return ncuts; 23 | } 24 | public void setNcuts(int ncuts) { 25 | this.ncuts = ncuts; 26 | } 27 | public int[] getCut_sites() { 28 | return cut_sites; 29 | } 30 | public void setCut_sites(int[] cut_sites) { 31 | this.cut_sites = cut_sites; 32 | } 33 | 34 | 35 | 36 | } 37 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/pdp/CutValues.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain.pdp; 2 | 3 | 4 | 5 | public class CutValues { 6 | public double s_min; 7 | public int site2; 8 | public boolean first_cut; 9 | 10 | public double AD; 11 | 12 | public CutValues(){ 13 | s_min = 100; 14 | site2 = 0; 15 | first_cut = true; 16 | } 17 | 18 | @Override 19 | public String toString() { 20 | return "CutValues [s_min=" + s_min + ", site2=" + site2 + 21 | ", AD=" + AD 22 | + "]"; 23 | } 24 | 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/pdp/PDPDistanceMatrix.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain.pdp; 2 | 3 | public class PDPDistanceMatrix { 4 | int[][] dist; 5 | int nclose; 6 | int[] iclose ; 7 | int[] jclose ; 8 | 9 | public PDPDistanceMatrix(){ 10 | 11 | } 12 | 13 | public int[][] getDist() { 14 | return dist; 15 | } 16 | 17 | public void setDist(int[][] dist) { 18 | this.dist = dist; 19 | } 20 | 21 | public int getNclose() { 22 | return nclose; 23 | } 24 | 25 | public void setNclose(int nclose) { 26 | this.nclose = nclose; 27 | } 28 | 29 | public int[] getIclose() { 30 | return iclose; 31 | } 32 | 33 | public void setIclose(int[] iclose) { 34 | this.iclose = iclose; 35 | } 36 | 37 | public int[] getJclose() { 38 | return jclose; 39 | } 40 | 41 | public void setJclose(int[] jclose) { 42 | this.jclose = jclose; 43 | } 44 | 45 | 46 | 47 | 48 | } 49 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/pdp/PDPParameters.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain.pdp; 2 | 3 | public class PDPParameters { 4 | public static final int MAXLEN = 3200; 5 | public static final int MAXDOM = 30; 6 | public static final int MAX_CUTS = 80; 7 | public static final int MAXSIZE = 350; 8 | public static final int MIN_DOMAIN_LENGTH = 35; 9 | public static final int ENDS = 12 ; 10 | public static final int ENDSEND = 9; 11 | public static final float RG1 = 1.0f; 12 | public static final float RG = 0.0f; 13 | public static final float TD1 = 40.f; 14 | public static final float TD = 25.f; 15 | public static final float DBL = .05f; 16 | public static final int MAXCONT = 900; 17 | 18 | public static final float CUT_OFF_VALUE=.50f; /* decide to cut */ 19 | public static final float CUT_OFF_VALUE1=.29f; /* decide to combine */ 20 | public static final float CUT_OFF_VALUE2=.44f; /* decide to double cut */ 21 | public static final float CUT_OFF_VALUE1S=.19f; /* decide to combine small domains */ 22 | public static final float CUT_OFF_VALUE1M=.21f; /* decide to combine medium domains */ 23 | 24 | 25 | } 26 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/pdp/SegmentComparator.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain.pdp; 2 | 3 | import java.util.Comparator; 4 | 5 | public class SegmentComparator implements Comparator { 6 | 7 | public int compare(Segment v1, Segment v2) { 8 | 9 | return v1.compareTo(v2); 10 | } 11 | } 12 | 13 | 14 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/domain/pdp/ShortSegmentRemover.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.domain.pdp; 2 | 3 | import java.util.List; 4 | 5 | 6 | public class ShortSegmentRemover { 7 | 8 | public static void cleanup(List domains) { 9 | 10 | int ndom = domains.size(); 11 | 12 | for(int j=0;j=30) allshort = false; 20 | n+=seglen; 21 | } 22 | 23 | if(n 2 | 3 | 4 | 5 | 6 | 7 | 8 | Datamodel objects used for processing mmcif files. This are beans that can represent the data from a category in mmcif. 9 | 10 | 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/io/mmcif/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Input and Output of mmcif files 9 | 10 | 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/io/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Input and Output of Structures 9 | 10 | 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/jama/Maths.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.jama; 2 | 3 | public class Maths { 4 | 5 | /** sqrt(a^2 + b^2) without under/overflow. 6 | * @param a a double 7 | * @param b a double 8 | * @return a double 9 | * */ 10 | 11 | public static double hypot(double a, double b) { 12 | double r; 13 | if (Math.abs(a) > Math.abs(b)) { 14 | r = b/a; 15 | r = Math.abs(a)*Math.sqrt(1+r*r); 16 | } else if (b != 0) { 17 | r = a/b; 18 | r = Math.abs(b)*Math.sqrt(1+r*r); 19 | } else { 20 | r = 0.0; 21 | } 22 | return r; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/jama/README.txt: -------------------------------------------------------------------------------- 1 | all files in this directory have been downloaded from 2 | the Jama web site at: 3 | http://math.nist.gov/javanumerics/jama/ 4 | on Dec. 2nd, 2005. 5 | 6 | they correspond to version 1.0.2 of the Jama package 7 | 8 | This code is under public domain and should therefore be 9 | o.k for inclusion into the biojava code. 10 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/jama/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Matrix package for from JAMA 9 | 10 | 11 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/scop/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Parsers and API for SCOP, Structural Classification of Proteins. 7 | See DemoSCOP.java for an example. 8 | 9 | 10 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/secstruc/BridgeType.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.secstruc; 2 | 3 | import java.io.Serializable; 4 | 5 | public enum BridgeType implements Serializable{ 6 | 7 | parallel("parallel",'p'), 8 | antiparallel("antiparallel",'a'); 9 | 10 | public final Character type; 11 | public final String name; 12 | 13 | 14 | private BridgeType(String name,Character stype){ 15 | this.name = name; 16 | this.type = stype; 17 | } 18 | 19 | public static BridgeType fromCharacter(Character stype){ 20 | 21 | for ( BridgeType c : BridgeType.values()){ 22 | if ( c.type.equals(stype)){ 23 | return c; 24 | } 25 | } 26 | 27 | return null; 28 | 29 | } 30 | 31 | public String toString(){ 32 | return type.toString(); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/secstruc/DistEn.java: -------------------------------------------------------------------------------- 1 | /* 2 | * PDB web development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * 15 | * Created on Aug 5, 2009 16 | * Created by ap3 17 | * 18 | */ 19 | 20 | package org.biojava.bio.structure.secstruc; 21 | 22 | public class DistEn 23 | { 24 | double distance; 25 | double energy; 26 | 27 | public double getDistance() 28 | { 29 | return distance; 30 | } 31 | public void setDistance(double distance) 32 | { 33 | this.distance = distance; 34 | } 35 | public double getEnergy() 36 | { 37 | return energy; 38 | } 39 | public void setEnergy(double energy) 40 | { 41 | this.energy = energy; 42 | } 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/secstruc/SecStrucType.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure.secstruc; 2 | 3 | import java.io.Serializable; 4 | 5 | public enum SecStrucType implements Serializable{ 6 | 7 | coil("Coil",' '), 8 | helix4("alpha Helix",'H'), 9 | helix3("3-10 Helix",'G'), 10 | helix5("pi helix",'I'), 11 | turn("Turn",'T'), 12 | bend("Bend",'S'), 13 | extended("Extended",'E'), 14 | bridge("Bridge",'B'); 15 | ; 16 | 17 | public final Character type; 18 | public final String name; 19 | 20 | 21 | private SecStrucType(String name,Character stype){ 22 | this.name = name; 23 | this.type = stype; 24 | } 25 | 26 | public static SecStrucType fromCharacter(Character stype){ 27 | 28 | for ( SecStrucType c : SecStrucType.values()){ 29 | if ( c.type.equals(stype)){ 30 | return c; 31 | } 32 | } 33 | 34 | return null; 35 | 36 | } 37 | 38 | public String toString(){ 39 | return type.toString(); 40 | } 41 | 42 | public boolean isHelixType() { 43 | if ( type.equals(helix4.type) || type.equals(helix3.type) || type.equals(helix5.type)) 44 | return true; 45 | return false; 46 | } 47 | 48 | 49 | } 50 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/server/PDBFilter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * created at Sep 7, 2007 21 | */ 22 | package org.biojava.bio.structure.server; 23 | 24 | import org.biojava.bio.structure.PDBHeader; 25 | 26 | /** defines how a filter of PDB files has to behave 27 | * 28 | * @author Andreas Prlic 29 | * 30 | */ 31 | public interface PDBFilter { 32 | 33 | /** return true if this PDBHeader is passing this filter. 34 | * 35 | * @param header 36 | * @return flag if this PDBHeader is accepted by this filter 37 | */ 38 | public boolean accept(PDBHeader header); 39 | } 40 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/server/StructureEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * created at Sep 7, 2007 21 | */ 22 | package org.biojava.bio.structure.server; 23 | 24 | import org.biojava.bio.structure.Structure; 25 | 26 | public interface StructureEvent { 27 | 28 | public Structure getStructure(); 29 | public String getPDBCode(); 30 | public void setPDBCode(String pdbCode); 31 | 32 | } 33 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/server/StructureListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * created at Sep 7, 2007 21 | */ 22 | package org.biojava.bio.structure.server; 23 | 24 | public interface StructureListener { 25 | 26 | public void newStructure(StructureEvent event); 27 | 28 | public void modifiedStructure(StructureEvent event); 29 | 30 | public void obsoleteStructure(StructureEvent event); 31 | } 32 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/java/org/biojava/bio/structure/server/package.html: -------------------------------------------------------------------------------- 1 | 2 |

3 | classes for easier management of PDB installations 4 | 5 | As of BioJava 3.0.2 this package is deprecated. Please use AtomCache instead. 6 | 7 |

8 | 9 | 10 | -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/about.properties: -------------------------------------------------------------------------------- 1 | project_version=${project.version} 2 | build=${timestamp} -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/2EP.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/2EP.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/2MD.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/2MD.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/6MO.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/6MO.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/A.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/A.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ACY.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ACY.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ALA.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ALA.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ANS.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ANS.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ARG.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ARG.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ASN.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ASN.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ASP.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ASP.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/C.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/C.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/CA.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/CA.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/CMP.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/CMP.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/CSE.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/CSE.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/CYS.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/CYS.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DA.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DA.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DAR.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DAR.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DC.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DC.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DG.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DG.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DI.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DI.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DOD.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DOD.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/DT.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/DT.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/G.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/G.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/GLN.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/GLN.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/GLU.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/GLU.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/GLY.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/GLY.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/GOL.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/GOL.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/HIS.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/HIS.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/HOH.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/HOH.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/I.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/I.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ILE.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ILE.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/KTH.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/KTH.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/LEU.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/LEU.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/LYS.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/LYS.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/MAL.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/MAL.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/MET.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/MET.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/MG.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/MG.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/MGD.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/MGD.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/MO.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/MO.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/MSE.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/MSE.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/NA.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/NA.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/PHE.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/PHE.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/PO4.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/PO4.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/PRO.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/PRO.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/SEC.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/SEC.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/SER.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/SER.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/SF4.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/SF4.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/SO4.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/SO4.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/THR.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/THR.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/TRP.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/TRP.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/TYR.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/TYR.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/TYS.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/TYS.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/U.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/U.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/UNX.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/UNX.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/VAL.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/VAL.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/chemcomp/ZN.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/main/resources/chemcomp/ZN.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/main/resources/jfatcat.properties: -------------------------------------------------------------------------------- 1 | jfatcat.version=1.2 2 | jfatcat.name=JFATCAT 3 | server.url=http://www.rcsb.org/pdb/rest/ 4 | connection.timeout=60000 5 | connection.pair.delay=3000 6 | request.pair.size=400 -------------------------------------------------------------------------------- /biojava3-structure/src/test/java/org/biojava/bio/structure/StructureIOTest.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | import junit.framework.TestCase; 4 | 5 | import org.biojava3.structure.StructureIO; 6 | 7 | public class StructureIOTest extends TestCase { 8 | public void testStructureIO(){ 9 | 10 | String pdbId = "1gav"; 11 | 12 | int nrAssembls = StructureIO.getNrBiologicalAssemblies(pdbId); 13 | assertEquals(1,nrAssembls); 14 | 15 | pdbId = "1hv4"; 16 | nrAssembls = StructureIO.getNrBiologicalAssemblies(pdbId); 17 | assertEquals(2,nrAssembls); 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/java/org/biojava/bio/structure/TestDownloadChemCompProvider.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | import org.biojava.bio.structure.io.mmcif.DownloadChemCompProvider; 4 | import org.biojava.bio.structure.io.mmcif.model.ChemComp; 5 | 6 | import junit.framework.TestCase; 7 | 8 | public class TestDownloadChemCompProvider extends TestCase{ 9 | 10 | public void testProtectedIDs(){ 11 | 12 | String id = "CON"; 13 | 14 | DownloadChemCompProvider prov = new DownloadChemCompProvider(); 15 | ChemComp cc = prov.getChemComp(id); 16 | assertNotNull(cc); 17 | 18 | assertEquals(cc.getId(), id); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/java/org/biojava/bio/structure/TestLoadStructureFromURL.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.net.URL; 6 | 7 | import org.biojava.bio.structure.align.util.AtomCache; 8 | 9 | import junit.framework.TestCase; 10 | 11 | 12 | public class TestLoadStructureFromURL extends TestCase{ 13 | 14 | private static final String FILE_SEPARATOR = System.getProperty("file.separator"); 15 | public void testLoadStructureFromURL() throws IOException, StructureException{ 16 | AtomCache cache = new AtomCache(); 17 | String path = cache.getPath(); 18 | 19 | path += "SUB DIR" + FILE_SEPARATOR; 20 | 21 | File f = new File(path); 22 | if ( ! f.exists()) { 23 | System.out.println("making dir with space:" + f); 24 | f.mkdir(); 25 | } 26 | AtomCache c = new AtomCache(path, true); 27 | // fetch a random small structure 28 | 29 | c.getStructure("1znf"); 30 | 31 | //and now create a URL for this file 32 | 33 | File newFile = new File(path+FILE_SEPARATOR+"zn"+ FILE_SEPARATOR + "pdb1znf.ent.gz"); 34 | 35 | URL u = newFile.toURI().toURL(); 36 | 37 | System.out.println(u); 38 | 39 | Structure s = c.getStructure(u.toString()+"?args=test"); 40 | 41 | System.out.println(s); 42 | 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/java/org/biojava/bio/structure/TestVeryLongFileName.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | import junit.framework.TestCase; 4 | 5 | 6 | public class TestVeryLongFileName extends TestCase{ 7 | 8 | 9 | public void testVeryLongFilename(){ 10 | 11 | try { 12 | PDBHeader header = new PDBHeader(); 13 | 14 | header.setTitle("IAMAVERYLONGTITLEWITHOUTANYSPACECHARACTERSJUSTTOMAKESUREWECANTESTWHATISGOINGTOHAPPENIFWETRYTOWRITETHISTOAPDBFILE."); 15 | 16 | header.toPDB(); 17 | 18 | String title2 = "jCE V.1.1 : file:/Users/ap3/tmp/mareike/IAMAVERYLONGTITLEWITHOUTANYSPACECHARACTERSJUSTTOMAKESUREWECANTESTWHATISGOINGTOHAPPENIFWETRYTOWRITETHISTOAPDBFILE/pdb1_chainG.pdb vs. file:/Users/ap3/tmp/mareike/IAMAVERYLONGTITLEWITHOUTANYSPACECHARACTERSJUSTTOMAKESUREWECANTESTWHATISGOINGTOHAPPENIFWETRYTOWRITETHISTOAPDBFILE/pdb2_chainB.pdb "; 19 | header.setTitle(title2); 20 | header.toPDB(); 21 | } catch(Exception e){ 22 | e.printStackTrace(); 23 | fail(e.getMessage()); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/4hhb.cif.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/test/resources/4hhb.cif.gz -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/4hhb.pdb.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sbliven/biojava/e43e59a2866f5a7bd22b439736df0972db1bfb75/biojava3-structure/src/test/resources/4hhb.pdb.gz -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/db_search.pairs: -------------------------------------------------------------------------------- 1 | 4hhb.C 4hhb.D 2 | 4hhb:0 4hhb:1 3 | 1hiv.A 1a4w.H 4 | 1RLW 1BYN 5 | 2sim 1nsb 6 | 1CEW 1mol 7 | 1TEN 3HHR 8 | 4hhb:(A:10-40,B:10-40) 4hhb:(C:10-40,D:10-40) 9 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/describeMol/1w0p.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/describeMol/almost_empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/describeMol/diff_ecs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/describeMol/empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /biojava3-structure/src/test/resources/describeMol/same_ecs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /biojava3-ws/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | 4 | biojava 5 | org.biojava 6 | 3.0.6-SNAPSHOT 7 | 8 | biojava3-ws 9 | biojava3-ws 10 | This module deals with bioinformatics web services that could be used to process Biojava objects in a useful manner. 11 | 12 | 13 | org.biojava 14 | biojava3-core 15 | 3.0.6-SNAPSHOT 16 | compile 17 | 18 | 19 | junit 20 | junit 21 | test 22 | 23 | 24 | net.sf.json-lib 25 | json-lib 26 | 2.3 27 | jdk15 28 | 29 | 30 | -------------------------------------------------------------------------------- /biojava3-ws/src/main/java/org/biojava3/ws/alignment/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |

This package contains the interfaces that need to be implemented by discrete alignment services. 9 | The development philosophy is to separate actual submission of alignment requests from getting the 10 | corresponding results in any format supported by the service.

11 | 12 | 13 | -------------------------------------------------------------------------------- /biojava3-ws/src/main/java/org/biojava3/ws/alignment/qblast/BlastMatrixEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on 2011-12-25 21 | * 22 | */ 23 | 24 | package org.biojava3.ws.alignment.qblast; 25 | 26 | /** 27 | * Enum representing matrices supported by QBlast 28 | * 29 | * @author Gediminas Rimsa 30 | */ 31 | public enum BlastMatrixEnum { 32 | 33 | BLOSUM45, 34 | BLOSUM50, 35 | BLOSUM62, 36 | BLOSUM80, 37 | BLOSUM90, 38 | PAM250, 39 | PAM30, 40 | PAM70 41 | 42 | } 43 | -------------------------------------------------------------------------------- /biojava3-ws/src/main/java/org/biojava3/ws/alignment/qblast/BlastOutputAlignmentFormatEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on 2011-11-20 21 | * 22 | */ 23 | 24 | package org.biojava3.ws.alignment.qblast; 25 | 26 | /** 27 | * Enum representing available output alignment types. 28 | *

29 | * Values as used in QBlast URL API. 30 | * 31 | * @author Gediminas Rimsa 32 | */ 33 | public enum BlastOutputAlignmentFormatEnum { 34 | 35 | Pairwise, 36 | QueryAnchored, 37 | QueryAnchoredNoIdentities, 38 | FlatQueryAnchored, 39 | FlatQueryAnchoredNoIdentities, 40 | Tabular 41 | 42 | } 43 | -------------------------------------------------------------------------------- /biojava3-ws/src/main/java/org/biojava3/ws/alignment/qblast/BlastOutputFormatEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on 2011-11-20 21 | * 22 | */ 23 | 24 | package org.biojava3.ws.alignment.qblast; 25 | 26 | /** 27 | * Enum representing available output formats. 28 | *

29 | * Values are as used by QBlast URL API. 30 | * 31 | * @author Gediminas Rimsa 32 | */ 33 | public enum BlastOutputFormatEnum { 34 | 35 | Text, 36 | XML, 37 | HTML 38 | 39 | } 40 | -------------------------------------------------------------------------------- /biojava3-ws/src/main/java/org/biojava3/ws/alignment/qblast/BlastProgramEnum.java: -------------------------------------------------------------------------------- 1 | /* 2 | * BioJava development code 3 | * 4 | * This code may be freely distributed and modified under the 5 | * terms of the GNU Lesser General Public Licence. This should 6 | * be distributed with the code. If you do not have a copy, 7 | * see: 8 | * 9 | * http://www.gnu.org/copyleft/lesser.html 10 | * 11 | * Copyright for this code is held jointly by the individual 12 | * authors. These should be listed in @author doc comments. 13 | * 14 | * For more information on the BioJava project and its aims, 15 | * or to join the biojava-l mailing list, visit the home page 16 | * at: 17 | * 18 | * http://www.biojava.org/ 19 | * 20 | * Created on 2011-11-20 21 | * 22 | */ 23 | 24 | package org.biojava3.ws.alignment.qblast; 25 | 26 | /** 27 | * Enum representing available blast programs. 28 | *

29 | * Values are as used by QBlast URL API. 30 | * 31 | * @author Gediminas Rimsa 32 | */ 33 | public enum BlastProgramEnum { 34 | 35 | blastn, 36 | blastp, 37 | blastx, 38 | megablast, 39 | tblastn, 40 | tblastx 41 | 42 | } -------------------------------------------------------------------------------- /biojava3-ws/src/main/java/org/biojava3/ws/hmmer/HmmerScan.java: -------------------------------------------------------------------------------- 1 | package org.biojava3.ws.hmmer; 2 | 3 | import java.io.IOException; 4 | 5 | import java.util.SortedSet; 6 | 7 | import org.biojava3.core.sequence.ProteinSequence; 8 | 9 | /** Interface for performing Hmmscans on sequences. 10 | * 11 | * @author Andreas Prlic 12 | * @since 3.0.3 13 | */ 14 | public interface HmmerScan { 15 | 16 | public SortedSet scan(ProteinSequence sequence) throws IOException; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /ignore.txt: -------------------------------------------------------------------------------- 1 | target 2 | .settings 3 | .classpath 4 | .profile 5 | .project -------------------------------------------------------------------------------- /integrationtest/src/test/java/org/biojava/bio/structure/HeaderOnlyTest.java: -------------------------------------------------------------------------------- 1 | package org.biojava.bio.structure; 2 | 3 | public class HeaderOnlyTest extends MMcifTest { 4 | 5 | public HeaderOnlyTest(){ 6 | super(); 7 | setHeaderOnly(true); 8 | } 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /integrationtest/src/test/java/org/integrationtest/AppTest.java: -------------------------------------------------------------------------------- 1 | package org.integrationtest; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /protein-comparison-tool/src/main/assembly/db.out: -------------------------------------------------------------------------------- 1 | #Legend: 2 | # name1 name2 score z-score rmsd len1 len2 sim1 sim2 3 | 4hhb.C 4hhb.D 309.61 6.47 1.41 141 146 99 95 0.43 null 4 | 4hhb:0 4hhb:1 366.29 6.47 1.49 141 146 99 95 0.43 null 5 | 1cdg.A 1tim.B 512.44 5.04 4.66 686 247 24 67 0.09 null 6 | 1hiv.A 1a4w.H 229.12 2.58 4.14 100 249 69 28 0.10 null 7 | 1RLW 1BYN 134.17 5.86 2.01 126 128 83 81 0.22 null 8 | 2sim 1nsb 571.50 5.86 2.99 381 780 72 35 0.10 null 9 | 1CEW 1mol 127.71 3.70 3.05 108 188 74 43 0.04 null 10 | 1TEN 3HHR 133.27 4.58 1.87 89 573 98 15 0.18 null 11 | 4hhb:(A:10-40,B:10-40) 4hhb:(C:10-40,D:10-40) 170.65 5.33 0.27 62 62 100 100 1.00 null 12 | -------------------------------------------------------------------------------- /protein-comparison-tool/src/main/assembly/example.lst: -------------------------------------------------------------------------------- 1 | # an example input for a DB search 2 | 4hhb.C 4hhb.D 3 | 4hhb:0 4hhb:1 4 | 1cdg.A 1tim.B 5 | 1hiv.A 1a4w.H 6 | 1RLW 1BYN 7 | 2sim 1nsb 8 | 1CEW 1mol 9 | 1TEN 3HHR 10 | 4hhb:(A:10-40,B:10-40) 4hhb:(C:10-40,D:10-40) 11 | -------------------------------------------------------------------------------- /protein-comparison-tool/src/main/assembly/runFATCAT.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # examples: 4 | 5 | # bash runFATCAT.sh -pdb1 4hhb.A -pdb2 4hhb.B -pdbFilePath /tmp/ -autoFetch -show3d 6 | # bash runFATCAT.sh -pdb1 4hhb.A -pdb2 4hhb.B -pdbFilePath /tmp/ -printXML 7 | # bash runFATCAT.sh -pdb1 4hhb.A -pdb2 4hhb.B -pdbFilePath /tmp/ -printFatCat 8 | # 9 | # run a flexible alignment: 10 | # bash runFATCAT.sh -pdb1 4hhb.A -pdb2 4hhb.B -pdbFilePath /tmp/ -printFatCat -flexible 11 | # 12 | # for more examples see runCE.sh 13 | # jCE works almost exactly the same... 14 | 15 | # send the arguments to the java app 16 | args="$*" 17 | 18 | java -Xmx500M -cp "$PWD/jars/*" org.biojava.bio.structure.align.fatcat.FatCat $args -------------------------------------------------------------------------------- /protein-comparison-tool/src/main/assembly/startFarmJob.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # example: 4 | # startFarmJob.sh -pdbFilePath /Users/ap3/WORK/PDB -nrAlignments 10 5 | 6 | # send the arguments to the java app 7 | # allows to specify a different config file 8 | args="$*" 9 | 10 | if [ -f $OSG_APP/engage/jdk1.6.0_16/bin/java ]; then 11 | $OSG_APP/engage/jdk1.6.0_16/bin/java -Xmx1G -cp "$PWD/jars/*" org.biojava.bio.structure.align.FarmJob $args 12 | else 13 | if [ -f /osg/osg-app/engage/jdk1.6.0_03/bin/java ]; then 14 | /osg/osg-app/engage/jdk1.6.0_03/bin/java -Xmx1G -cp "$PWD/jars/*" org.biojava.bio.structure.align.FarmJob $args 15 | else 16 | which java 17 | java -version 18 | java -Xmx1G -cp "$PWD/jars/*" org.biojava.bio.structure.align.FarmJob $args 19 | fi 20 | fi 21 | 22 | exit $? -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- 1 | Welcome to BioJava v.3 2 | 3 | BioJava is an open-source project dedicated to providing a Java framework for processing biological data. Please visit our homepage: 4 | 5 | http://www.biojava.org/ --------------------------------------------------------------------------------