Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
AP11-218
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawP committed Jun 24, 2013
1 parent 2627f48 commit 1352845
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 7 deletions.
Binary file modified dist/codon_finder.jar
Binary file not shown.
Binary file modified dist/nucleotide_to_amino_acid.jar
Binary file not shown.
Binary file modified dist/protein_generator.jar
Binary file not shown.
Binary file modified dist/results_analyser.jar
Binary file not shown.
Binary file modified dist/samifier.jar
Binary file not shown.
Binary file modified dist/virtual_protein_merger.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/au/org/intersect/samifier/Version.java
Expand Up @@ -2,5 +2,5 @@

public interface Version {

String VERSION = "1.0.5";
String VERSION = "1.0.6";
}
Expand Up @@ -91,9 +91,7 @@ public List<ProteinLocation> generateLocations()
}
}
}




for (int i = 0; i < locations.size(); i++) {
locations.get(i).setName("q" + i);
}
Expand Down Expand Up @@ -134,7 +132,6 @@ public List<ProteinLocation> doGenerateLocations()
for (PeptideSearchResult peptideSearchResult : peptideSearchResults) {
GeneInfo geneInfo = genome.getGene(peptideSearchResult
.getProteinName());

if (geneInfo == null) {
System.err.println(peptideSearchResult.getProteinName()
+ " not found in the genome");
Expand Down Expand Up @@ -186,9 +183,9 @@ private int getStartPosition(int startPosition, int stopPosition) {
private List<ProteinLocation> mergeProteins(List<ProteinLocation> locations) {
Map<Integer, ProteinLocation> proteinMap = new HashMap<Integer, ProteinLocation>();
for (ProteinLocation location : locations) {
ProteinLocation loc = proteinMap.get(location.getStop());
ProteinLocation loc = proteinMap.get(location.getStartIndex());
if (loc == null) {
proteinMap.put(location.getStop(), location);
proteinMap.put(location.getStartIndex(), location);
} else {
loc.update(location);
}
Expand Down

0 comments on commit 1352845

Please sign in to comment.