Package org.snpeff.snpEffect.commandLine
Class SnpEffCmdPdb
java.lang.Object
org.snpeff.SnpEff
org.snpeff.snpEffect.commandLine.SnpEffCmdPdb
- All Implemented Interfaces:
CommandLine
PDB distance analysis
References: http://biojava.org/wiki/BioJava:CookBook:PDB:read
- Author:
- pcingola
-
Nested Class Summary
Nested classes/interfaces inherited from class org.snpeff.SnpEff
SnpEff.GeneDatabaseFormat, SnpEff.InputFormat, SnpEff.OutputFormat -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final Stringstatic final Stringstatic final doublestatic final Stringstatic final intstatic final Stringstatic final Stringstatic final doublestatic final ArrayList<DistanceResult>static final Stringstatic final Stringstatic final String[]static final Stringstatic final StringFields inherited from class org.snpeff.SnpEff
args, BUILD, BUILD_DATE, canonical, canonicalFile, command, COMMAND_LINE_WIDTH, config, configFile, configOverride, customIntervalFiles, dataDir, debug, DEFAULT_COMMAND, download, expandIub, filterIntervalFiles, genome, genomeVer, help, hgvs, hgvsForce, hgvsOld, hgvsOneLetterAa, hgvsShift, hgvsTrId, interaction, log, maxTranscriptSupportLevel, motif, multiThreaded, nextProt, nextProtKeepAllTrs, noGenome, numWorkers, onlyProtein, onlyRegulation, onlyTranscriptsFile, output, quiet, regulationTracks, REVISION, saveOutput, shiftArgs, snpEffCmd, SOFTWARE_NAME, spliceRegionExonSize, spliceRegionIntronMax, spliceRegionIntronMin, spliceSiteSize, strict, suppressOutput, treatAllAsProteinCoding, upDownStreamLength, verbose, VERSION, VERSION_AUTHOR, VERSION_BUILD, VERSION_MAJOR, VERSION_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLoad all datavoidvoidParse command line argumentsvoidpdb()PDB analysisprotected voidCheck that protein sequences form PDB matches sequences from Genome Return an IdMapped of confirmed entries (i.e.protected voidpdbAnalysis(String pdbFileName) Analyze a PDB fileorg.biojava.nbio.structure.StructurereadPdbFile(String pdbFileName) Read and parse PDB filebooleanrun()Run according to command line optionsbooleanrun(boolean storeResults) voidsetDistanceThresholdNon(double distanceThresholdNon) voidShow 'usage;' message and exit with an error code '-1'Methods inherited from class org.snpeff.SnpEff
addRegulationTrack, canonical, cmd, commandLineStr, getArgs, getConfig, getConfigFile, getOutput, isOpt, load, loadConfig, loadCustomFile, loadDb, loadMarkers, main, reportValues, run, setCanonical, setConfig, setConfigFile, setDebug, setGenomeVer, setLog, setNextProt, setNextProtKeepAllTrs, setShiftHgvs, setSpliceSiteSize, setSupressOutput, setUpDownStreamLength, setVerbose, usageDb, usageGeneric, usageGenericAndDb
-
Field Details
-
DEFAULT_PDB_DIR
- See Also:
-
DEFAULT_ID_MAP_FILE
- See Also:
-
DEFAULT_INTERACT_FILE
- See Also:
-
PDB_EXT
- See Also:
-
PDB_EXT_GZ
- See Also:
-
PDB_EXTS
-
PROTEIN_INTERACTION_FILE
- See Also:
-
UNIPROT_DATABASE
- See Also:
-
DEFAULT_DISTANCE_THRESHOLD
public static final double DEFAULT_DISTANCE_THRESHOLD- See Also:
-
DEFAULT_MAX_MISMATCH_RATE
public static final double DEFAULT_MAX_MISMATCH_RATE- See Also:
-
DEFAULT_PDB_MIN_AA_SEPARATION
public static final int DEFAULT_PDB_MIN_AA_SEPARATION- See Also:
-
DEFAULT_PDB_ORGANISM_COMMON
- See Also:
-
DEFAULT_PDB_ORGANISM_SCIENTIFIC
- See Also:
-
DEFAULT_PDB_RESOLUTION
public static final double DEFAULT_PDB_RESOLUTION- See Also:
-
EMPTY_DISTANCES
-
-
Constructor Details
-
SnpEffCmdPdb
public SnpEffCmdPdb()
-
-
Method Details
-
getDistanceResults
-
initialize
public void initialize()Load all data -
loadIdMapper
public void loadIdMapper() -
parseArgs
Parse command line arguments- Specified by:
parseArgsin interfaceCommandLine- Overrides:
parseArgsin classSnpEff
-
pdb
public void pdb()PDB analysis -
pdbAnalysis
protected void pdbAnalysis()Check that protein sequences form PDB matches sequences from Genome Return an IdMapped of confirmed entries (i.e. AA sequence matches between transcript and PDB) -
pdbAnalysis
Analyze a PDB file -
readPdbFile
Read and parse PDB file -
run
public boolean run()Description copied from class:SnpEffRun according to command line options- Specified by:
runin interfaceCommandLine- Overrides:
runin classSnpEff
-
run
public boolean run(boolean storeResults) -
setDistanceThresholdNon
public void setDistanceThresholdNon(double distanceThresholdNon) -
usage
Show 'usage;' message and exit with an error code '-1'- Specified by:
usagein interfaceCommandLine- Overrides:
usagein classSnpEff- Parameters:
message-
-