2024年4月27日土曜日

Help messages of SIRIUS5 CLI

 


"C:\Program Files\sirius\sirius" project-space --help

Commands:

  config                          <CONFIGURATION> Override all possible default

                                    configurations of this toolbox from the

                                    command line.

  project-space, PS               <STANDALONE> Modify a given project Space:

                                    Read project(s) with --input, apply

                                    modification and write the result via

                                    --output. If either --input or --output is

                                    given, the modifications will be made

                                    in-place.

  custom-db, DB

                                  <STANDALONE> Generate a custom searchable

                                    structure database. Import multiple files

                                    with compounds as SMILES or InChi into this

                                    DB.



  similarity                      <STANDALONE> Computes the similarity between

                                    all compounds in the dataset and outputs a

                                    matrix of similarities.

  decomp                          <STANDALONE> Small tool to decompose masses

                                    with given deviation, ionization, chemical

                                    alphabet and chemical filter.

  mgf-export, MGF                 <STANDALONE> Exports the spectra of a given

                                    input as mgf.

  ftree-export                    <STANDALONE> Exports the fragmentation trees

                                    of a project into various formats

  prediction-export, EPR          <STANDALONE> Exports predictions from CSI:

                                    FingerID and CANOPUS.

  fingerprinter, FP               Compute SIRIUS compatible fingerprints from

                                    PubChem standardized SMILES in tsv format.

  gui, GUI                        Starts the graphical user interface of SIRIUS

  asService, rest, REST           EXPERIMENTAL/UNSTABLE: Starts SIRIUS as a

                                    background (REST) service that can be

                                    requested via a REST-API

  login                           <STANDALONE> Allows a user to login for

                                    SIRIUS Webservices (e.g. CSI:FingerID or

                                    CANOPUS) and securely store a personal

                                    access token.

  settings                        <STANDALONE> Configure persistent (technical)

                                    settings of SIRIUS (e.g. ProxySettings or

                                    ILP Solver).

  install-autocompletion          <INSTALL> generates and installs an

                                    Autocompletion-Script with all subcommands.

                                    Default installation is for the current user

  write-summaries, W              <STANDALONE, POSTPROCESSING> Write Summary

                                    files from a given project-space into the

                                    given project-space or a custom location.

  lcms-align, A                   <PREPROCESSING> Align and merge compounds of

                                    multiple LCMS Runs. Use this tool if you

                                    want to import from mzML/mzXml

  zodiac, rerank-formulas         <DATASET_TOOL> Identify Molecular formulas of

                                    all compounds in a dataset together using

                                    ZODIAC.

  formula, tree, sirius           <COMPOUND_TOOL> Identify molecular formula

                                    for each compound individually using

                                    fragmentation trees and isotope patterns.

  fingerprint                     <COMPOUND_TOOL> Predict molecular fingerprint

                                    from MS/MS and fragmentation trees for each

                                    compound Individually using CSI:FingerID

                                    fingerprint prediction.

  structure, search-structure-db  <COMPOUND_TOOL> Search in molecular structure

                                    db for each compound Individually using CSI:

                                    FingerID structure database search.

  passatutto                      <COMPOUND_TOOL> Compute a decoy spectra based

                                    on the fragmentation trees of the given

                                    input spectra. If no molecular formula is

                                    provided in the input, the top scoring

                                    computed formula is used.

  canopus, compound-classes       <COMPOUND_TOOL> Predict compound categories

                                    for each compound individually based on its

                                    predicted molecular fingerprint (CSI:

                                    FingerID) using CANOPUS.



"C:\Program Files\sirius\sirius"  canopus  --help


Usage: sirius canopus [-hV] [COMMAND]

<COMPOUND_TOOL> Predict compound categories for each compound individually

based on its predicted molecular fingerprint (CSI:FingerID) using CANOPUS.

  -h, --help      Show this help message and exit.

  -V, --version   Print version information and exit.

Commands:

  write-summaries, W  <STANDALONE, POSTPROCESSING> Write Summary files from a

                        given project-space into the given project-space or a

                        custom location.


"C:\Program Files\sirius\sirius"   passatutto  --help


Usage: sirius passatutto [-hV] [COMMAND]

<COMPOUND_TOOL> Compute a decoy spectra based on the fragmentation trees of the

given input spectra. If no molecular formula is provided in the input, the top

scoring computed formula is used.

  -h, --help      Show this help message and exit.

  -V, --version   Print version information and exit.

Commands:

  fingerprint         <COMPOUND_TOOL> Predict molecular fingerprint from MS/MS

                        and fragmentation trees for each compound Individually

                        using CSI:FingerID fingerprint prediction.

  write-summaries, W  <STANDALONE, POSTPROCESSING> Write Summary files from a

                        given project-space into the given project-space or a

                        custom location.


"C:\Program Files\sirius\sirius"  structure  --help


Usage: sirius structure [-hV] [-d=<dbName>[,<dbName>...]]

                        [-l=<injectElGordoCompounds>] [COMMAND]

<COMPOUND_TOOL> Search in molecular structure db for each compound Individually

using CSI:FingerID structure database search.

  -d, --db, --database=<dbName>[,<dbName>...]

                  Search structure in the union of the given databases. If no

                    database is given the default database(s) are used.

                  Example: possible DBs: 'ALL,ALL_BUT_INSILICO,BIO,PUBCHEM,MESH,

                    HMDB,KNAPSACK,CHEBI,PUBMED,KEGG,HSDB,MACONDA,METACYC,GNPS,

                    ZINCBIO,UNDP,YMDB,PLANTCYC,NORMAN,ADDITIONAL,

                    PUBCHEMANNOTATIONBIO,PUBCHEMANNOTATIONDRUG,

                    PUBCHEMANNOTATIONSAFETYANDTOXIC,PUBCHEMANNOTATIONFOOD,

                    KEGGMINE,ECOCYCMINE,YMDBMINE'

                  Default: BIO

  -h, --help      Show this help message and exit.

  -l, --elgordo, tag-lipids, flag-lipids=<injectElGordoCompounds>

                  Tag candidates that are matching lipid class determined by El

                    Gordo in CSI:FingerID candidate list.

                  Default: True

  -V, --version   Print version information and exit.

Commands:

  canopus, compound-classes  <COMPOUND_TOOL> Predict compound categories for

                               each compound individually based on its

                               predicted molecular fingerprint (CSI:FingerID)

                               using CANOPUS.

  write-summaries, W         <STANDALONE, POSTPROCESSING> Write Summary files

                               from a given project-space into the given

                               project-space or a custom location.


"C:\Program Files\sirius\sirius"  fingerprint  --help


Usage: sirius fingerprint [-hV] [--no-threshold] [COMMAND]

<COMPOUND_TOOL> Predict molecular fingerprint from MS/MS and fragmentation

trees for each compound Individually using CSI:FingerID fingerprint prediction.

  -h, --help           Show this help message and exit.

      --no-threshold   Disable score threshold for formula candidates. CSI:

                         FingerID fingerprints will be predicted for all

                         formula candidates

  -V, --version        Print version information and exit.

Commands:

  structure, search-structure-db  <COMPOUND_TOOL> Search in molecular structure

                                    db for each compound Individually using CSI:

                                    FingerID structure database search.

  canopus, compound-classes       <COMPOUND_TOOL> Predict compound categories

                                    for each compound individually based on its

                                    predicted molecular fingerprint (CSI:

                                    FingerID) using CANOPUS.

  write-summaries, W              <STANDALONE, POSTPROCESSING> Write Summary

                                    files from a given project-space into the

                                    given project-space or a custom location.


"C:\Program Files\sirius\sirius"  zodiac  --help

Usage: sirius zodiac [-hV] [--ignore-spectra-quality] [--burn-in=<burnInSteps>]

                     [--considered-candidates-at-300=<numberOfConsideredCandidat

                     esBelow300>]

                     [--considered-candidates-at-800=<numberOfConsideredCandidat

                     esAbove800>] [--iterations=<iterationSteps>]

                     [--lambda=<lambda>] [--library-hits=<libraryHits>]

                     [--min-cosine=<minCosine>]

                     [--minLocalConnections=<minLocalConnections>]

                     [--thresholdFilter=<thresholdFilter>] [COMMAND]

<DATASET_TOOL> Identify Molecular formulas of all compounds in a dataset

together using ZODIAC.

      --burn-in=<burnInSteps>

                          Number of epochs considered as 'burn-in period'.

                          Default: 2000

      --considered-candidates-at-300=<numberOfConsideredCandidatesBelow300>

                          Maximum number of candidate molecular formulas

                            (fragmentation trees computed by SIRIUS) per

                            compound which are considered by ZODIAC for

                            compounds below 300 m/z.

                          Default: 10

      --considered-candidates-at-800=<numberOfConsideredCandidatesAbove800>

                          Maximum number of candidate molecular formulas

                            (fragmentation trees computed by SIRIUS) per

                            compound which are considered by ZODIAC for

                            compounds above 800 m/z.

                          Default: 50

  -h, --help              Show this help message and exit.

      --ignore-spectra-quality

                          As default ZODIAC runs a 2-step approach. First

                            running 'good quality compounds' only, and

                            afterwards including the remaining.

      --iterations=<iterationSteps>

                          Number of epochs to run the Gibbs sampling. When

                            multiple Markov chains are computed, all chains'

                            iterations sum up to this value.

                          Default: 20000

      --lambda=<lambda>   Lambda used in the scoring function of spectral

                            library hits. The higher this value the higher are

                            library hits weighted in ZODIAC scoring.

                          Default: 1000

      --library-hits=<libraryHits>

                          CSV file containing spectral library hits. Library

                            hits are used as anchors to improve ZODIAC scoring.

      --min-cosine=<minCosine>

                          Spectral library hits must have at least this cosine

                            or higher to be considered in scoring.

                          Value must be in [0,1].

                          Default: 0.5

      --minLocalConnections=<minLocalConnections>

                          Minimum number of compounds to which at least one

                            candidate per compound must be connected to.

                          Default: 10

      --thresholdFilter=<thresholdFilter>

                          Defines the proportion of edges of the complete

                            network which will be ignored.

                          Default: 0.95

  -V, --version           Print version information and exit.

Commands:

  passatutto          <COMPOUND_TOOL> Compute a decoy spectra based on the

                        fragmentation trees of the given input spectra. If no

                        molecular formula is provided in the input, the top

                        scoring computed formula is used.

  fingerprint         <COMPOUND_TOOL> Predict molecular fingerprint from MS/MS

                        and fragmentation trees for each compound Individually

                        using CSI:FingerID fingerprint prediction.

  write-summaries, W  <STANDALONE, POSTPROCESSING> Write Summary files from a

                        given project-space into the given project-space or a

                        custom location.


"C:\Program Files\sirius\sirius"  write-summaries   --help


Usage: sirius write-summaries [-chV] [--[no-]full-summary] [--[no-]

                              top-hit-summary] [--[no-]top-hit-adduct-summary]

                              [-o=<location>] [[--classyfire] [--npc]

                              [--fingerprint] [--pubchem] [--maccs] [--all]

                              [-p=<digits>]]

<STANDALONE, POSTPROCESSING> Write Summary files from a given project-space

into the given project-space or a custom location.

  -c, --zip, --compress     Summaries will be written into a compressed zip

                              archive. This parameter will be ignored if the

                              summary is written into the project-space.

      --[no-]full-summary   Write project wide summary files with ALL Hits.

                            (Use with care! Might create large files and

                              consume large amounts of memory for large

                              projects.)

  -h, --help                Show this help message and exit.

      --[no-]top-hit-summary

                            Write project wide summary files with all Top Hits.

  -o, --output=<location>   Specify location (outside the project) for writing

                              summary files. Per default summaries are written

                              to the project-space

      --[no-]top-hit-adduct-summary

                            Write project wide summary files with all Top Hits

                              and their adducts

  -V, --version             Print version information and exit.

Include Predictions Table      --all                 Output all predicted CSI:FingerID and CANOPUS

                              probabilities (sets --fingerprints, --classyfire,

                              --npc).

      --classyfire          Output predicted  classyfire probabilities by

                              CANOPUS.

      --fingerprint, --fingerprints

                            Output predicted fingerprint probabilities by CSI:

                              FingerID.

      --maccs               Output predicted MACCS fingerprint probabilities by

                              CSI:FingerID (subset of --fingerprint).

      --npc                 Output predicted NPC (natural product classifier)

                              probabilities by CANOPUS.

  -p, --digits, --precision=<digits>

                            Specify number of digits used for printing floating

                              point values. -1 -> full length Double value.

                              Default: -1

      --pubchem             Output predicted PubChem fingerprint probabilities


"C:\Program Files\sirius\sirius"  install-autocompletion   --help


Usage: sirius install-autocompletion [-hiuV] [-l=<scriptFile>]

                                     [-n=<siriusName>] [-o=<OS>] [[-g] | [-c]]

<INSTALL> generates and installs an Autocompletion-Script with all subcommands.

Default installation is for the current user

  -c, --cancelinstall       does not install the Completionscript

  -g, --global              installs the Completionscript globally into

                              /etc/bash-completion.d (requires root permission

                              and [bash-completion] (https://github.

                              com/scop/bash-completion))

  -h, --help                Show this help message and exit.

  -i, --ignore-version      ignores the version check while uninstalling the

                              AutocompletionScript

  -l, --location=<scriptFile>

                            Target directory to store the script file. DEFAULT

                              is the current working directory. Directory must

                              exist.

  -n, --name=<siriusName>   Alternative name for the sirius Application

  -o, --OStype=<OS>         Overrides specification of the SystemOS. (Detected

                              automatically per Default) Possibilities: {Linux,

                              Mac, Solaris}

  -u, --uninstall           uninstalls the completionScript. Please add -g for

                              global uninstallation

  -V, --version             Print version information and exit.


"C:\Program Files\sirius\sirius" settings --help

Usage: sirius settings [-hV] [-k=<key> -v=<value>]... [--proxy

                       --host=<hostname> --port=<port> [--user=<user>

                       --pw=<password>]]

<STANDALONE> Configure persistent (technical) settings of SIRIUS (e.g.

ProxySettings or ILP Solver).

  -h, --help              Show this help message and exit.

  -V, --version           Print version information and exit.


 Generic key-value pairs of properties.

  -k, --key=<key>         Property Key

  -v, --value=<value>     Property Value


 Properties to configure Proxy server for SIRIUS.

      --host=<hostname>   Proxy domain.

      --port=<port>       Proxy port.

      --proxy             Define proxy settings.

      --pw, --password=<password>

                          Proxy password (only if proxy server needs

                            credentials.

      --user=<user>       Proxy user (only if proxy server needs credentials.


"C:\Program Files\sirius\sirius" prediction-export --help


Usage: sirius prediction-export [-hV] [-c=<polarity>] [-o=<output>]

                                [[--classyfire] [--npc] [--fingerprint]

                                [--pubchem] [--maccs] [--all] [-p=<digits>]]

<STANDALONE> Exports predictions from CSI:FingerID and CANOPUS.

  -c, --charge, --polarity=<polarity>

                          Restrict output to the given polarity. By default

                            this value is 0 and the polarity of the first

                            compound in the project space is chosen. Note that

                            each output file can only contain predictions from

                            one polarity.

      --classyfire        Output predicted  classyfire probabilities by CANOPUS.

      --npc               Output predicted NPC (natural product classifier)

                            probabilities by CANOPUS.

      --fingerprint, --fingerprints

                          Output predicted fingerprint probabilities by CSI:

                            FingerID.

      --pubchem           Output predicted PubChem fingerprint probabilities by

                            CSI:FingerID (subset of --fingerprint).

      --maccs             Output predicted MACCS fingerprint probabilities by

                            CSI:FingerID (subset of --fingerprint).

      --all               Output all predicted CSI:FingerID and CANOPUS

                            probabilities (sets --fingerprints, --classyfire,

                            --npc).

  -p, --digits, --precision=<digits>

                          Specify number of digits used for printing floating

                            point values. -1 -> full length Double value.

  -o, --output=<output>   Specify the table file destination.

  -h, --help              Show this help message and exit.

  -V, --version           Print version information and exit.


"C:\Program Files\sirius\sirius" project-space --help

Usage: sirius project-space [-hmV] [--dm=<makeDeleteMassFilter>]

                            [--dn=<makeDeleteIdxFilter>]

                            [--kc=<makeKeepConfidenceFilter>]

                            [--kei=<makeKeepExplainedIntensityFilter>]

                            [--km=<makeKeepMassFilter>]

                            [--kn=<makeKeepNameFilter>]

                            [--kts=<makeKeepTreeSizeFilter>]

                            [--merge-compounds-cosine=<mergeCompoundsCosine>]

                            [--merge-compounds-rtdiff=<mergeCompoundsRtDiff>]

                            [--merge-compounds-top=<mergeCompoundsTopK>]

                            [-d=<makeDeleteIdxFilter>[,

                            <makeDeleteIdxFilter>...]]...

                            [-k=<makeKeepIdxFilter>[,

                            <makeKeepIdxFilter>...]]... [[-s=<type>]

                            [-c=<count>] [-o=<order>]]

<STANDALONE> Modify a given project Space: Read project(s) with --input, apply

modification and write the result via --output. If either --input or --output

is given, the modifications will be made in-place.

  -d, --di, --delete-by-idx=<makeDeleteIdxFilter>[,<makeDeleteIdxFilter>...]

                        Delete all compounds that match the given indices from

                          the given project-space.

      --dm, --delete-by-mass=<makeDeleteMassFilter>

                        Delete all compounds that are within the given mass

                          window.

                        Example: Use 'mass1:mass2' to match compounds with

                          mass1 <= mass <= mass2. Leave a value empty to set no

                          bound.

      --dn, --delete-by-name=<makeDeleteIdxFilter>

                        Delete all compounds where the 'identifier' (dir name,

                          ID) matches the given regex (JAVA).

  -h, --help            Show this help message and exit.

  -k, --ki, --keep-by-idx=<makeKeepIdxFilter>[,<makeKeepIdxFilter>...]

                        Keep all compounds that match the given indices from

                          the given project-space

      --kc, --keep-by-confidence=<makeKeepConfidenceFilter>

                        Keep all compounds that have a valid confidence score

                          greater or equal than the given minimum confidence.

      --kei, --keep-by-explained-intensity=<makeKeepExplainedIntensityFilter>

                        Keep all compounds that have at least one fragmentation

                          tree that explains at least a minimum total intensity

                          of the spectrum. Value between 0 to 1.

      --km, --keep-by-mass=<makeKeepMassFilter>

                        Keep all compounds that are within the given mass

                          window.

                        Example: Use 'mass1:mass2' to match compounds with

                          mass1 <= mass <= mass2. Leave a value empty to set no

                          bound.

      --kn, --keep-by-name=<makeKeepNameFilter>

                        Keep all compounds where the 'identifier' (Dir name,

                          ID) matches the given regex (JAVA).

      --kts, --keep-by-tree-size=<makeKeepTreeSizeFilter>

                        Keep all compounds that have at least one fragmentation

                          tree with number of fragments (including precursor)

                          greater or equal than the given minimum.

  -m, --move            DANGERZONE: Move instead of copy data (where possible)

                          when merging or splitting projects to save time. Be

                          aware of the risk that you may end up with corrupted

                          input or output data when the program crashes.

      --merge-compounds-cosine=<mergeCompoundsCosine>

                        Merge compounds which have the same spectra and m/z

                          into one. The criteria for merging can be specified

                          with --merge-compounds-cosine and

                          --merge-compounds-rtdiff.

      --merge-compounds-rtdiff=<mergeCompoundsRtDiff>

                        Merge compounds which have the same spectra and m/z

                          into one. The criteria for merging can be specified

                          with --merge-compounds-cosine and

                          --merge-compounds-rtdiff. Retention time difference

                          for merging is either specified in seconds, or by

                          adding a unit after the number (e.g., '5 min'

      --merge-compounds-top=<mergeCompoundsTopK>

                        Merge compounds which have the same spectra and m/z

                          into one. For each such cluster of compounds, keep

                          only the top k most abundant ones. The criteria for

                          merging can be specified with

                          --merge-compounds-cosine and --merge-compounds-rtdiff.

  -V, --version         Print version information and exit.

Split the project into chunks:

  -c, --count=<count>   Sets batch number or batch size depending on <--split>

                          Default: 1

  -o, --split-order=<order>

                        Specify the order of Compounds before putting them into

                          batches.

                          Default: SHUFFLE

  -s, --split=<type>    Split the output into batches. Either in a specific

                          number of batches or in batches of specific size!

                          Default: NO


"C:\Program Files\sirius\sirius" config --help


情報: Running with following arguments: [config, --help]

Usage: sirius config [-hV] [--AdductSettings.detectable=[M+H]+,[M+K]+,[M+Na]+,

                     [M+H-H2O]+,[M+H-H4O2]+,[M+NH4]+,[M-H]-,[M+Cl]-,[M-H2O-H]-,

                     [M+Br]-] [--AdductSettings.enforced=,] [--AdductSettings.

                     fallback=[M+H]+,[M-H]-,[M+Na]+,[M+K]+]

                     [--AlgorithmProfile=default] [--CandidateFormulas=,]

                     [--CompoundQuality=UNKNOWN]

                     [--ForbidRecalibration=ALLOWED]

                     [--FormulaResultRankingScore=AUTO]

                     [--FormulaResultThreshold=true] [--FormulaSearchDB=none]

                     [--FormulaSettings.detectable=S,Br,Cl,B,Se]

                     [--FormulaSettings.enforced=C,H,N,O,P] [--FormulaSettings.

                     fallback=S] [--InjectElGordoCompounds=True]

                     [--IsotopeMs2Settings=IGNORE] [--IsotopeSettings.

                     filter=True] [--IsotopeSettings.multiplier=1]

                     [--MedianNoiseIntensity=0.015] [--MotifDbFile=none] [--ms1.

                     absoluteIntensityError=0.02] [--ms1.

                     minimalIntensityToConsider=0.01] [--ms1.

                     relativeIntensityError=0.08] [--MS1MassDeviation.

                     allowedMassDeviation=10.0 ppm] [--MS1MassDeviation.

                     massDifferenceDeviation=5.0 ppm] [--MS1MassDeviation.

                     standardMassDeviation=10.0 ppm] [--MS2MassDeviation.

                     allowedMassDeviation=10.0 ppm] [--MS2MassDeviation.

                     standardMassDeviation=10.0 ppm] [--NoiseThresholdSettings.

                     absoluteThreshold=0] [--NoiseThresholdSettings.

                     basePeak=NOT_PRECURSOR] [--NoiseThresholdSettings.

                     intensityThreshold=0.005] [--NoiseThresholdSettings.

                     maximalNumberOfPeaks=60] [--NumberOfCandidates=10]

                     [--NumberOfCandidatesPerIon=1]

                     [--NumberOfStructureCandidates=10000]

                     [--PossibleAdductSwitches=[M+Na]+:[M+H]+,[M+K]+:[M+H]+,

                     [M+Cl]-:[M-H]-] [--PrintCitations=True]

                     [--RecomputeResults=False]

                     [--StructurePredictors=CSI_FINGERID]

                     [--StructureSearchDB=BIO] [--Timeout.secondsPerInstance=0]

                     [--Timeout.secondsPerTree=0] [--UseHeuristic.

                     mzToUseHeuristic=300] [--UseHeuristic.

                     mzToUseHeuristicOnly=650] [--ZodiacClusterCompounds=false]

                     [--ZodiacEdgeFilterThresholds.minLocalCandidates=1]

                     [--ZodiacEdgeFilterThresholds.minLocalConnections=10]

                     [--ZodiacEdgeFilterThresholds.thresholdFilter=0.95]

                     [--ZodiacEpochs.burnInPeriod=2000] [--ZodiacEpochs.

                     iterations=20000] [--ZodiacEpochs.numberOfMarkovChains=10]

                     [--ZodiacLibraryScoring.lambda=1000]

                     [--ZodiacLibraryScoring.minCosine=0.5]

                     [--ZodiacNumberOfConsideredCandidatesAt300Mz=10]

                     [--ZodiacNumberOfConsideredCandidatesAt800Mz=50]

                     [--ZodiacRatioOfConsideredCandidatesPerIonization=0.2]

                     [--ZodiacRunInTwoSteps=true] [COMMAND]

<CONFIGURATION> Override all possible default configurations of this toolbox

from the command line.

      --AdductSettings.detectable=[M+H]+,[M+K]+,[M+Na]+,[M+H-H2O]+,[M+H-H4O2]+,

        [M+NH4]+,[M-H]-,[M+Cl]-,[M-H2O-H]-,[M+Br]-

                           Detectable ion modes which are only considered if

                             there is an indication in the MS1 scan (e.g.

                           correct mass delta).

      --AdductSettings.enforced=,

                           Describes how to deal with Adducts:

                           Pos Examples:

                           [M+H]+,[M]+,[M+K]+,[M+Na]+,[M+H-H2O]+,[M+Na2-H]+,

                             [M+2K-H]+,[M+NH4]+,[M+H3O]+,[M+MeOH+H]+,[M+ACN+H]+,

                             [M+2ACN+H]+,[M+IPA+H]+,[M+ACN+Na]+,[M+DMSO+H]+

                           Neg Examples:

                           [M-H]-,[M]-,[M+K-2H]-,[M+Cl]-,[M-H2O-H]-,[M+Na-2H]-,

                             M+FA-H]-,[M+Br]-,[M+HAc-H]-,[M+TFA-H]-,[M+ACN-H]-

                           Enforced ion modes that are always considered.

      --AdductSettings.fallback=[M+H]+,[M-H]-,[M+Na]+,[M+K]+

                           Fallback ion modes which are considered if the auto

                             detection did not find any indication for

                           an ion mode.

      --AlgorithmProfile=default

                           Configuration profile to store instrument specific

                             algorithm properties.

                           Some of the default profiles are: 'qtof',

                             'orbitrap', 'fticr'.

      --CandidateFormulas=,

                           This configuration holds a set of user given

                             formulas to be used as candidates for SIRIUS

                           Note: This set might be merged with other sources

                             like formulas from databases

                           Set of Molecular Formulas to be used as candidates

                             for molecular formula estimation with

                           SIRIUS

      --CompoundQuality=UNKNOWN

                           Keywords that can be assigned to a input spectrum to

                             judge its quality. Available keywords

                           are: Good, LowIntensity, NoMS1Peak, FewPeaks,

                             Chimeric, NotMonoisotopicPeak,

                           PoorlyExplained

      --ForbidRecalibration=ALLOWED

                           Enable/Disable the hypothesen driven recalibration

                             of MS/MS spectra

                           Must be either 'ALLOWED' or FORBIDDEN'

      --FormulaResultRankingScore=AUTO

                           Allows the USER to Specify the ScoreType that is

                             used to rank the list of Molecular Formula

                           Identifications

                           before CSI:FingerID predictions are calculated. Auto

                             means that this ScoreType is

                           automatically set depending on the executed workflow.

      --FormulaResultThreshold=true

                           Specifies if the list of Molecular Formula

                             Identifications is filtered by a soft threshold

                           (calculateThreshold) before CSI:FingerID predictions

                             are calculated.

      --FormulaSearchDB=none


      --FormulaSettings.detectable=S,Br,Cl,B,Se

                           Detectable elements are added to the chemical

                             alphabet, if there are indications for them

                           (e.g. in isotope pattern)

      --FormulaSettings.enforced=C,H,N,O,P

                           These configurations hold the information how to

                             autodetect elements based on the given

                           formula constraints.

                           Note: If the compound is already assigned to a

                             specific molecular formula, this annotation is

                           ignored.

                           Enforced elements are always considered

      --FormulaSettings.fallback=S

                           Fallback elements are used, if the auto-detection

                             fails (e.g. no isotope pattern available)

  -h, --help               Show this help message and exit.

      --InjectElGordoCompounds=True

                           Candidates matching the lipid class estimated by El

                             Gordo will be tagged.

                           The lipid class will only be available if El Gordo

                             predicts that the MS/MS is a lipid spectrum.

                           If this parameter is set to 'false' El Gordo will

                             still be executed and e.g. improve the

                           fragmentation

                           tree, but the matching candidates will not be tagged

                             as lipid class.

      --IsotopeMs2Settings=IGNORE


      --IsotopeSettings.filter=True

                           This configurations define how to deal with isotope

                             patterns in MS1.

                           When filtering is enabled, molecular formulas are

                             excluded if their theoretical isotope

                           pattern does not match

                           the theoretical one, even if their MS/MS pattern has

                             high score.

      --IsotopeSettings.multiplier=1

                           multiplier for the isotope score. Set to 0 to

                             disable isotope scoring. Otherwise, the score

                           from isotope

                           pattern analysis is multiplied with this

                             coefficient. Set to a value larger than one if

                             your

                           isotope

                           pattern data is of much better quality than your

                             MS/MS data.

      --MedianNoiseIntensity=0.015


      --MotifDbFile=none

      --ms1.absoluteIntensityError=0.02

                           The average absolute deviation between theoretical

                             and measured intensity of isotope

                           peaks.

                           Do not change this parameter without a good reason!

      --ms1.minimalIntensityToConsider=0.01

                           Ignore isotope peaks below this intensity.

                           This value should reflect the smallest relative

                             intensive which is still above noise level.

                           Obviously, this is hard to judge without having

                             absolute values. Keeping this value around 1

                           percent is

                           fine for most settings. Set it to smaller values if

                             you trust your small intensities.

      --ms1.relativeIntensityError=0.08

                           The average relative deviation between theoretical

                             and measured intensity of isotope

                           peaks.

                           Do not change this parameter without a good reason!

      --MS1MassDeviation.allowedMassDeviation=10.0 ppm

                           Mass accuracy setting for MS1 spectra. Mass

                             accuracies are always written as "X ppm (Y Da)"

                           with X and Y

                           are numerical values. The ppm is a relative measure

                             (parts per million), Da is an absolute

                           measure. For each mass, the

                           maximum of relative and absolute is used.

      --MS1MassDeviation.massDifferenceDeviation=5.0 ppm


      --MS1MassDeviation.standardMassDeviation=10.0 ppm


      --MS2MassDeviation.allowedMassDeviation=10.0 ppm

                           Mass accuracy setting for MS2 spectra. Mass

                             Accuracies are always written as "X ppm (Y Da)"

                           with X and Y

                           are numerical values. The ppm is a relative measure

                             (parts per million), Da is an absolute

                           measure. For each mass, the

                           maximum of relative and absolute is used.

      --MS2MassDeviation.standardMassDeviation=10.0 ppm


      --NoiseThresholdSettings.absoluteThreshold=0


      --NoiseThresholdSettings.basePeak=NOT_PRECURSOR


      --NoiseThresholdSettings.intensityThreshold=0.005


      --NoiseThresholdSettings.maximalNumberOfPeaks=60


      --NumberOfCandidates=10


      --NumberOfCandidatesPerIon=1

                           use this parameter if you want to force to report at

                             least

                           numberOfResultsToKeepPerIonization results per

                             ionization.

                           if le 0, this parameter will have no effect and just

                             the top

                           numberOfResultsToKeep results will be reported.

      --NumberOfStructureCandidates=10000


      --PossibleAdductSwitches=[M+Na]+:[M+H]+,[M+K]+:[M+H]+,[M+Cl]-:[M-H]-

                           An adduct switch is a switch of the ionization mode

                             within a spectrum, e.g. an ion replaces an

                           sodium adduct

                           with a protonation during fragmentation. Such adduct

                             switches heavily increase the

                           complexity of the

                           analysis, but for certain adducts they might happen

                             regularly. Adduct switches are written

                           in the

                           form  {@literal a -> b, a -> c, d -> c} where a, b,

                             c, and d are adducts and  {@literal a -> b}

                             denotes an

                           allowed switch from

                           a to b within the MS/MS spectrum.

      --PrintCitations=True


      --RecomputeResults=False


      --StructurePredictors=CSI_FINGERID


      --StructureSearchDB=BIO


      --Timeout.secondsPerInstance=0

                           This configurations define a timeout for the tree

                             computation. As the underlying problem is

                           NP-hard, it might take

                           forever to compute trees for very challenging (e.g.

                             large mass) compounds. Setting an time

                           constraint allow the program

                           to continue with other instances and just skip the

                             challenging ones.

                           Note that, due to multithreading, this time

                             constraints are not absolutely accurate.

                           Set the maximum number of seconds for computing a

                             single compound. Set to 0 to disable the time

                           constraint.

      --Timeout.secondsPerTree=0

                           Set the maximum number of seconds for a single

                             molecular formula check. Set to 0 to disable the

                           time constraint

      --UseHeuristic.mzToUseHeuristic=300

                           Set minimum m/z to enable heuristic preprocessing.

                             The heuristic will be used to initially

                           rank the formula candidates. The Top

                             (NumberOfCandidates) candidates will then be

                           computed exactly by solving the ILP.

      --UseHeuristic.mzToUseHeuristicOnly=650

                           Set minimum m/z to only use heuristic tree

                             computation. No exact tree computation (ILP) will

                           be performed for this compounds.

  -V, --version            Print version information and exit.

      --ZodiacClusterCompounds=false

                           cluster compounds before running ZODIAC

      --ZodiacEdgeFilterThresholds.minLocalCandidates=1

                           Minimum number of candidates per compound which are

                             forced to have at least

                           [minLocalConnections] connections to other compounds.

                           E.g. 2 candidates per compound must have at least 10

                             connections to other compounds

      --ZodiacEdgeFilterThresholds.minLocalConnections=10

                           Minimum number of connections per candidate which

                             are forced for at least

                           [minLocalCandidates] candidates to other compounds.

                           E.g. 2 candidates per compound must have at least 10

                             connections to other compounds

      --ZodiacEdgeFilterThresholds.thresholdFilter=0.95

                           Defines the proportion of edges of the complete

                             network which will be ignored.

      --ZodiacEpochs.burnInPeriod=2000

                           Number of epochs considered as 'burn-in period'.

                           Samples from the beginning of a Markov chain do not

                             accurately represent the desired

                           distribution of candidates and are not used to

                             estimate the ZODIAC score.

      --ZodiacEpochs.iterations=20000

                           Number of epochs to run the Gibbs sampling. When

                             multiple Markov chains are computed, all

                           chains' iterations sum up to this value.

      --ZodiacEpochs.numberOfMarkovChains=10

                           Number of separate Gibbs sampling runs.

      --ZodiacLibraryScoring.lambda=1000

                           Lambda used in the scoring function of spectral

                             library hits. The higher this value the higher

                           are librar hits weighted in ZODIAC scoring.

      --ZodiacLibraryScoring.minCosine=0.5

                           Spectral library hits must have at least this cosine

                             or higher to be considered in scoring.

                           Value must be in [0,1].

      --ZodiacNumberOfConsideredCandidatesAt300Mz=10

                           Maximum number of candidate molecular formulas

                             (fragmentation trees computed by SIRIUS)

                           per compound which are considered by ZODIAC.

                           This is the threshold used for all compounds with mz

                             below 300 m/z and is used to interpolate the

                           number of candidates for larger compounds.

                           If lower than 0, all available candidates are

                             considered.

      --ZodiacNumberOfConsideredCandidatesAt800Mz=50

                           Maximum number of candidate molecular formulas

                             (fragmentation trees computed by SIRIUS)

                           per compound which are considered by ZODIAC.

                           This is the threshold used for all compounds with mz

                             above 800 m/z and is used to interpolate the

                           number of candidates for smaller compounds.

                           If lower than 0, all available candidates are

                             considered.

      --ZodiacRatioOfConsideredCandidatesPerIonization=0.2

                           Ratio of candidate molecular formulas (fragmentation

                             trees computed by SIRIUS) per

                           compound which are forced for each ionization to be

                             considered by ZODIAC.

                           This depends on the number of candidates ZODIAC

                             considers. E.g. if 50 candidates are

                           considered and a ratio of 0.2 is set, at least 10

                             candidates per ionization will be

                           considered, which might increase the number of

                             candidates above 50.

      --ZodiacRunInTwoSteps=true

                           As default ZODIAC runs a 2-step approach. First

                             running 'good quality compounds' only, and

                           afterwards including the remaining.

Commands:

  lcms-align, A                   <PREPROCESSING> Align and merge compounds of

                                    multiple LCMS Runs. Use this tool if you

                                    want to import from mzML/mzXml

  fingerprint                     <COMPOUND_TOOL> Predict molecular fingerprint

                                    from MS/MS and fragmentation trees for each

                                    compound Individually using CSI:FingerID

                                    fingerprint prediction.

  structure, search-structure-db  <COMPOUND_TOOL> Search in molecular structure

                                    db for each compound Individually using CSI:

                                    FingerID structure database search.

  zodiac, rerank-formulas         <DATASET_TOOL> Identify Molecular formulas of

                                    all compounds in a dataset together using

                                    ZODIAC.

  canopus, compound-classes       <COMPOUND_TOOL> Predict compound categories

                                    for each compound individually based on its

                                    predicted molecular fingerprint (CSI:

                                    FingerID) using CANOPUS.

  passatutto                      <COMPOUND_TOOL> Compute a decoy spectra based

                                    on the fragmentation trees of the given

                                    input spectra. If no molecular formula is

                                    provided in the input, the top scoring

                                    computed formula is used.

  formula, tree, sirius           <COMPOUND_TOOL> Identify molecular formula

                                    for each compound individually using

                                    fragmentation trees and isotope patterns.

  project-space, PS               <STANDALONE> Modify a given project Space:

                                    Read project(s) with --input, apply

                                    modification and write the result via

                                    --output. If either --input or --output is

                                    given, the modifications will be made

                                    in-place.

  custom-db, DB

                                  <STANDALONE> Generate a custom searchable

                                    structure database. Import multiple files

                                    with compounds as SMILES or InChi into this

                                    DB.



  similarity                      <STANDALONE> Computes the similarity between

                                    all compounds in the dataset and outputs a

                                    matrix of similarities.

  decomp                          <STANDALONE> Small tool to decompose masses

                                    with given deviation, ionization, chemical

                                    alphabet and chemical filter.

  mgf-export, MGF                 <STANDALONE> Exports the spectra of a given

                                    input as mgf.

  ftree-export                    <STANDALONE> Exports the fragmentation trees

                                    of a project into various formats

  prediction-export, EPR          <STANDALONE> Exports predictions from CSI:

                                    FingerID and CANOPUS.

  fingerprinter, FP               Compute SIRIUS compatible fingerprints from

                                    PubChem standardized SMILES in tsv format.

  gui, GUI                        Starts the graphical user interface of SIRIUS

  asService, rest, REST           EXPERIMENTAL/UNSTABLE: Starts SIRIUS as a

                                    background (REST) service that can be

                                    requested via a REST-API

  login                           <STANDALONE> Allows a user to login for

                                    SIRIUS Webservices (e.g. CSI:FingerID or

                                    CANOPUS) and securely store a personal

                                    access token.

  settings                        <STANDALONE> Configure persistent (technical)

                                    settings of SIRIUS (e.g. ProxySettings or

                                    ILP Solver).

  install-autocompletion          <INSTALL> generates and installs an

                                    Autocompletion-Script with all subcommands.

                                    Default installation is for the current user

  write-summaries, W              <STANDALONE, POSTPROCESSING> Write Summary

                                    files from a given project-space into the

                                    given project-space or a custom location.

"C:\Program Files\sirius\sirius" formula --help


情報: Running with following arguments: [formula, --help]

Usage: sirius formula [-hV] [--no-isotope-filter] [--no-isotope-score]

                      [--no-recalibration] [-c=<numberOfCandidates>]

                      [--candidates-per-ion=<numberOfCandidatesPerIon>]

                      [--compound-timeout=<instanceTimeout>] [-d=<dbName>[,

                      <dbName>...]] [-e=<detectableElements>]

                      [-E=<enforcedElements>] [-f=<candidateFormulas>]

                      [--heuristic=<mzToUseHeuristic>]

                      [--heuristic-only=<mzToUseHeuristicOnly>]

                      [-i=<ionsConsidered>] [-I=<ionsEnforced>] [-p=<profile>]

                      [--ppm-max=<ppmMax>] [--ppm-max-ms2=<ppmMaxMs2>]

                      [--solver=<solver>] [--tree-timeout=<treeTimeout>] []

                      [COMMAND]

<COMPOUND_TOOL> Identify molecular formula for each compound individually using

fragmentation trees and isotope patterns.

      --solver, --ilp-solver=<solver>

                            Set ILP solver to be used for fragmentation

                              computation. Valid values: 'CLP' (included),

                              'CPLEX', 'GUROBI'.

                            For GUROBI and CPLEX environment variables need to

                              be configure (see Manual).

      --no-recalibration    Disable Recalibration of input Spectra

      --no-isotope-filter   Disable molecular formula filter. When filtering is

                              enabled, molecular formulas are excluded if their

                              theoretical isotope pattern does not match the

                              theoretical one, even if their MS/MS pattern has

                              high score.

      --no-isotope-score    Disable isotope pattern score.

  -h, --help                Show this help message and exit.

  -V, --version             Print version information and exit.

  -d, --db, --database=<dbName>[,<dbName>...]

                            Search formulas in the Union of the given

                              databases. If no database is given all possible

                              molecular formulas will be respected (no database

                              is used).

                            Example: possible DBs: 'ALL,ALL_BUT_INSILICO,BIO,

                              PUBCHEM,MESH,HMDB,KNAPSACK,CHEBI,PUBMED,KEGG,HSDB,

                              MACONDA,METACYC,GNPS,ZINCBIO,UNDP,YMDB,PLANTCYC,

                              NORMAN,ADDITIONAL,PUBCHEMANNOTATIONBIO,

                              PUBCHEMANNOTATIONDRUG,

                              PUBCHEMANNOTATIONSAFETYANDTOXIC,

                              PUBCHEMANNOTATIONFOOD,KEGGMINE,ECOCYCMINE,

                              YMDBMINE'

                            Default: none

      --ppm-max=<ppmMax>    Maximum allowed mass deviation in ppm for

                              decomposing masses.

                            Default: 10.0 ppm

      --ppm-max-ms2=<ppmMaxMs2>

                            Maximum allowed mass deviation in ppm for

                              decomposing masses in MS2. If not specified, the

                              same value as for the MS1 is used.

                            Default: 10.0 ppm

      --tree-timeout=<treeTimeout>

                            Time out in seconds per fragmentation tree

                              computations. 0 for an infinite amount of time.

                            Default: 0

      --compound-timeout=<instanceTimeout>

                            Maximal computation time in seconds for a single

                              compound. 0 for an infinite amount of time.

                            Default: 0

  -p, --profile=<profile>   Name of the configuration profile.

                            Predefined profiles are: `default`, 'qtof',

                              'orbitrap', 'fticr'.

                            Default: default

  -i, --ions-considered=<ionsConsidered>

                            the iontype/adduct of the MS/MS data. Example: [M+H]

                              +, [M-H]-, [M+Cl]-, [M+Na]+, [M]+. You can also

                              provide a comma separated list of adducts.

                            Default: [M+H]+,[M+K]+,[M+Na]+,[M+H-H2O]+,[M+H-H4O2]

                              +,[M+NH4]+,[M-H]-,[M+Cl]-,[M-H2O-H]-,[M+Br]-

  -I, --ions-enforced=<ionsEnforced>

                            the iontype/adduct of the MS/MS data. Example: [M+H]

                              +, [M-H]-, [M+Cl]-, [M+Na]+, [M]+. You can also

                              provide a comma separated list of adducts.

                            Default: ,

      --heuristic-only=<mzToUseHeuristicOnly>

                            Use only heuristic tree computation compounds >=

                              the specified m/z.

                            Default: 650

  -e, --elements-considered=<detectableElements>

                            Set the allowed elements for rare element detection.

                            Example: `SBrClBSe` to allow the elements S,Br,Cl,B

                              and Se.

                            Default: S,Br,Cl,B,Se

  -c, --candidates=<numberOfCandidates>

                            Number of formula candidates in the output.

                            Default: 10

  -E, --elements-enforced=<enforcedElements>

                            Enforce elements for molecular formula

                              determination.

                            Example: CHNOPSCl to allow the elements C, H, N, O,

                              P, S and Cl. Add numbers in brackets to restrict

                              the minimal and maximal allowed occurrence of

                              these elements: CHNOP[5]S[8]Cl[1-2]. When one

                              number is given then it is interpreted as upper

                              bound.

                            Default: C,H,N,O,P

  -f, --formulas=<candidateFormulas>

                            Specify a list of candidate formulas the method

                              should use. Omit this option if you want to

                              consider all possible molecular formulas

                            Default: null

      --candidates-per-ion=<numberOfCandidatesPerIon>

                            Minimum number of candidates in the output for each

                              ionization. Set to force output of results for

                              each possible ionization, even if not part of

                              highest ranked results.

                            Default: 1

      --heuristic=<mzToUseHeuristic>

                            Enable heuristic preprocessing for compounds >= the

                              specified m/z.

                            Default: 300

Commands:

  passatutto               <COMPOUND_TOOL> Compute a decoy spectra based on the

                             fragmentation trees of the given input spectra. If

                             no molecular formula is provided in the input, the

                             top scoring computed formula is used.

  zodiac, rerank-formulas  <DATASET_TOOL> Identify Molecular formulas of all

                             compounds in a dataset together using ZODIAC.

  fingerprint              <COMPOUND_TOOL> Predict molecular fingerprint from

                             MS/MS and fragmentation trees for each compound

                             Individually using CSI:FingerID fingerprint

                             prediction.

  write-summaries, W       <STANDALONE, POSTPROCESSING> Write Summary files

                             from a given project-space into the given

                             project-space or a custom location.


2024年4月26日金曜日

Close to Death 読了

Close to Death (Anthony Horowitz) 読了。Hawthorne and Horowitzシリーズの5作目。ロンドン、リッチモンドのテムズ川沿いにある、6件の高級住宅が電子ゲート内に同居するRiverview closeに住むチェスのグランドマスターが夜明けの前のテムズ川を眺めながらオンラインチェスの対戦をしている。という描写から始まる。Hawthorne and Horowitzシリーズは、Hawthorneがホームズ、著者のHorowitz本人はワトソン役として、あちこちうろうろしながら解決した事件を、後日Horowitzが本にまとめて出版した、というメタフィクション的構造を持っている。なので、基本的に物語はHorowitz視点の1人称で書かれる。しかし、例えば第1作のThe Word is Murderでも一番最初に、その後被害者となる老婦人が殺害される当日に葬式の予約に行く描写は3人称で書かれており、4-5ページ経ったところで、突然、「私はそのころはまだ知らなかった、、」というような感じで、”I”という主語で著者自身が発する声が登場する。

というわけで、本作Close to Death が3人称の描写で始まっても、そのうち1人称が出てくるのかなと思っていたら、なかなか出てこないし、しかも、あれ?時系列がおかしくない?などなど、やきもきした読者はその後の展開に驚愕することになるだろう。詳細はぜひ、読んでほしいが、本作においてHorowitzはメタフィクションの要素を一歩進め(詳しくかけないのが辛い)、作品中で作品について登場人物自身がコメントするというすごいミステリに仕上がってます。はい。

このシリーズは前作のThe Twist of a Knife で年末の海外ミステリ賞の1位を初めて逃したが、本作での帰り咲きは十分にありえるだろう。

また、本作中ではクリスティ、ホームズ、ポアロ、横溝正史!、島田荘司!作品への言及があるように、本格小説へのレスペクト、さらには特にクリスティーの「信頼できない著者」に挑戦する気満々であるように思える。作品中では本作も含めてあと3作を出版する計画となっており、Hawthorneの過去の謎を解きつつ、最後はその謎を知ったHorowitzがHawthorneを殺害する。あるいは、それとは別に、HawthorneがHorowitzの犯罪を暴くというような展開になるのではないかと今からワクワクしている。

2024 8 22追記

「Close to Death」というタイトルは、事件の舞台となったRiverview closeとの掛け言葉になっていて邦訳時のタイトルがどうなるのか気になっていたが、「死はすぐそばに」になったらしい。まあしょうがないよね。

あと、Horowitzの次回作はAtticus Pundものの第3作「Marble Hall Murders」になるらしい。2025年3月13日発売だそうだ。楽しみである。





2024年4月11日木曜日

Python でSPLASH

MassBank レコードにはSplashというスペクトルに対するユニークなタグを付与する必要があります。


手作業で作成するときは下記のEnter Your Spectraで作成できます。


https://splash.fiehnlab.ucdavis.edu/


複数のファイルにSplashをPythonで一括付与するには、スペクトルデータからSPLASHを生成するPythonライブラリ pySPLASH をインストールします。Windows上での使い方を示します。

0. Anacondaがインストールされている前提です。

1. 下記のページに行く。

 https://github.com/berlinguyinca/spectra-hash/tree/master/python




2. Installation の下の「source code (ZIP)」をクリックしてZIPファイルをダウンロード

berlinguyinca-spectra-hash-174fbf2.zip

というファイルがダウンロードされる

このファイルをここではPipelineフォルダにコピーしてます。


3 berlinguyinca-spectra-hash-174fbf2.zip

をWindowsの機能で解凍する。

.\Pipeline\berlinguyinca-spectra-hash-174fbf2\berlinguyinca-spectra-hash-174fbf2\


4 Window メニュー=>Anaconda3 (64-bit)=>Anaconda Prompt (Anaconda 3)

を選択


5. 次にPipelineフォルダに移動する。


6. インストールフォルダに移動

C:\Pipeline>cd b

ここまで入力したらタブを押すと

C:\Pipeline>cd berlinguyinca-spectra-hash-174fbf2

と補完されるのでリターン

最終的に下記に移動

C:\Pipeline\berlinguyinca-spectra-hash-174fbf2\berlinguyinca-spectra-hash-174fbf2>cd python

7. ここでpython setup.py installと入力

C:\Pipeline\berlinguyinca-spectra-hash-174fbf2\berlinguyinca-spectra-hash-174fbf2\python>python setup.py install

これでpySPLASHがインストールされる。


8. 使い方


from splash import Spectrum, SpectrumType, Splash

# スペクトルデータ準備

# [(float m/z , int intensity),(float m/z , int intensity),(float m/z , int intensity)...]

spec = [(68.049498, 14), (70.065138, 999)]

spectrum = Spectrum(spec, SpectrumType.MS) splash = Splash().splash(spectrum)

print(splash)


>splash10-00di-9000000000-f8fa78114da5712d6bf9


と作成できます。



2024年3月8日金曜日

万物の黎明は人類史と読者の世界観を根本からくつがえす

「万物の黎明 人類史を根本からくつがえす」(デヴィッド・グレーバー, デヴィッド・ウェングロウ, 訳:酒井隆史、光文社)を読んだ。楽しい時間が長く続いて幸せだった。日本の歴史学習漫画などでは、縄文時代は少人数のバンドで遊動的な狩猟採集生活を行い、階層のない素朴な社会でした。ところが農耕が伝播すると、生産性が向上して、富の集積が起こり、争いと身分と国家があっという間にできました。というストーリーが語られる。このストーリーには批判が出てきていた。はたとえば、以前読んだジェームズ・C・スコットの「反穀物の人類史――国家誕生のディープヒストリー」では、考古学的な証拠をティグリス=ユーフラテス川流域では、農耕が始まってから、国家の形成までに4000年かかっており、何が起きていたのかはわからないが、これまでのストーリーでは説明がつかないことを指摘していた。「万物の黎明」では、近年の考古学的な知見を横断的に集積して、これまでのストーリがほぼ全部違うというちゃぶ台返し、さらには、そのストーリーが含意する政治的なバイアスを暴き出すことで、もう何か全部粉砕してしまってくれている。本書を受けて、我々は、もはや、現在、過去、未来の社会について、合目的、進化的ストーリーで語ることも、擁護することも、批判することすらできなくなってしまった。サピエンス全史などは、もう完全に吹っ飛んでしまった。

本書は、17世紀のアメリカでおこなわれたキリスト教伝道師とネイティブアメリカンとの対話で、ネイティブアメリカンがヨーロッパの社会の専制性、不平等性、残虐性に対する根本的な批判を行い、それが、伝道記を通じてヨーロッパ社会に伝わり、自由、平等、博愛を掲げたフランス革命につながったことを指摘する。つまり西洋は自由、平等、博愛という概念をネイティブアメリカンの社会に教えてもらったらしい。本書は、その後、初期の人類社会では、様々な形態(専制的だったり平等だったりする)社会が生まれては変化してゆく、動的でとにかく多様であったことを、これでもかという考古学的な実証を踏まえて示し、その過程で、上記のストーリーに出てくる要素が一つ一つの粉砕されていく。ネイティブアメリカンの社会は、特に、専制的な社会の出現と消滅を経験した教訓から、かなり意識的に階層を作らない仕組みを、相当な試行錯誤を経て作り続けてきていたようだ。では、これと同じことは我々にもできるはずである。現行の社会は歴史的な必然でも社会進化の最前線でもない。われわれは自分たちの意思とコミュニケーションを通じて、自由、平等、博愛を実現する社会を構築できるはずだ。と力強く読者の背中を押してくれる。本書の最後では、平等な関係に対称性が生まれるメカニズムに関して、社会的な弱者を実力者が庇護してきた点との関連を指摘しているが、詳しくは述べられていない。このテーマは、日本中世社会を、社会的弱者の聖性が失われ被差別民となっていく画期として描いた網野善彦の仕事に通底するように思えるが、網野はそのメカニズムは述べていない。このテーマをおそらく深堀するはずだった、デビット・クレーバーの次回作が読めなくなってしまったことが残念でならない。

3/13追記:「万物の黎明」は石器時代の人類が残した世界各地の遺構を発掘して得た考古学的最新知見を縦横無尽に逍遥してゆく。ただ、本文中に図版や写真が少なく、いまいちイメージがわきにくい。読みながらWikipediaやGoogle Map現地の様子や、出土品の写真を見ながら読み進めると、より、楽しく読めた。「万物の黎明」にでてくる遺跡などの写真を集めた、ビジュアル「万物の黎明」ガイドみたいな本があったらいいのにと思う。




2024年2月5日月曜日

ソファークッション交換

ぼろいソファーの座面のスポンジを交換しました。みるからに安物の布張りソファーで座ると、クッションがほとんど効かずに底打ち感がします。以下経験談です。

・木枠とスポンジを包む布は木枠にタッカー(ホチキスの針のごついやつ)で固定されています。木の枠に沿ってこれでもか―という数のタッカーが使われていました。はじめはホチキスの針外しを使っていたのですが、らちがあきません。そこで、救いを求めて近くのコーナンに行ったところ、こんな感じのタガネを見つけました(700円くらいだったはず)。これでタッカーの下にトンカチで打ち込んで、すこしタッカーを浮かせた後、ラジオペンチでねじり抜く。という方法でさくさく抜けるようになりました。

・スポンジはオンラインの「スポンジ専門店ソフトプレン」で買いました。HPでサイズを指定して発注すれば、数日後には届きます。注意点は容積が最低10Lという縛りがある点です(同じスポンジ、同じサイズなら複数個合わせて10L )。一人用ソファーの座面でぎりぎりでした。スポンジは固めとやわらかめの2層構造にすると、底打ち感が少なくなります。ネット通販はサンプルがないので、不安になりましたが、今回は、えいやあと下記の組み合わせにしました。送料込みで総計¥ 6,270でした。

少し硬めのウレタンチップスポンジ-希望サイズ販売-
 【4cm X 50cm X 53cm / 1個】単価:¥ 130/L
低反発ウレタンスポンジ-希望サイズ販売-
 【3cm X 53cm X 73cm / 1個】単価:¥ 330/L
送 料 ¥ 880

・スポンジどうしを張り合わせるには、スプレーのりを使います。調べたところ、スプレーのりもいろいろ種類があるようですが、コニシボンドスプレーのりZ3を多くの方が使っているようでしたのでアマゾンで購入。使用前に購入したスポンジの端にスプレーして溶けない確認。このスプレーは、スプレーが縦に広がるタイプで、平面に均一に塗るのに適しています。スポンジを張り合わせたら上から板とおもりを載せて圧着させます。今回はこたつの板の上に座布団を敷いてその上に座ってテレビを見てました。

・あとは組み立ててです。外した布をかぶせて、タッカーを打ってでガンガン固定します。今回は家にあったダイソーのタッカー(300円)と針(100円?)を使いました。木枠が固いのか、針が安物なのか、奥までびしっとなかなか打ち込めなかったので、出っ張った場合はハンマーで叩いてならしました。

・タッカーを打ち終えたら、カバーをかぶせて組み立てて完成。低反発ウレタンスポンジを使ったので座った瞬間は固めの印象ですが、じわっとフィットしてよいすわり心地になりました。あの時、ニトリで新しいソファーを衝動買いなくてよかった、、

・本記事の情報は個人の感想です。ご自身で試される場合は自己責任で。

2024年1月8日月曜日

下新庄駅改築方法

阪急京都線と千里線が交差する淡路駅周辺では高架化工事が進んでいます。事業開始は平成9(1997)年で15年後(2012年完成)の完成を予定していたそうです。が、用地取得が遅れに遅れたらしく、平成15年度に8年(2020年完成)、27年度に7年(2027年完成)、さらに令和5年春には、さらに4年遅れると公表され、現時点では令和13年(2031年)完成予定と、当初予定より20年近く遅れていることが新聞でも話題になっていました。ずっと後から工事を始めたなにわ筋線も2031年春の開業を目指しており、このままだと抜かれそうな勢いです。すでに淡路駅周辺に巨大な高層構造物が出現しているにも関わらず、一向に完成しないことから「アワジダ・ファミリア」などと呼ばれてしまっています。

大阪市のHPにある平成29年3月の「事業再評価調書」には、工事の進捗状況が紹介されており、図4の「阪急電鉄京都線・千里線連続立体交差事業 未取得用地箇所図 」によると、土地取得が最後まで難航したのは、下新庄駅東側であったようです。このため、素人目にも下新庄駅の工事が一番遅れているように見えます。しかし、ここ1-2年の間に土地取得が進んだようで、2024年1月現在、更地になっています。これを踏まえて2023年春に2031年完成予定と発表したとすると、下新庄駅の改築にあと6-7年は必要なようですが、そんなに時間がかかる複雑な工事なんでしょうか?

そこで、今の下新庄駅の工事状況を見てみると、どうやって改築するのかがよくわからないのです。下新庄駅は下町のど真ん中にあり、南北に延びる相対式ホーム2面2線からなります。西側は並行して狭い道路が走っており、ほとんど土地はありません。東側には、駅と並行して取得した用地があります。南側には、踏切一つ挟んで東海道新幹線が東西に走り、北側には踏切があります。かなり手狭な印象です。

2024年1月現在、

・東側の用地が更地になっている。

・淡路方面(南)行のホームが淡路(南)側に延伸し(ずれた)、北端の空いたホームには、建物が建設されている。

・淡路方面行のホーム(東側)の外側に高架駅を支える列柱ができ始めている。

・北千里方面(北)行のホームが北千里方面(北)に延伸した(ずれた)。

・ずらして空いた、北千里方面行のホームの南端が取り壊され、空いた土地で、北千里方面行のホーム(西側)の外側に柱が3本でき始めている。

しかし、

・駅の北側に踏切があるため、北千里方面行のホームをこれ以上、北にずらすことはできなさそうである。つまり、これ以上、西側の柱を作る工事ができない。

・この問題を解決するには、東側の用地に仮設線路と仮設ホームを建設し、現在の線路とホームを撤去するしかないように思える。

・しかし、駅南側の新幹線高架との間にはすでに高架線の柱の建設が済んでおり、下新庄駅ホーム南端とのすきまはそれほど広くなく、仮設線路を引き回せるのかわからない。

・ネット上で調べても下新庄駅の改築方法を説明した資料はみつからない。

ということで、下新庄駅をどうやって改築するのか?という疑問は解決せず、ずっともやもやしていました。

そこで、現地に行けばきっと何かわかると考え、2024年正月明けにヒマに任せて下新庄駅まで情報収集に行ってきました。

まず、東側の工事現場壁に掲示された「住民のみなさまへ 作業のお知らせ」とみると、「下り仮ホーム工」「仮ホーム工事」といった工事が行われているようです。やはり仮設線路をつくるのでしょうか。


さらに下新庄駅改札前に掲示された資料をみると、ありました。「②下新庄駅部計画断面図」では、青で書かれた「現在上り線、現在下り線」がオレンジで書かれた高架構造の内側を走っているのに対し、緑で書かれた「1次仮下り線」が右側(東側)の柱の外側に描かれ、さらに、乗降用の仮ホームが、右側(東側)の柱を囲うように島式で作られるようです。また、「2次仮上り線」は、現在下り線をそのまま使うのではなく、高架構造のど真ん中を通るように仮設線路を設置するようです。




となると、ホーム南端では狭い隙間を縫うように、「1次仮下り線」を東側に出す必要があります。この部分は相当タイトなので本当にできるのかなと見に行くと、すでに淡路方面行ホーム南端(延伸した仮設ホーム)の外側に「1次仮下り線」を引くための地盤が作られていました。写真ではわかりませんが、外側に見えるコンクリートの柱の並びをみると、無理ないカーブで取り廻せるようです。




しかし、現状では、南側にずらして延びた仮設ホームと干渉しているため、ここに「1次仮下り線」を通すには、ホームをもう一度北側(北千里方向)にずらして戻す必要があります。ずらすのに必要な、ホームが北側にできているのではないかと見に行くと、ありました、おそらく仮駅の駅舎部分となる構築物の線路側にホームになりそうなデッキが作られています。



また、淡路方面行のホームから駅の北側をみると、高架橋の東側(右側)に作られた仮設線路が見えます。いまは踏切のあたりでうねっていますが、2次仮上り線ができると、仮設線路の上り線とまっすぐにつながりそうですね。しかし、それには、踏切上の線路も付け替える必要があります。そのための、「住民のみなさまへ 作業のお知らせ」にあった「下新庄踏切試掘」工事なんでしょうか。




現地に行けばいろいろわかるというのは本当でした。

おそらく下新庄駅の工事は

1.淡路方面行ホームを南にずらす

2.淡路方面行ホーム(=仮島式ホーム)北側の駅舎などを建設する

3.高架駅の東側の柱を立てる。

4.淡路方面行ホームを北にずらして、1次仮下り線を通す隙間を作る。

5.仮島式ホーム東側、1次仮下り線をつくる。

6.現在の下り線を1次仮下り線に付け替える。

7.現在の下り線を撤去する。

8.仮島式ホーム西側をつくる。

9.現在の(北千里方面)上り線路を、2次仮上り線にずらす。

10.現在の(北千里方面)上りホームを撤去

11.高架駅の西側の柱を立てる。

12.高架駅を作る

というような段取りで進むのではないでしょうか。この段取りの2番目を実施するための用地取得が遅れてしまった結果、現在2,3のあたりまでしか工事が進んでいません。また、さらに、このようなややこしい工事をあの狭い敷地で実施するのだから、時間がかかるのも仕方ないですね。ぶっちゃけ、下新庄駅をしばらく閉鎖するとか(淡路に近いし)、7、8両目のホームがなくても我慢する(京急は常態でそうなっている)など工夫すれば、1年くらい工期が短縮できるような気もしますが、なかなかむつかしいのしょうね。

とくにこの工程の内、問題は、9.であります。2次仮上り線の2次が何を意味するのか不明ですが(1次仮上り線というのが中継ぎ的につくられるのかもしれない)、2次仮上り線は現行の上り線、下り線と干渉するため、別に作ってから切り替えることができません。このため、ひょっとしたら先日の渋谷駅の工事のように、1-2日運転を休止して、線路を横にずらす作業が計画されているのかもしれません。千里線は平行線がなく、しかも関西大学、阪大の通学路線なので、土日、夏休み、冬休みなどに短期間で行ったりするのでしょうか。困難な工事を進める関係者皆様に敬意を表しつつ、今後も下新庄駅の工事に注目していきたいものであります。


2023年11月30日木曜日

医情工連携シンポジウム - バイオDX人材はどこにいる?

松田の関与する大阪大学国際医工情報センターでは、バイオDX人材にむけ

医情工の連携による取り組みを行っています。その一環として下記シンポジウムを

実施します。ぜひ皆様のご参加をお待ちしております。



 ■医情工連携シンポジウム - バイオDX人材はどこにいる?


日時: 12月11日(月)17:00-19:00
場所: 大阪大学 銀杏会館 阪急電鉄・三和銀行ホール
開催形式: 現地開催のみ
懇親会: 19:00より同会館ミネルバにて(参加費無料)
参加登録:https://forms.gle/mcYbzLnmZC3Rcrzj7

主催:大阪大学国際医工情報センター/情報科学研究科
共催:大阪大学先導的学際研究機構DX社会研究部門

趣旨:バイオDX人材へのニーズが社会的に高まっており、医情工の連携による取り組みが求められています。
     そこで、「阪大内において、どのようなニーズがあるのか?」「養成の取り組みがあるのか?」
     「バイオDX人材はどのように養成されたのか?」を俯瞰するシンポジウムを開催します。
演題:
・バイオDX人材とはだれか?なぜいないのか?
     松田 史生(情報科学研究科バイオ情報工学専攻・教授)
・国際医工情報センターの取り組み
     岡山 慶太(国際医工情報センター・講師)
・乳腺内分泌外科医が情報科学研究科で博士になってみた。
     草田 義昭(医学系研究科・乳腺内分泌外科・助教)
・医学系・生命系との共同研究の面白さと難しさ
     瀬尾茂人(情報科学研究科バイオ情報工学専攻・准教授)
・DX人材はどう育ったか
     山岡 悠(情報科学研究科・博士後期課程/株式会社GramEye技術開発部部長)
・学生が医療機器スタートアップを始めるとどうなるのか?
     平岡 悠(株式会社GramEye・代表取締役社長)