pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/biojava/biojava-tutorial/commit/ac806c269485b5911c3ece84c29b22f2f0340ed8

="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> Merge pull request #32 from lemora/fix/repair-broken-examples · biojava/biojava-tutorial@ac806c2 · GitHub
Skip to content

Commit ac806c2

Browse files
authored
Merge pull request #32 from lemora/fix/repair-broken-examples
Fix broken examples
2 parents 0eece0d + 59e8365 commit ac806c2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

alignment/smithwaterman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void main(String[] args) throws Exception {
3636
}
3737

3838
private static ProteinSequence getSequenceForId(String uniProtId) throws Exception {
39-
URL uniprotFasta = new URL(String.format("http://www.uniprot.org/uniprot/%s.fasta", uniProtId));
39+
URL uniprotFasta = new URL(String.format("https://www.uniprot.org/uniprot/%s.fasta", uniProtId));
4040
ProteinSequence seq = FastaReaderHelper.readFastaProteinSequence(uniprotFasta.openStream()).get(uniProtId);
4141
System.out.printf("id : %s %s%s%s", uniProtId, seq, System.getProperty("line.separator"), seq.getOriginalHeader());
4242
System.out.println();

core/readwrite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Here an example that parses a UniProt FASTA file into a protein sequence.
1313

1414
```java
1515
public static ProteinSequence getSequenceForId(String uniProtId) throws Exception {
16-
URL uniprotFasta = new URL(String.format("http://www.uniprot.org/uniprot/%s.fasta", uniProtId));
16+
URL uniprotFasta = new URL(String.format("https://www.uniprot.org/uniprot/%s.fasta", uniProtId));
1717
ProteinSequence seq = FastaReaderHelper.readFastaProteinSequence(uniprotFasta.openStream()).get(uniProtId);
1818
System.out.printf("id : %s %s%s%s", uniProtId, seq, System.getProperty("line.separator"), seq.getOriginalHeader());
1919
System.out.println();

core/translating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ An example for how to parse a sequence from a String and using the Translation e
6363

6464
// define the Ambiguity Compound Sets
6565
AmbiguityDNACompoundSet ambiguityDNACompoundSet = AmbiguityDNACompoundSet.getDNACompoundSet();
66-
CompoundSet<NucleotideCompound> nucleotideCompoundSet = AmbiguityRNACompoundSet.getDNACompoundSet();
66+
CompoundSet<NucleotideCompound> nucleotideCompoundSet = AmbiguityRNACompoundSet.getRNACompoundSet();
6767

6868
FastaReader<DNASequence, NucleotideCompound> proxy =
6969
new FastaReader<DNASequence, NucleotideCompound>(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy