Skip to content

Commit

Permalink
Merge pull request #451 from VerisimilitudeX/deepsource-transform-ae0…
Browse files Browse the repository at this point in the history
…db8dd

style: format code with Autopep8 and Google Java Format
  • Loading branch information
VerisimilitudeX authored Aug 16, 2024
2 parents dbb6b99 + cf5cb2d commit 0772823
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions src/main/java/DNAnalyzer/core/DNAAnalysis.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import DNAnalyzer.utils.core.ReadingFrames;
import DNAnalyzer.utils.protein.ProteinAnalysis;
import DNAnalyzer.utils.protein.ProteinFinder;

import java.io.IOException;
import java.io.PrintStream;
import java.util.List;
Expand Down Expand Up @@ -76,25 +75,24 @@ public DNAAnalysis reverseComplement() {
}

public void analyze23andMeData(String filePath) {
try {
Map<String, String> data23andMe = DNADataUploader.uploadFrom23andMe(filePath);
System.out.println("23andMe data loaded. Total SNPs: " + data23andMe.size());
// Perform further analysis with data23andMe
} catch (IOException e) {
e.printStackTrace();
}
try {
Map<String, String> data23andMe = DNADataUploader.uploadFrom23andMe(filePath);
System.out.println("23andMe data loaded. Total SNPs: " + data23andMe.size());
// Perform further analysis with data23andMe
} catch (IOException e) {
e.printStackTrace();
}
}

public void analyzeAncestryDNAData(String filePath) {
try {
Map<String, String> dataAncestryDNA = DNADataUploader.uploadFromAncestryDNA(filePath);
System.out.println("AncestryDNA data loaded. Total SNPs: " + dataAncestryDNA.size());
// Perform further analysis with dataAncestryDNA
} catch (IOException e) {
e.printStackTrace();
}
public void analyzeAncestryDNAData(String filePath) {
try {
Map<String, String> dataAncestryDNA = DNADataUploader.uploadFromAncestryDNA(filePath);
System.out.println("AncestryDNA data loaded. Total SNPs: " + dataAncestryDNA.size());
// Perform further analysis with dataAncestryDNA
} catch (IOException e) {
e.printStackTrace();
}

}

// Creates protein list
// Output the proteins, GC content, and nucleotide cnt found in the DNA
Expand Down

0 comments on commit 0772823

Please sign in to comment.