Skip to content

Commit

Permalink
comet tsv file parsing not implemented yet
Browse files Browse the repository at this point in the history
  • Loading branch information
julianu committed Nov 30, 2023
1 parent 5cf9a7e commit f1cd3af
Showing 1 changed file with 1 addition and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.apache.logging.log4j.Logger;

import de.mpc.pia.intermediate.compiler.PIACompiler;
import de.mpc.pia.intermediate.compiler.parser.searchengines.CometCSVFileParser;
import de.mpc.pia.intermediate.compiler.parser.searchengines.CometTSVFileParser;
import de.mpc.pia.intermediate.compiler.parser.searchengines.MascotDatFileParser;
import de.mpc.pia.intermediate.compiler.parser.searchengines.TandemFileParser;
import de.mpc.pia.intermediate.compiler.parser.searchengines.ThermoMSFFileParser;
Expand All @@ -21,38 +21,6 @@ public class InputFileParserFactory {
private static final Logger LOGGER = LogManager.getLogger();

public enum InputFileTypes {

/**
* the input file is a Tide TXT file
*/
COMET_CSV_INPUT {
@Override
public String getFileSuffix() {
return "csv";
}

@Override
public String getFileTypeName() {
return "Comet CSV";
}

@Override
public String getFileTypeShort() {
return "comet";
}

@Override
public boolean checkFileType(String fileName) {
return CometCSVFileParser.checkFileType(fileName);
}

@Override
public boolean parseFile(String name, String fileName,
PIACompiler compiler, String additionalInfoFileName) {
return CometCSVFileParser.getDataFromCometCSVFile(name, fileName, compiler);
}
},

/**
* the input file is a FASTA database file
*/
Expand Down

0 comments on commit f1cd3af

Please sign in to comment.