Open ccchen-ccc opened 4 years ago
If a project configuration is not found by Roddy this can have multiple reasons
.
.--configurationDirectories
CLI parameter. Multiple directories should not be separated by spaces but only by commata.Can you check these things?
I have checked your advice and still gain this error below.This is my erro:
(ACEseqWorkflow) [ccc@cccv2-54b47d48b8-9jdct Roddy]$ ./roddy.sh run ACEseq@copyNumberEstimation test --useconfig=/data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/configuration/applicationProperties.ini Required JRE/JDK: 1.8 Required Groovy: 2.4 Runtime Environment: /home/anaconda2/bin/java /home/anaconda2/bin/javac /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/runtimeDevel/groovy-2.4.7/bin/groovy Using Java to start Roddy Roddy version 2.4.10 Loading properties file /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/configuration/applicationProperties.ini. The project configuration "ACEseq" could not be found (call Roddy with listworkflows) Could not load analysis ACEseq@copyNumberEstimation
my projectACEseq.xml:
<configuration configurationType='project' name='ACEseq' description=''>
<availableAnalyses>
<analysis id="copyNumberEstimation" configuration="copyNumberEstimationAnalysis" useplugin="ACEseqWorkflow:1.2.10"/>
</availableAnalyses>
<configurationvalues>
<cvalue name="workflowEnvironmentScript" value="${TOOL_WORKFLOW_ENVIRONMENT_CONDA}" type="string"/>
<cvalue name="condaEnvironmentName" value="ACEseqWorkflow" type="string" description="Name of the Conda environment on the execution hosts. Used by the environment setup script in resources/analysisTools/copyNumberEstimation/enviroments."/>
<cvalue name="baseDirectoryReference" value="$HOME/data_soft/PreparedRoddyZip/reference/hg19_GRCh37_1000genomes/" type="path"/>
<cvalue name='inputBaseDirectory' value='$HOME/test' type='path'/>
<cvalue name='outputBaseDirectory' value='$HOME/test/output' type='path'/>
<cvalue name='outputAnalysisBaseDirectory' value='${outputBaseDirectory}/${pid}' type='path'/>
</configuration>
`
Dear @ccchen-ccc . First I see that you use Roddy 2.4. I strongly advise you to use the newest available Roddy version, because there are a lot of bug-fixes and UI-improvements, such as better error-reporting and reporting of directories being used. Furthermore, I remember that we made a plugin-version bump from the 1.0 versions to 1.2 versions to express the fact, that the newer versions work only with Roddy 3.
Your project XML misses the closing </configurationvalues>
tag. Please use the very latest Roddy version to ensure that such error is actually resulting in an exit code != 0 (a bug that was just fixed last week). Your specification ACEseq@copyNumberEstimation
seems to be fine.
Beyond that, the only reason I can think of in the moment are really that Roddy cannot access the file. The project XML needs to be in a directory listed among the configurationDirectories
. So, Roddy will also not search the current/working/execution directory. Furthermore make sure to always and everywhere use absolute paths.
Thank you !!! Error happened when i used relative path in the file ini. Sorry disturbing you again, i don't understand what's the meaning of 'dataset' when starting Roddy. Here is my problem:
root@ccc950-79cfd9f9fd-4jjtl:/data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy# ./roddy.sh testrun ACEseq@copyNumberEstimation $pid --useconfig=$PATH_TO_PLUGIN_DIRECTORY/configuration/applicationProperties.ini --cvalues="bamfile_list:$pathToControlBamFile;$pathToTumorBamFile,sample_list:control;tumor,possibleControlSampleNamePrefixes:control,possibleTumorSampleNamePrefixes:tumor"Required JRE/JDK: 1.8 Required Groovy: 2.4 Runtime Environment: /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/runtimeDevel/jdk1.8.0_121/bin/java /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/runtimeDevel/jdk1.8.0_121/bin/javac /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/runtimeDevel/groovy-2.4.7/bin/groovy Using Java to start Roddy Roddy version 2.4.10 Loading properties file /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/configuration/applicationProperties.ini. Ignore directory /data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/plugins/PluginBase_1.2.0/resources/analysisTools/.keep; It is not a valid tools directory. The plugin ACEseqWorkflow [ Version: 1.2.10-0 ] was loaded (/data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/plugins/ACEseqWorkflow_1.2.10). The plugin COWorkflowsBasePlugin [ Version: 1.0.0-0 ] was loaded (/data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/plugins/COWorkflowsBasePlugin_1.0.0). The plugin PluginBase [ Version: 1.2.0-0 ] was loaded (/data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/plugins/PluginBase_1.2.0). The plugin DefaultPlugin [ Version: 1.2.0-0 ] was loaded (/data/user/ccc/ccc_I950/data_soft/PreparedRoddyZip/Roddy/dist/plugins/DefaultPlugin_1.2.0). BEJob id for de.dkfz.roddy.execution.jobs.direct.synchronousexecution.DirectSynchronousExecutionJobManager should be configurable BEJob arrays are not supported in de.dkfz.roddy.execution.jobs.direct.synchronousexecution.DirectSynchronousExecutionJobManager BEJob scratch for de.dkfz.roddy.execution.jobs.direct.synchronousexecution.DirectSynchronousExecutionJobManager should be configurable Found 1 datasets in the in- and output directories. The workflow does not seem to be executable for dataset output Context access rights settings could not be validated.
There were errors for the execution context for dataset output
Thanks for reply!!
What i need to config in the "dataset'?
"dataset" is basically the patient ID (PID). Practically its the names of the subdirectories of the input or output directories, which is also used in some other filenames.
I had create a folder named "output" in the input or output directories, but it showed that 'the workflow does not seem to be executable for dataset output'. I don't know how to config the workflow or what the "dataset" need?
Some notes:
outputAllowAccessRightsModification
to false
to get rid of the corresponding error. Ideally, the access rights should be managed via the access rights on the input and output directories. The Roddy mechanism turned out to be unreliable. If you still want to use it, follow the instructions and change outputFileGroup
to an existing Unix group you are a member of.
Sorry, I dont know how to add the project into Roddy as the applicationProperties.ini has been set