diff --git a/alignment/smithwaterman.md b/alignment/smithwaterman.md index 0f38bf6..5de8acf 100644 --- a/alignment/smithwaterman.md +++ b/alignment/smithwaterman.md @@ -36,7 +36,7 @@ public static void main(String[] args) throws Exception { } private static ProteinSequence getSequenceForId(String uniProtId) throws Exception { - URL uniprotFasta = new URL(String.format("http://www.uniprot.org/uniprot/%s.fasta", uniProtId)); + URL uniprotFasta = new URL(String.format("https://www.uniprot.org/uniprot/%s.fasta", uniProtId)); ProteinSequence seq = FastaReaderHelper.readFastaProteinSequence(uniprotFasta.openStream()).get(uniProtId); System.out.printf("id : %s %s%s%s", uniProtId, seq, System.getProperty("line.separator"), seq.getOriginalHeader()); System.out.println(); diff --git a/core/readwrite.md b/core/readwrite.md index 1ab278b..81898b0 100644 --- a/core/readwrite.md +++ b/core/readwrite.md @@ -13,7 +13,7 @@ Here an example that parses a UniProt FASTA file into a protein sequence. ```java public static ProteinSequence getSequenceForId(String uniProtId) throws Exception { - URL uniprotFasta = new URL(String.format("http://www.uniprot.org/uniprot/%s.fasta", uniProtId)); + URL uniprotFasta = new URL(String.format("https://www.uniprot.org/uniprot/%s.fasta", uniProtId)); ProteinSequence seq = FastaReaderHelper.readFastaProteinSequence(uniprotFasta.openStream()).get(uniProtId); System.out.printf("id : %s %s%s%s", uniProtId, seq, System.getProperty("line.separator"), seq.getOriginalHeader()); System.out.println(); diff --git a/core/translating.md b/core/translating.md index 9b83643..10b953a 100644 --- a/core/translating.md +++ b/core/translating.md @@ -63,7 +63,7 @@ An example for how to parse a sequence from a String and using the Translation e // define the Ambiguity Compound Sets AmbiguityDNACompoundSet ambiguityDNACompoundSet = AmbiguityDNACompoundSet.getDNACompoundSet(); - CompoundSet nucleotideCompoundSet = AmbiguityRNACompoundSet.getDNACompoundSet(); + CompoundSet nucleotideCompoundSet = AmbiguityRNACompoundSet.getRNACompoundSet(); FastaReader proxy = new FastaReader(