GithubHelp home page GithubHelp logo

jyyulab / sjaracne Goto Github PK

View Code? Open in Web Editor NEW
20.0 8.0 16.0 250.11 MB

Scalable Tool for Gene Network Reverse Engineering

License: Other

Python 25.84% Shell 3.68% Makefile 1.42% C++ 59.82% C 0.99% Common Workflow Language 8.25%
gene-network inference mutual-information

sjaracne's Introduction

SJARACNe

Build Status

SJARACNe is a scalable solution of ARACNe that dramatically improves the computational performance, especially on the memory usage to allow even researchers with modest computational power to generate networks from thousands of samples. The algorithm uses adaptive partitioning mutual information to calculate the correlation between all pairs of genes to reconstruct the regulatory network.

Download

git clone https://github.com/jyyulab/SJARACNe # Clone the repo

Prerequisites

Create a virtual environment (recommended)

Using conda to create a virtual environment

The recommended method of setting up the required Python environment and dependencies is to use the conda dependency manager:

$ conda create -n py376 python=3.7.6
$ source activate py376

Installation

Depends on the runtime environment, node.js may be installed manually to run cwltool locally; cwlexec may be installed manually to run on IBM LSF platform.

There are two options to install SJARACNe and its dependencies:

(Option 1) Install via pip

$ pip install SJARACNe

(Option 2) Install from source

$ git clone https://github.com/jyyulab/SJARACNe
$ cd SJARACNe
$ python setup.py build     # build SJARACNe binary
$ python setup.py install

Install optional packages depends on runtime platform

SJARACNe workflow is implemented in Common Workflow Language. Install node.js for running locally using cwltool; install cwlexec to run on IBM LSF platform. Users may check Common Workflow Language site for available workflow engines to run on other platforms, e.g., Toil.

Usage

usage: sjaracne [-h] {local,lsf} ...

SJARACNe is a scalable tool for gene network reverse engineering.

optional arguments:
  -h, --help   show this help message and exit

Subcommands:
  {local,lsf}  platforms
    local      run cwltool in a local workstation
    lsf        run cwlexec as in a IBM LSf cluster

sjaracne workflow is implemented with CWL. It supports multiple computing platforms. We have tested it locally using cwltool and on an IBM LSF cluster using cwlexec. For the convenience, a python wrapper is developed for you to choose computing platform using subcommand.

The local mode (sjaracne local) runs in parallel by default using cwltool's --parallel option. To run it in serial, use --serial option.

To use LSF mode, editing the LSF-specific configuration file SJARACNe/config/config_cwlexec.json to change the default queue and adjust memory reservation for each step is necessary. Consider increasing memory reservation for bootstrap step and consensus step if the dimension of your expression matrix file is large.

Inputs

The main input for SJARACNe is a tab-separated genes/protein by cells/samples expression matrix with the first two columns being ID and symbol. The second required input file is the list of significant genes/proteins IDs to be considered as hubs in the reconstructed network (the most recent version of curated transcription factors and signaling proteins can be found in ./SJARACNe/config/TF_list.txt and ./SJARACNe/config/SIG_list.txt, respectively). An output directory is required for storing output files. Additional parameters (e.g., LSF queue) for running on different platforms are required. Those are available in the helping information of the corresponding subcommands, e.g., sjaracne lsf -h.

Outputs

The main output of SJARACNe is a network file, which is a tab delimited text file with the following columns: source, target, mutual information, Pearson and Spearman correlations coefficients, regression line slope and p-value. SJARACNe also outputs two meta information files: parameter_info_.txt and bootstrap_info_.txt, which stores SJARACNe input parameters and bootstrap parameters respectively.

Examples to create a transcription factor network

Note: for testing purpose, the number of bootstraps (-n) is set to 2, the consensus p-value threshold -pc is set to 1.0 in the following examples. -n 100 and -pc 1e-5 are recommended for real applications. Note that there is no / at the end of the -o option but there is a / at the end of the -tmp option.

Running on a single machine (Linux/OSX)

sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final -pc 1.0 -tmp ./test_data/outputs/cwl/cwltool/tmp/

Running on an IBM LSF cluster

sjaracne lsf -j ./SJARACNe/config/config_cwlexec.json -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final -pc 1.0

Reference

Alireza Khatamian, Evan O. Paull, Andrea Califano* & Jiyang Yu*. SJARACNe: a scalable software tool for gene network reverse engineering from big data. Bioinformatics (2018). *Corresponding authors.

sjaracne's People

Contributors

adamdingliang avatar alirezakh avatar jimmyv9 avatar jyyu avatar khughitt avatar leiyan avatar qingfeipan avatar quantum-man avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sjaracne's Issues

igraph-python does not install

The version requested by this system, 0.7.1 is not available. There is, a version 0.7 and 0.7.1.post6, but both of these versions are not accepted by the package. Please check, thanks.

Did not find output file with glob pattern: ['TF_run_001.adj'].", {}

Hi,

I installed the 'Prerequisites' packages and installed SJARACNE 0.2.1 via 'Option 2 install from source'.
But I'm having trouble getting SJARACNe to do [job bootstrap].

sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final -pc 1.0 -tmp ./test_data/outputs/cwl/cwltool/tmp/
INFO:root:test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO:root:exp_file:
class: File
path: /home/luochenx/SJARACNe/test_data/inputs/BRCA100.exp
probe_file:
class: File
path: /home/luochenx/SJARACNe/test_data/inputs/tf.txt
p_value_consensus: 1.0
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
class: Directory
path: /home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/config
bootstrap_num: 2
final_out_dir_name: SJARACNE_out.final
INFO:root:cwltool --tmpdir-prefix ./test_data/outputs/cwl/cwltool/tmp/ --parallel --outdir ./test_data/outputs/cwl/cwltool/SJARACNE_out.final /home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO /home/luochenx/miniconda3/envs/py376/bin/cwltool 3.1.20230719185429
INFO Resolved '/home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl' to 'file:///home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl'
INFO [workflow ] starting step create_seeds
INFO [workflow ] start
INFO [step create_seeds] start
INFO [workflow ] starting step ch_ending_probe
INFO [step ch_ending_probe] start
INFO [workflow ] starting step validate_files
INFO [step validate_files] start
INFO [job ch_ending_probe] /home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/xve_t_er$ ch_line_ending.py
-i
tf.txt
INFO [workflow ] starting step ch_ending_exp
INFO [step ch_ending_exp] start
INFO [job validate_files] /home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/jfy4h0bl$ QC_input.py
-e
BRCA100.exp
-g
tf.txt
INFO [workflow ] starting step create_adjmat_names
INFO [step create_adjmat_names] start
INFO [job ch_ending_exp] /home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/n1gfgwfc$ ch_line_ending.py
-i
BRCA100.exp
Unix line ending. No need to convert
Unix line ending. No need to convert
INFO [step create_seeds] completed success
INFO [step create_adjmat_names] completed success
INFO [job ch_ending_probe] completed success
INFO [step ch_ending_probe] completed success
INFO [job ch_ending_exp] completed success
INFO [step ch_ending_exp] completed success
INFO [workflow ] starting step bootstrap
INFO [step bootstrap] start
INFO [step bootstrap] start
INFO [job bootstrap] /home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/utoj2h5j$ sjaracne.exe
-i
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/nuac2vxk/stg9302ce80-4b0b-49b8-bb12-39a8cf102ab8/BRCA100.exp
-l
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/nuac2vxk/stgba754226-67d7-4884-8f60-e8dc31feccb7/tf.txt
-s
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/nuac2vxk/stgba754226-67d7-4884-8f60-e8dc31feccb7/tf.txt
-p
0
-e
0
-a
adaptive_partitioning
-r
1
-H
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/nuac2vxk/stg706c63f2-c71f-488d-8011-3c413eee21e0/config
-N
40
-o
TF_run_001.adj
-S
1
INFO [job bootstrap_2] /home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/56oemvqq$ sjaracne.exe
-i
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/_r69ayjb/stgc689dc07-b301-49c5-80bc-971f503c94d4/BRCA100.exp
-l
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/_r69ayjb/stg22b7ea29-6ec3-455e-919c-8fc6cec32348/tf.txt
-s
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/_r69ayjb/stg22b7ea29-6ec3-455e-919c-8fc6cec32348/tf.txt
-p
0
-e
0
-a
adaptive_partitioning
-r
1
-H
/home/luochenx/SJARACNe/test_data/outputs/cwl/cwltool/tmp/_r69ayjb/stga683f34d-5ac5-4e5c-a699-c1119726257e/config
-N
40
-o
TF_run_002.adj
-S
2
sjaracne.exesjaracne.exe: : P-value '-p' must be in the range (0,1]!P-value '-p' must be in the range (0,1]!

WARNING [job bootstrap] exited with status: 1
WARNING [job bootstrap_2] exited with status: 1

ERROR [job bootstrap] Job error:
("Error collecting output for parameter 'out_adj': ../miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne.cwl:85:7: Did not find output file with glob pattern: ['TF_run_001.adj'].", {})
ERROR [job bootstrap_2] Job error:
("Error collecting output for parameter 'out_adj': ../miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne.cwl:85:7: Did not find output file with glob pattern: ['TF_run_002.adj'].", {})
WARNING [job bootstrap] completed permanentFail
WARNING [job bootstrap_2] completed permanentFail
WARNING [step bootstrap] completed permanentFail

INFO [workflow ] completed permanentFail
INFO:root:Number of genes in expression matrix: 28278
INFO:root:Number of hub genes in probe file: 2608
INFO [job validate_files] completed success
INFO [step validate_files] completed success
{
"out_dir": null
}WARNING Final process status is permanentFail
Traceback (most recent call last):
File "/home/luochenx/miniconda3/envs/py376/bin/sjaracne", line 33, in
sys.exit(load_entry_point('SJARACNe==0.2.1', 'console_scripts', 'sjaracne')())
File "/home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 102, in main
run_shell_command_call(cmd)
File "/home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 113, in run_shell_command_call
subprocess.check_call(cmd_to_exec)
File "/home/luochenx/miniconda3/envs/py376/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cwltool', '--tmpdir-prefix', './test_data/outputs/cwl/cwltool/tmp/', '--parallel', '--outdir', './test_data/outputs/cwl/cwltool/SJARACNE_out.final', '/home/luochenx/miniconda3/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl', 'test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml']' returned non-zero exit status 1.

Can you please give me some instructions? I have no idea about this error and fail to search for similar issues and solutions.
And when can we have a docker version? I'm looking forward to it!^_^

Add documentation describing sjaracne parameters / suggested settings

For example, the -n parameter has a default value of "0", but is set to "2" in the README.md examples. The description ("Array measurement noise level") doesn't provide enough information, however, to understand what exactly the parameter is doing, or how to choose an appropriate value, given the type of input data/problem.

Some documentation on readthedocs would be ideal, but even an expanded explanation on the README.md would be very helpful.

Issue: Permission denied

Hallo,

Thanks for the great development.
I'm testing this package with example code shown in the main page. Here comes an issue of Permission denied. Sudo couldn't fix the issue.

Any ideas? many thanks.

The argument [adjmat_dir] for step [consensus] is required

nodecn232 rprod SJARACNe$ sjaracne lsf -j ./SJARACNe/config/config_cwlexec.json -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./results
INFO:root:results/sjaracne_workflow.yml
INFO:root:exp_file:
class: File
path: /research/rgs01/home/clusterHome/lding/Git/SJARACNe/test_data/inputs/BRCA100.exp
probe_file:
class: File
path: /research/rgs01/home/clusterHome/lding/Git/SJARACNe/test_data/inputs/tf.txt
p_value_consensus: 1e-05
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
class: Directory
path: /research/rgs01/home/clusterHome/lding/Git/SJARACNe/SJARACNe/config
bootstrap_num: 2
final_out_dir_name: results
INFO:root:cwlexec -pe PATH -c ./SJARACNe/config/config_cwlexec.json --outdir ./results /research/rgs01/home/clusterHome/lding/Git/SJARACNe/SJARACNe/cwl/sjaracne_workflow.cwl results/sjaracne_workflow.yml
[16:41:21.584] INFO - Workflow ID: 09f6e18f-d40a-41c1-a8ed-fb124d14ca90
[16:41:21.585] INFO - Name: sjaracne_workflow
[16:41:21.585] INFO - Description file path: /research/rgs01/home/clusterHome/lding/Git/SJARACNe/SJARACNe/cwl/sjaracne_workflow.cwl
[16:41:21.585] INFO - Input settings file path: /research/rgs01/home/clusterHome/lding/Git/SJARACNe/results/sjaracne_workflow.yml
[16:41:21.585] INFO - Execution configuration path: /research/rgs01/home/clusterHome/lding/Git/SJARACNe/./SJARACNe/config/config_cwlexec.json
[16:41:21.585] INFO - Output directory: /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
[16:41:21.585] INFO - Work directory: /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
[16:41:21.585] INFO - Workflow "sjaracne_workflow" started to execute.
[16:41:21.592] INFO - Started job (validate_files) with
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/validate_files
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=100MB]
QC_input.py -e BRCA100.exp -g tf.txt
[16:41:21.595] INFO - Started job (ch_ending_exp) with
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_exp
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=100MB]
ch_line_ending.py -i BRCA100.exp
[16:41:21.605] INFO - Started job (ch_ending_probe) with
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_probe
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=100MB]
ch_line_ending.py -i tf.txt
[16:41:21.619] INFO - Pre-submitted job (bootstrap) with a placeholder command:
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=9999MB]
-H
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/bootstrap
[16:41:21.622] INFO - Pre-submitted job (copy_to_dir) with a placeholder command:
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/copy_to_dir
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=100MB]
-H
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/copy_to_dir/copy_to_dir
[16:41:21.623] INFO - Pre-submitted job (consensus) with a placeholder command:
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/consensus
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=20000MB]
-H
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/consensus/consensus
[16:41:22.221] INFO - Job (ch_ending_exp) was submitted. Job <89794467> is submitted to queue .
[16:41:22.261] INFO - Job (consensus) was submitted. Job <89794469> is submitted to queue .
[16:41:22.264] INFO - Job (validate_files) was submitted. Job <89794471> is submitted to queue .
[16:41:22.265] INFO - Job (create_adjmat_names) was submitted. Job <89794474> is submitted to queue .
[16:41:22.267] INFO - Job (create_seeds) was submitted. Job <89794470> is submitted to queue .
[16:41:22.274] INFO - Job (bootstrap) was submitted. Job <89794472> is submitted to queue .
[16:41:22.275] INFO - Job (ch_ending_probe) was submitted. Job <89794473> is submitted to queue .
[16:41:22.275] INFO - Job (copy_to_dir) was submitted. Job <89794468> is submitted to queue .
[16:41:22.279] INFO - Started to wait for jobs by
bwait
-w
done(89794471)
[16:41:22.294] INFO - Started to wait for jobs by
bwait
-w
done(89794470) && done(89794474) && done(89794467) && done(89794473)
[16:41:25.082] INFO - The job (validate_files) <89794471> is done with stdout from LSF:
Job <QC_input.py -e BRCA100.exp -g tf.txt> was submitted from host by user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
Job was executed on host(s) , in queue , as user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:23 2019.
</home/lding> was used as the home directory.
</home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/validate_files> was used as the working directory.
Started at Thu Nov 7 16:41:23 2019.
Terminated at Thu Nov 7 16:41:24 2019.
Results reported at Thu Nov 7 16:41:24 2019.

LSBATCH: User input

QC_input.py -e BRCA100.exp -g tf.txt

Successfully completed.
Resource usage summary:
CPU time : 1.13 sec.
Max Memory : 15 MB
Average Memory : 15.00 MB
Total Requested Memory : 100.00 MB
Delta Memory : 85.00 MB
Max Swap : -
Max Processes : 3
Max Threads : 4
Run time : 2 sec.
Turnaround time : 2 sec.
The output (if any) follows:

[16:41:25.538] INFO - The job (ch_ending_exp) <89794467> is done with stdout from LSF:
Job <ch_line_ending.py -i BRCA100.exp> was submitted from host by user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
Job was executed on host(s) , in queue , as user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
</home/lding> was used as the home directory.
</home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_exp> was used as the working directory.
Started at Thu Nov 7 16:41:22 2019.
Terminated at Thu Nov 7 16:41:24 2019.
Results reported at Thu Nov 7 16:41:24 2019.

LSBATCH: User input

ch_line_ending.py -i BRCA100.exp

Successfully completed.
Resource usage summary:
CPU time : 0.12 sec.
Max Memory : 14 MB
Average Memory : 13.00 MB
Total Requested Memory : 100.00 MB
Delta Memory : 86.00 MB
Max Swap : -
Max Processes : 3
Max Threads : 4
Run time : 1 sec.
Turnaround time : 2 sec.
The output (if any) follows:

[16:41:25.560] INFO - The job (ch_ending_probe) <89794473> is done with stdout from LSF:
Job <ch_line_ending.py -i tf.txt> was submitted from host by user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
Job was executed on host(s) , in queue , as user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:23 2019.
</home/lding> was used as the home directory.
</home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_probe> was used as the working directory.
Started at Thu Nov 7 16:41:23 2019.
Terminated at Thu Nov 7 16:41:24 2019.
Results reported at Thu Nov 7 16:41:24 2019.

LSBATCH: User input

ch_line_ending.py -i tf.txt

Successfully completed.
Resource usage summary:
CPU time : 0.10 sec.
Max Memory : -
Average Memory : -
Total Requested Memory : 100.00 MB
Delta Memory : -
Max Swap : -
Max Processes : -
Max Threads : -
Run time : 2 sec.
Turnaround time : 2 sec.
The output (if any) follows:

[16:41:25.571] INFO - The step (bootstrap) scatter of 2 jobs by dotproduct.
[16:41:25.571] INFO - Started job (bootstrap_1) with
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/scatter1
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=9999MB]
sjaracne.exe -i /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_exp/BRCA100.exp -l /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_probe/tf.txt -s /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_probe/tf.txt -p 1.0E-7 -e 0 -a adaptive_partitioning -r 1 -H /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/config -N 40 -o TF_run_000.adj -S 0
[16:41:25.571] INFO - Started job (bootstrap_2) with
bsub
-cwd
/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/scatter2
-o
%J_out
-e
%J_err
-env
PATH,TMPDIR=/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90
-q
compbio
-P
SJARACNe
-R
rusage[mem=9999MB]
sjaracne.exe -i /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_exp/BRCA100.exp -l /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_probe/tf.txt -s /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_probe/tf.txt -p 1.0E-7 -e 0 -a adaptive_partitioning -r 1 -H /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/config -N 40 -o TF_run_001.adj -S 1
[16:41:25.686] INFO - Job (bootstrap_1) was submitted. Job <89794475> is submitted to queue .
[16:41:25.686] INFO - Job (bootstrap_2) was submitted. Job <89794476> is submitted to queue .
[16:41:25.687] INFO - Started to wait for jobs by
bwait
-w
done(89794475) && done(89794476)

[17:00:08.422] INFO - Fill out the scatter gather result in the script /home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/bootstrap
[17:00:08.425] INFO - Resuming job (bootstrap) <89794472> with
bresume
89794472
[17:00:09.708] INFO - The job (bootstrap) <89794472> is done with stdout from LSF:
Job </home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/bootstrap> was submitted from host by user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
Job was executed on host(s) , in queue , as user in cluster <hpcf_research_cluster> at Thu Nov 7 17:00:09 2019.
</home/lding> was used as the home directory.
</home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap> was used as the working directory.
Started at Thu Nov 7 17:00:09 2019.
Terminated at Thu Nov 7 17:00:09 2019.
Results reported at Thu Nov 7 17:00:09 2019.

LSBATCH: User input

/home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/bootstrap/bootstrap

Successfully completed.
Resource usage summary:
CPU time : 0.04 sec.
Max Memory : -
Average Memory : -
Total Requested Memory : 9999.00 MB
Delta Memory : -
Max Swap : -
Max Processes : 1
Max Threads : 1
Run time : 1 sec.
Turnaround time : 1127 sec.
The output (if any) follows:

[17:00:09.759] INFO - Resuming job (copy_to_dir) <89794468> with
bresume
89794468
[17:00:09.783] INFO - Started to wait for jobs by
bwait
-w
done(89794467) && done(89794468)
[17:00:10.936] INFO - The job (ch_ending_exp) <89794467> is done with stdout from LSF:
Job <ch_line_ending.py -i BRCA100.exp> was submitted from host by user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
Job was executed on host(s) , in queue , as user in cluster <hpcf_research_cluster> at Thu Nov 7 16:41:22 2019.
</home/lding> was used as the home directory.
</home/lding/cwl-workdir/09f6e18f-d40a-41c1-a8ed-fb124d14ca90/ch_ending_exp> was used as the working directory.
Started at Thu Nov 7 16:41:22 2019.
Terminated at Thu Nov 7 16:41:24 2019.
Results reported at Thu Nov 7 16:41:24 2019.

LSBATCH: User input

ch_line_ending.py -i BRCA100.exp

Successfully completed.
Resource usage summary:
CPU time : 0.12 sec.
Max Memory : 14 MB
Average Memory : 13.00 MB
Total Requested Memory : 100.00 MB
Delta Memory : 86.00 MB
Max Swap : -
Max Processes : 3
Max Threads : 4
Run time : 1 sec.
Turnaround time : 2 sec.
The output (if any) follows:

[17:00:10.993] ERROR - Failed to wait for job consensus <89794469>, The argument [adjmat_dir] for step [consensus] is required.
[17:00:10.993] ERROR - The workflow (sjaracne_workflow) exited with <255>.
[17:00:10.993] WARN - killing waiting job (consensus) <89794469>.
Traceback (most recent call last):
File "/home/lding/.conda/envs/py361_test/bin/sjaracne", line 11, in
load_entry_point('SJARACNe==0.2.0', 'console_scripts', 'sjaracne')()
File "/research/rgs01/home/clusterHome/lding/Git/SJARACNe/SJARACNe/sjaracne.py", line 99, in main
run_shell_command_call(cmd)
File "/research/rgs01/home/clusterHome/lding/Git/SJARACNe/SJARACNe/sjaracne.py", line 110, in run_shell_command_call
subprocess.check_call(cmd_to_exec)
File "/home/lding/.conda/envs/py361_test/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cwlexec', '-pe', 'PATH', '-c', './SJARACNe/config/config_cwlexec.json', '--outdir', './results', '/research/rgs01/home/clusterHome/lding/Git/SJARACNe/SJARACNe/cwl/sjaracne_workflow.cwl', 'results/sjaracne_workflow.yml']' returned non-zero exit status 255.

Permission Denied

Hello,

I am testing SJARACNe on my university HPC in a conda env.

I created a conda env with python 3.6.1, installed dependencies, and installed from source as described on README.

When running SJARCNE I get the following errors as seen in excerpt of output file below.

  1. "PermissionError: [Errno 13] Permission denied"
  2. Output is missing expected field

I saw that there was a closed ticket that also referenced "permission denied" but what was mentioned in that thread was not helpful for me.

`/ihome/uchandran/raa144/.conda/envs/py36/bin/cwltool 1.0.20190618201008
Resolved '/ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/cwl/sjaracne_workflow.cwl' to 'file:///ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/cwl/sjaracne_workflow.cwl'
[workflow ] start
[workflow ] starting step create_seeds
[step create_seeds] start
[workflow ] starting step ch_ending_probe
[step ch_ending_probe] start
[job ch_ending_probe] /scratch/slurm-3928660/b9o4p57e$ ch_line_ending.py
-i
tf.txt
[workflow ] starting step create_adjmat_names
[step create_adjmat_names] start
[workflow ] starting step ch_ending_exp
[step ch_ending_exp] start

Exception while running job
Traceback (most recent call last):
File "/ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/site-packages/cwltool/job.py", line 319, in _execute
monitor_function=monitor_function
File "/ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/site-packages/cwltool/job.py", line 777, in _job_popen
cwd=cwd)
File "/ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/subprocess.py", line 707, in init
restore_signals, start_new_session)
File "/ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/subprocess.py", line 1326, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied

[job ch_ending_probe] completed permanentFail
[workflow ] starting step validate_files
[step validate_files] start
[job ch_ending_exp] /scratch/slurm-3928660/63isl_y2$ ch_line_ending.py
-i
input.exp
[job validate_files] /scratch/slurm-3928660/ostrz224$ QC_input.py
-e
input.exp
-g
tf.txt
[step ch_ending_probe] Output is missing expected field file:///ihome/uchandran/raa144/.conda/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/cwl/sjaracne_workflow.cwl#ch_ending_probe/out_file
[step ch_ending_probe] completed permanentFail`

"rho" is probably named wrong

212 rho, intercept, r, p, stderr = stats.linregress(exp_values1, exp_values2)
213 scc, sp = stats.spearmanr(exp_values1, exp_values2)
214 pcc, pp = stats.pearsonr(exp_values1, exp_values2)
215
216 row = (node1, node2, gene_symbol1, gene_symbol2,
217 "{0:.4f}".format(mi), "{0:.4f}".format(pcc), "{0:.4f}".format(scc),
218 "{0:.4f}".format(rho), "{0:.4f}".format(p))

"rho" is probably named wrong. rho is actually Slope of the regression line according to
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html

problem when trying to runSJARACNe

Hello,

thank you for you quick answer to my previous question.

Indeed, I was able to run the command sjaracne -h without any error message. However, when trying to run analysis on my own data and on the data presented as example : sjaracne local -e ~/data/AML/analysis_SJ_ARACNE/BRCA100.exp -g ~/data/AML/analysis_SJ_ARACNE/tf.txt -o ~/data/AML/analysis_SJ_ARACNE/SJARACNE_out.final . I get the following error message : ``` File "/home/esteve/anaconda2/envs/py36/lib/python3.6/subprocess.py", line 707, in init
restore_signals, start_new_session)
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/subprocess.py", line 1326, in _execute_child
raise child_exception_type(errno_num, err_msg)
PermissionError: [Errno 13] Permission denied
WARNING [job ch_ending_exp] completed permanentFail
WARNING [job ch_ending_probe] completed permanentFail
WARNING [job validate_files] completed permanentFail
ERROR [step ch_ending_exp] Output is missing expected field file:///home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/cwl/sjaracne_workflow.cwl#ch_ending_exp/out_file

Run with error

Hi,
I have installed all the requirements and run SJAR in Ubuntu 20.04.
environment: python 3.7.4, Node.js v17.9.0
However, i've been having some issues. The ERROR information is listed below:
【subprocess.CalledProcessError: Command '['cwltool', '--parallel', '--outdir', './test_data/outputs/cwl/cwltool/SJARACNE_out.final', '/home/yiyu/software/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl', 'test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml']' returned non-zero exit status 1.】
Please help me to solve the problem. Thank you!

[Errno 13] Permission denied: 'create_consensus_network.py'

Hi authors,

after using successfully SJARACNe (local, v. 0.2.0) several times last months, some days ago (with a new set of gene expression data) I encountered a 'permission error'.
I already tried to change permissions to the files/folders that gave error, then re-ran the program and had the same error; everything is fine until the very end when creating the final consensus network (attached is a screenshot of the error).

sjaracne_perm_error

Do you have any idea of what other permission(s) should I give and to which files/folder, or do I need to re-install package?

Thanks in advance for your answer,

Alberto

empty output file

Hi, I am sorry for bothering you again with the empty output file issue. I really like this method and would like to apply it to my own RNA-seq data.

I actually ran the example command provided in README file (sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final). It seems everything is good, but the output file (consensus_network_ncol_.txt) is empty (please see the details below). I double checked the gene IDs in the input expression file (BRCA100.exp) and TF list file (tf.txt), and they matched very well. Please let me know if you have any suggestions about this problem. Thank you very much!

(py374) SJARACNe $$ sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final
INFO:root:test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO:root:exp_file:
class: File
path: /mnt/workspace/lili/software/SJARACNe/test_data/inputs/BRCA100.exp
probe_file:
class: File
path: /mnt/workspace/lili/software/SJARACNe/test_data/inputs/tf.txt
p_value_consensus: 1e-05
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
class: Directory
path: /mnt/userspace/lili/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/config
bootstrap_num: 2
final_out_dir_name: SJARACNE_out.final
INFO:root:cwltool --parallel --outdir ./test_data/outputs/cwl/cwltool/SJARACNE_out.final /mnt/userspace/lili/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO /mnt/userspace/lili/anaconda3/envs/py374/bin/cwltool 3.1.20211107152837
INFO Resolved '/mnt/userspace/lili/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl' to 'file:///mnt/userspace/lili/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl'
INFO [workflow ] starting step ch_ending_probe
INFO [workflow ] start
INFO [step ch_ending_probe] start
INFO [workflow ] starting step create_seeds
INFO [step create_seeds] start
INFO [workflow ] starting step validate_files
INFO [step validate_files] start
INFO [job ch_ending_probe] /tmp/3lq_6sbq$ ch_line_ending.py
-i
tf.txt
INFO [workflow ] starting step create_adjmat_names
INFO [step create_adjmat_names] start
INFO [workflow ] starting step ch_ending_exp
INFO [step ch_ending_exp] start
INFO [job ch_ending_exp] /tmp/3bhec4c4$ ch_line_ending.py
-i
BRCA100.exp
INFO [job validate_files] /tmp/4xxm7r8y$ QC_input.py
-e
BRCA100.exp
-g
tf.txt
Unix line ending. No need to convert
Unix line ending. No need to convert
INFO [step create_seeds] completed success
INFO [step create_adjmat_names] completed success
INFO [job ch_ending_probe] completed success
INFO [step ch_ending_probe] completed success
INFO:root:Number of genes in expression matrix: 28278
INFO:root:Number of hub genes in probe file: 2608
INFO [job validate_files] completed success
INFO [step validate_files] completed success
INFO [job ch_ending_exp] completed success
INFO [step ch_ending_exp] completed success
INFO [workflow ] starting step bootstrap
INFO [step bootstrap] start
INFO [step bootstrap] start
INFO [job bootstrap] /tmp/au1hrkx8$ sjaracne.exe
-i
/tmp/qb0xobu0/stge6207d86-b55f-4ddb-80e5-f991eeb0e874/BRCA100.exp
-l
/tmp/qb0xobu0/stg8f1e99ca-43ad-4808-aaab-c0d117f38ef5/tf.txt
-s
/tmp/qb0xobu0/stg8f1e99ca-43ad-4808-aaab-c0d117f38ef5/tf.txt
-p
1e-07
-e
0
-a
adaptive_partitioning
-r
1
-H
/tmp/qb0xobu0/stgc20aecff-67f7-4303-b6f6-aeb34c001364/config
-N
40
-o
TF_run_001.adj
-S
1
INFO [job bootstrap_2] /tmp/_qy5gmaz$ sjaracne.exe
-i
/tmp/g5cml312/stg9627380e-0328-4131-91b2-f6638193b937/BRCA100.exp
-l
/tmp/g5cml312/stg4dc9aae6-3b92-4ee2-abfa-3e9170b388fd/tf.txt
-s
/tmp/g5cml312/stg4dc9aae6-3b92-4ee2-abfa-3e9170b388fd/tf.txt
-p
1e-07
-e
0
-a
adaptive_partitioning
-r
1
-H
/tmp/g5cml312/stgc0eb7267-672f-4f60-a2b7-2e9bde53387e/config
-N
40
-o
TF_run_002.adj
-S
2
Displaying parameters

[PARA] Input file: /tmp/g5cml312/stg9627380e-0328-4131-91b2-f6638193b937/BRCA100.exp
[PARA] Output file: TF_run_002.adj
[PARA] MI P-value: 1e-07
[PARA] DPI tolerance: 0
Displaying parameters

[PARA] Input file: /tmp/qb0xobu0/stge6207d86-b55f-4ddb-80e5-f991eeb0e874/BRCA100.exp
[PARA] Output file: TF_run_001.adj
[PARA] MI P-value: 1e-07
[PARA] DPI tolerance: 0
[PARA] Subset of probes to reconstruct: /tmp/g5cml312/stg4dc9aae6-3b92-4ee2-abfa-3e9170b388fd/tf.txt (2608)
[PARA] Subset of probes to reconstruct: /tmp/qb0xobu0/stg8f1e99ca-43ad-4808-aaab-c0d117f38ef5/tf.txt (2608)
[PARA] TF annotation list: /tmp/g5cml312/stg4dc9aae6-3b92-4ee2-abfa-3e9170b388fd/tf.txt (2608)
[PARA] Npar limit: 40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
[PARA] TF annotation list: /tmp/qb0xobu0/stg8f1e99ca-43ad-4808-aaab-c0d117f38ef5/tf.txt (2608)
[PARA] Npar limit: 40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
Marker No: 28278 (28278 active), Array No: 100
Marker No: 28278 (28278 active), Array No: 100
MI threshold determined for p=1e-07: 0.153257
MI threshold determined for p=1e-07: 0.153257
10%, time: 68
10%, time: 71
20%, time: 134
20%, time: 142
30%, time: 201
30%, time: 213
40%, time: 269
40%, time: 284
50%, time: 336
50%, time: 355
60%, time: 403
60%, time: 426
70%, time: 470
70%, time: 497
80%, time: 537
80%, time: 568
90%, time: 604
90%, time: 639
Gene: 2608 Time: 671
[NETWORK] Applying DPI ...
Gene: 2608 Time: 709
[NETWORK] Applying DPI ...
DPI running time is: 74
Writing matrix: TF_run_002.adj
Maximum observed npar: 4
INFO [job bootstrap_2] Max memory used: 44MiB
INFO [job bootstrap_2] completed success
DPI running time is: 44
Writing matrix: TF_run_001.adj
Maximum observed npar: 4
INFO [job bootstrap] Max memory used: 44MiB
INFO [job bootstrap] completed success
INFO [step bootstrap] completed success
INFO [workflow ] starting step copy_to_dir
INFO [step copy_to_dir] start
INFO [step copy_to_dir] completed success
INFO [workflow ] starting step consensus
INFO [step consensus] start
INFO [job consensus] /tmp/7xvey2xl$ create_consensus_network.py
-a
/tmp/wkgmm1xk/stgd130b55f-7eed-4ab2-9571-85fd48bee053/SJARACNE_out.final
-p
1e-05
-e
/tmp/wkgmm1xk/stg40ee836d-106d-4342-a870-13cc30a161fe/BRCA100.exp
-o
SJARACNE_out.final
INFO:root:Create an initial consensus network ...
INFO:root:Done
INFO:root:Create an enhanced consensus network ...
INFO:root:All done
INFO [job consensus] Max memory used: 195MiB
INFO [job consensus] completed success
INFO [step consensus] completed success
INFO [workflow ] completed success
{
"out_dir": {
"location": "file:///mnt/workspace/lili/software/SJARACNe/test_data/outputs/cwl/cwltool/SJARACNE_out.final/consensus_network_ncol_.txt",
"basename": "consensus_network_ncol_.txt",
"class": "File",
"checksum": "sha1$823c13f202337831dc1033bc8ced26948e01267a",
"size": 76,
"path": "/mnt/workspace/lili/software/SJARACNe/test_data/outputs/cwl/cwltool/SJARACNE_out.final/consensus_network_ncol_.txt"
}
}
INFO Final process status is success
INFO:root:All done.

Best,
Lili

empty output file

Hi, I ran the test command, everything seems to be fine but the output file (consensus_network_ncol_.txt) is empty (76 bytes). What could be the possible reason?
Also, what is the best way to export an expression matrix from R to be compatible with the input format? I always have to delete double quotes around the strings when using the write.table function.

(py374) me@MacBook-Pro-2 SJARACNe % sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final
INFO:root:test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO:root:exp_file:
class: File
path: /Users/me/Documents/GitHub/tabula-muris-senis/Data/MACA/bulk_data/ARACNe-AP3/GSE_Gene_Folder/SJARACNe/test_data/inputs/BRCA100.exp
probe_file:
class: File
path: /Users/me/Documents/GitHub/tabula-muris-senis/Data/MACA/bulk_data/ARACNe-AP3/GSE_Gene_Folder/SJARACNe/test_data/inputs/tf.txt
p_value_consensus: 1e-05
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
class: Directory
path: /Users/me/opt/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/config
bootstrap_num: 2
final_out_dir_name: SJARACNE_out.final
INFO:root:cwltool --parallel --outdir ./test_data/outputs/cwl/cwltool/SJARACNE_out.final /Users/me/opt/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO /Users/me/opt/anaconda3/envs/py374/bin/cwltool 3.1.20220119140128
INFO Resolved '/Users/me/opt/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl' to 'file:///Users/me/opt/anaconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl'
INFO [workflow ] starting step create_seeds
INFO [step create_seeds] start
INFO [workflow ] starting step ch_ending_exp
INFO [step ch_ending_exp] start
INFO [workflow ] start
INFO [workflow ] starting step create_adjmat_names
INFO [step create_adjmat_names] start
INFO [workflow ] starting step validate_files
INFO [step validate_files] start
INFO [job ch_ending_exp] /private/tmp/docker_tmp7obqriib$ ch_line_ending.py
-i
BRCA100.exp
INFO [workflow ] starting step ch_ending_probe
INFO [step ch_ending_probe] start
INFO [job validate_files] /private/tmp/docker_tmpfxaywulf$ QC_input.py
-e
BRCA100.exp
-g
tf.txt
INFO [job ch_ending_probe] /private/tmp/docker_tmpcpcd_806$ ch_line_ending.py
-i
tf.txt
Unix line ending. No need to convert
Unix line ending. No need to convert
INFO [step create_seeds] completed success
INFO [step create_adjmat_names] completed success
INFO [job ch_ending_probe] completed success
INFO [step ch_ending_probe] completed success
INFO [job ch_ending_exp] completed success
INFO [step ch_ending_exp] completed success
INFO [workflow ] starting step bootstrap
INFO [step bootstrap] start
INFO [step bootstrap] start
INFO [job bootstrap] /private/tmp/docker_tmpl81aw14o$ sjaracne.exe
-i
/private/tmp/docker_tmp15399vo4/stg55dafd91-44c8-4389-8df6-60ac7b1c80b7/BRCA100.exp
-l
/private/tmp/docker_tmp15399vo4/stg7948ea55-4804-403b-be2d-5fdaced8d6b3/tf.txt
-s
/private/tmp/docker_tmp15399vo4/stg7948ea55-4804-403b-be2d-5fdaced8d6b3/tf.txt
-p
1e-07
-e
0
-a
adaptive_partitioning
-r
1
-H
/private/tmp/docker_tmp15399vo4/stg0c62de08-8d48-4744-a70a-65a945e3a2d9/config
-N
40
-o
TF_run_001.adj
-S
1
Displaying parameters

[PARA] Input file: /private/tmp/docker_tmp15399vo4/stg55dafd91-44c8-4389-8df6-60ac7b1c80b7/BRCA100.exp
[PARA] Output file: TF_run_001.adj
[PARA] MI P-value: 1e-07
[PARA] DPI tolerance: 0
INFO [job bootstrap_2] /private/tmp/docker_tmp5tw8iri3$ sjaracne.exe
-i
/private/tmp/docker_tmp66scs3v6/stgc6734db1-38c2-47ef-806c-3a703e249c46/BRCA100.exp
-l
/private/tmp/docker_tmp66scs3v6/stg01828072-9cdb-4d56-91fa-d5aeedf30ba4/tf.txt
-s
/private/tmp/docker_tmp66scs3v6/stg01828072-9cdb-4d56-91fa-d5aeedf30ba4/tf.txt
-p
1e-07
-e
0
-a
adaptive_partitioning
-r
1
-H
/private/tmp/docker_tmp66scs3v6/stg981983cd-7e89-4a77-adac-0bdc3a5e063a/config
-N
40
-o
TF_run_002.adj
-S
2
[PARA] Subset of probes to reconstruct: /private/tmp/docker_tmp15399vo4/stg7948ea55-4804-403b-be2d-5fdaced8d6b3/tf.txt (2608)
[PARA] TF annotation list: /private/tmp/docker_tmp15399vo4/stg7948ea55-4804-403b-be2d-5fdaced8d6b3/tf.txt (2608)
[PARA] Npar limit: 40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
Displaying parameters

[PARA] Input file: /private/tmp/docker_tmp66scs3v6/stgc6734db1-38c2-47ef-806c-3a703e249c46/BRCA100.exp
[PARA] Output file: TF_run_002.adj
[PARA] MI P-value: 1e-07
[PARA] DPI tolerance: 0
[PARA] Subset of probes to reconstruct: /private/tmp/docker_tmp66scs3v6/stg01828072-9cdb-4d56-91fa-d5aeedf30ba4/tf.txt (2608)
[PARA] TF annotation list: /private/tmp/docker_tmp66scs3v6/stg01828072-9cdb-4d56-91fa-d5aeedf30ba4/tf.txt (2608)
[PARA] Npar limit: 40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
INFO:root:Number of genes in expression matrix: 28278
INFO:root:Number of hub genes in probe file: 2608
INFO [job validate_files] completed success
INFO [step validate_files] completed success
Marker No: 28278 (28278 active), Array No: 100
MI threshold determined for p=1e-07: 0.153257
Marker No: 28278 (28278 active), Array No: 100
MI threshold determined for p=1e-07: 0.153257
10%, time: 98
10%, time: 104
20%, time: 191
20%, time: 206
30%, time: 289
30%, time: 312
40%, time: 386
40%, time: 417
50%, time: 484
50%, time: 522
60%, time: 584
60%, time: 629
70%, time: 683
70%, time: 737
80%, time: 780
80%, time: 841
90%, time: 876
90%, time: 947
Gene: 2608 Time: 975
[NETWORK] Applying DPI ...
DPI running time is: 22
Writing matrix: TF_run_001.adj
Maximum observed npar: 4
INFO [job bootstrap] Max memory used: 31MiB
INFO [job bootstrap] completed success
Gene: 2608 Time: 1056
[NETWORK] Applying DPI ...
DPI running time is: 72
Writing matrix: TF_run_002.adj
Maximum observed npar: 5
INFO [job bootstrap_2] Max memory used: 43MiB
INFO [job bootstrap_2] completed success
INFO [step bootstrap] completed success
INFO [workflow ] starting step copy_to_dir
INFO [step copy_to_dir] start
INFO [step copy_to_dir] completed success
INFO [workflow ] starting step consensus
INFO [step consensus] start
INFO [job consensus] /private/tmp/docker_tmpbwqqp6k8$ create_consensus_network.py
-a
/private/tmp/docker_tmps2hu55p1/stg0f32d3cf-d297-49fe-b902-1f2f5071aa95/SJARACNE_out.final
-p
1e-05
-e
/private/tmp/docker_tmps2hu55p1/stgfe88ced8-c78a-4980-849a-0ecc54fe65ec/BRCA100.exp
-o
SJARACNE_out.final
INFO:root:Create an initial consensus network ...
INFO:root:Done
INFO:root:Create an enhanced consensus network ...
INFO:root:All done
INFO [job consensus] Max memory used: 97MiB
INFO [job consensus] completed success
INFO [step consensus] completed success
INFO [workflow ] completed success
{
"out_dir": {
"location": "file:///Users/me/Documents/GitHub/tabula-muris-senis/Data/MACA/bulk_data/ARACNe-AP3/GSE_Gene_Folder/SJARACNe/test_data/outputs/cwl/cwltool/SJARACNE_out.final/consensus_network_ncol_.txt",
"basename": "consensus_network_ncol_.txt",
"class": "File",
"checksum": "sha1$823c13f202337831dc1033bc8ced26948e01267a",
"size": 76,
"path": "/Users/me/Documents/GitHub/tabula-muris-senis/Data/MACA/bulk_data/ARACNe-AP3/GSE_Gene_Folder/SJARACNe/test_data/outputs/cwl/cwltool/SJARACNE_out.final/consensus_network_ncol_.txt"
}
}
INFO Final process status is success
INFO:root:All done.

sjaracne.exe not found

Hi there !
I'm having trouble getting SJARACNe to work.
Using Ubuntu 18.04 and python3.6(.8) , I first built SJARACNe from source using the commands specified in the instructions.
After changing permission rights for all scripts in /usr/local/lib/python3.6/dist-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/bin, I could move forward a little bit.

Now I'm getting the an 'sjaracne.exe' error thrown at me, see output attached. I cannot find it anywhere and noticed it got removed during development ?

Any suggestions are much appreciated.

SJARACNe-Fail.txt

bwait command failed

[20:52:44.975] INFO - Fill out commands in the script /home/lding/cwl-workdir/29ca9a8a-2a88-49a6-a57c-829fe06fa645/consensus/consensus:
create_consensus_network.py -a /home/lding/cwl-workdir/29ca9a8a-2a88-49a6-a57c-829fe06fa645/copy_to_dir/results -p 1.0E-5 -e /home/lding/cwl-workdir/29ca9a8a-2a88-49a6-a57c-829fe06fa645/ch_ending_exp/BRCA100.exp -o results
[20:52:44.977] INFO - Resuming job (consensus) <83971060> with
bresume
83971060
[20:52:44.997] INFO - Started to wait for jobs by
bwait
-w
done(83971060)
[20:54:09.231] ERROR - The bwait command failed to execute (exitCode=2, exitMsg=done(83971060): Wait condition is never satisfied)
[20:54:09.231] ERROR - The workflow (sjaracne_workflow) exited with <1>.
Traceback (most recent call last):
File "/home/lding/.conda/envs/py361/bin/sjaracne", line 11, in
load_entry_point('SJARACNe==0.2.0', 'console_scripts', 'sjaracne')()
File "/home/lding/.conda/envs/py361/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/sjaracne.py", line 101, in main
run_shell_command_call(cmd)
File "/home/lding/.conda/envs/py361/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/sjaracne.py", line 112, in run_shell_command_call
subprocess.check_call(cmd_to_exec)
File "/home/lding/.conda/envs/py361/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cwlexec', '-pe', 'PATH', '-c', './SJARACNe/config/config_cwlexec.json', '--outdir', './results', '/research/rgs01/home/clusterHome/lding/.conda/envs/py361/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/cwl/sjaracne_workflow.cwl', '/lsf_tmp/83967764.tmpdir/tmps27jpac_/sjaracne_workflow.yml']' returned non-zero exit status 1.

Strings with spaces should be allowed as geneSymbol

stderr from QC_input.py:
INFO:root:Word with spaces is: T-Cell Receptor V-alpha region
Error - spaces are not allowed, only tabs can delimit input file. Space found in line 5209

Input file: /research/rgs01/project_space/yu3grp/Network_JY/yu3grp/LiangDing/chemoresistance-brca/TCGA/TCGA_V201503_TN_139/project_2019-06-10/SJAR/project_2019-06-10/input.exp

Line caused the error:
5209 uc001wck.3 T-Cell Receptor V-alpha region -1.941198646 -3.321928095 -1.845287186 -0.748795977 -0.945637712 0.138552375 0.51 1872807 -1.859352207 -0.0932633 -2.061902439 -1.73552362 2.064158564 1.072586047 -0.50512362 -3.321928095 -1.415807142 -1.18311 3626 -2.908334012 3.15849861 -2.277184274 -2.556393349 -3.321928095 -1.467134497 -0.640703741 0.071076162 0.148478616 -2.447721309 -0.828536944 -0.170881104 -1.605595615 0.176195095 -0.496549491 0.908736064 -3.321928095 -0.50021788 -1.31652 8107 -1.673922915 -2.694321257 -3.321928095 -2.330610338 0.114766793 0.016924144 -1.528240258 -1.338615224 -1.829818542 0.482332021 -1.140189435 -2.625044004 -1.840112521 1.339536494 0.517628449 -3.321928095 0.762391341 1.460742564 -1.214909845 -0.025764396 -1.213236379 -0.101907764 -0.421785835 -0.095419565 -2.490050854 -0.63039393 -1.855692533 -1.227692025 -0.560642822 -2.826232932 -2.684086035 -0.851781728 -3.320486121 2.297426221 -1.61396164 0.477055566 -2.28208783 -0.68663 8041 0.661293556 0.311968051 0.211635253 -0.026792846 -1.694788224 -1.549197847 1.166136966 -2.027969116 -2.535331733 -1.3 15091517 -2.126580497 -0.539938979 -0.16909569 0.673737315 0.259302621 -3.321928095 0.862590248 -1.306145098 -0.75097949 -2.0 23269779 0.018776585 -1.837532132 -0.725231434 -1.499401876 -0.053194294 -0.356975042 -0.579059544 -0.122334266 0.06 8739591 -0.062806289 1.327284963 0.115565996 -0.778679693 -0.716196729 -2.240588467 -2.883635243 0.616357697 0.054084393 -0.5 60855624 0.455439015 -0.776948212 -2.881507374 0.543297901 0.16812853 2.218502209 1.046979908 0.317998618 -2.915935735 -0.59815 1125 -0.612858072 -2.600336696 -2.14369151 -2.682232861 -2.019170379 -0.142098604 -0.277708858 -0.460568189 -1.76709 3699 2.191278379 -1.737446573 -0.171693386 -1.247080179 1.597888675 -0.977383621 0.540324906

numpy needs more stringency in version

The current requirements.txt leads to the installation of a numpy version with missing component:

ModuleNotFoundError: No module named 'numpy.testing.decorators'

Downgrading from the default v1.19.5 to v1.17.5 solved the issue.

empty file

(py374) tss1@bio-PowerEdge-T640:~/SJARACNe$ sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final
INFO:root:test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO:root:exp_file:
  class: File
  path: /home/data/tss1/SJARACNe/test_data/inputs/BRCA100.exp
probe_file:
  class: File
  path: /home/data/tss1/SJARACNe/test_data/inputs/tf.txt
p_value_consensus: 1e-05
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
  class: Directory
  path: /home/data/tss1/miniconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/config
bootstrap_num: 2
final_out_dir_name: SJARACNE_out.final
INFO:root:cwltool --parallel --outdir ./test_data/outputs/cwl/cwltool/SJARACNE_out.final /home/data/tss1/miniconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl test_data/outputs/cwl/cwltool/SJARACNE_out.final/sjaracne_workflow.yml
INFO /home/data/tss1/miniconda3/envs/py374/bin/cwltool 3.1.20220628170238
INFO Resolved '/home/data/tss1/miniconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl' to 'file:///home/data/tss1/miniconda3/envs/py374/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl'
INFO [workflow ] starting step create_seeds
INFO [workflow ] start
INFO [step create_seeds] start
INFO [workflow ] starting step ch_ending_exp
INFO [step ch_ending_exp] start
INFO [workflow ] starting step validate_files
INFO [step validate_files] start
INFO [job ch_ending_exp] /tmp/0e_sr7bh$ ch_line_ending.py \
    -i \
    BRCA100.exp
INFO [workflow ] starting step create_adjmat_names
INFO [step create_adjmat_names] start
INFO [workflow ] starting step ch_ending_probe
INFO [step ch_ending_probe] start
INFO [job validate_files] /tmp/kmyzrqw2$ QC_input.py \
    -e \
    BRCA100.exp \
    -g \
    tf.txt
INFO [job ch_ending_probe] /tmp/oipyo3d8$ ch_line_ending.py \
    -i \
    tf.txt
Unix line ending. No need to convert
Unix line ending. No need to convert
INFO [step create_seeds] completed success
INFO [step create_adjmat_names] completed success
INFO:root:Number of genes in expression matrix: 28278
INFO:root:Number of hub genes in probe file: 2608
INFO [job validate_files] completed success
INFO [step validate_files] completed success
INFO [job ch_ending_probe] completed success
INFO [step ch_ending_probe] completed success
INFO [job ch_ending_exp] completed success
INFO [step ch_ending_exp] completed success
INFO [workflow ] starting step bootstrap
INFO [step bootstrap] start
INFO [step bootstrap] start
INFO [job bootstrap] /tmp/qf8jjsob$ sjaracne.exe \
    -i \
    /tmp/iir2p7yd/stg66198979-8e36-4f70-980f-938606ad3f9a/BRCA100.exp \
    -l \
    /tmp/iir2p7yd/stga64eaf23-7b38-43a0-afbf-b95e9470b280/tf.txt \
    -s \
    /tmp/iir2p7yd/stga64eaf23-7b38-43a0-afbf-b95e9470b280/tf.txt \
    -p \
    1e-07 \
    -e \
    0 \
    -a \
    adaptive_partitioning \
    -r \
    1 \
    -H \
    /tmp/iir2p7yd/stg5eb30709-f4f8-48a5-b1f7-c4b9babd3122/config \
    -N \
    40 \
    -o \
    TF_run_001.adj \
    -S \
    1
INFO [job bootstrap_2] /tmp/lv_msu1l$ sjaracne.exe \
    -i \
    /tmp/cw7agx5q/stgcaa94e5a-9067-4605-85ff-117c848bdaa5/BRCA100.exp \
    -l \
    /tmp/cw7agx5q/stgf0e92bbc-7a85-4fbf-8cfe-83b7b053cb11/tf.txt \
    -s \
    /tmp/cw7agx5q/stgf0e92bbc-7a85-4fbf-8cfe-83b7b053cb11/tf.txt \
    -p \
    1e-07 \
    -e \
    0 \
    -a \
    adaptive_partitioning \
    -r \
    1 \
    -H \
    /tmp/cw7agx5q/stgfc66403d-66eb-4ce4-a2d7-2b7aac8a701e/config \
    -N \
    40 \
    -o \
    TF_run_002.adj \
    -S \
    2
Displaying parameters

[PARA] Input file:    /tmp/iir2p7yd/stg66198979-8e36-4f70-980f-938606ad3f9a/BRCA100.exp
[PARA] Output file:   TF_run_001.adj
[PARA] MI P-value:    1e-07
[PARA] DPI tolerance: 0
[PARA] Subset of probes to reconstruct: /tmp/iir2p7yd/stga64eaf23-7b38-43a0-afbf-b95e9470b280/tf.txt (2608)
[PARA] TF annotation list: /tmp/iir2p7yd/stga64eaf23-7b38-43a0-afbf-b95e9470b280/tf.txt (2608)
[PARA] Npar limit:    40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
Displaying parameters

[PARA] Input file:    /tmp/cw7agx5q/stgcaa94e5a-9067-4605-85ff-117c848bdaa5/BRCA100.exp
[PARA] Output file:   TF_run_002.adj
[PARA] MI P-value:    1e-07
[PARA] DPI tolerance: 0
[PARA] Subset of probes to reconstruct: /tmp/cw7agx5q/stgf0e92bbc-7a85-4fbf-8cfe-83b7b053cb11/tf.txt (2608)
[PARA] TF annotation list: /tmp/cw7agx5q/stgf0e92bbc-7a85-4fbf-8cfe-83b7b053cb11/tf.txt (2608)
[PARA] Npar limit:    40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
Marker No: 28278 (28278 active), Array No: 100
MI threshold determined for p=1e-07: 0.153257
Marker No: 28278 (28278 active), Array No: 100
MI threshold determined for p=1e-07: 0.153257
10%, time: 82
10%, time: 84
20%, time: 166
20%, time: 166
30%, time: 247
30%, time: 248
40%, time: 331
40%, time: 332
50%, time: 416
50%, time: 418
60%, time: 495
60%, time: 497
70%, time: 576
70%, time: 578
80%, time: 658
80%, time: 661
90%, time: 740
90%, time: 742
Gene: 2608 Time: 821
[NETWORK] Applying DPI ...
Gene: 2608 Time: 823
[NETWORK] Applying DPI ...
DPI running time is: 46
Writing matrix: TF_run_001.adj
Maximum observed npar: 4
INFO [job bootstrap] Max memory used: 54MiB
INFO [job bootstrap] completed success
DPI running time is: 79
Writing matrix: TF_run_002.adj
Maximum observed npar: 4
INFO [job bootstrap_2] Max memory used: 55MiB
INFO [job bootstrap_2] completed success
INFO [step bootstrap] completed success
INFO [workflow ] starting step copy_to_dir
INFO [step copy_to_dir] start
INFO [step copy_to_dir] completed success
INFO [workflow ] starting step consensus
INFO [step consensus] start
INFO [job consensus] /tmp/dbtk7o0i$ create_consensus_network.py \
    -a \
    /tmp/7ww6dysz/stg20fe3d99-ccf9-49f1-955d-0d27a93baf70/SJARACNE_out.final \
    -p \
    1e-05 \
    -e \
    /tmp/7ww6dysz/stgc3268edc-efad-45da-8ead-06c98be5326b/BRCA100.exp \
    -o \
    SJARACNE_out.final
INFO:root:Create an initial consensus network ...
INFO:root:Done
INFO:root:Create an enhanced consensus network ...
INFO:root:All done
INFO [job consensus] Max memory used: 192MiB
INFO [job consensus] completed success
INFO [step consensus] completed success
INFO [workflow ] completed success
{
    "out_dir": {
        "location": "file:///home/data/tss1/SJARACNe/test_data/outputs/cwl/cwltool/SJARACNE_out.final/consensus_network_ncol_.txt",
        "basename": "consensus_network_ncol_.txt",
        "class": "File",
        "checksum": "sha1$823c13f202337831dc1033bc8ced26948e01267a",
        "size": 76,
        "path": "/home/data/tss1/SJARACNe/test_data/outputs/cwl/cwltool/SJARACNE_out.final/consensus_network_ncol_.txt"
    }
}
INFO Final process status is success
INFO:root:All done.

everything is ok,but the output is empty! could you tell me how to solve it?

image
image

create_consensus_network.py removes gene hg19-RP11-453F18--B.1 's suffix --B.1

nodecn205 rprod bin$ ./create_consensus_network.py -a /research/projects/yu3grp/solidTumor_JY/yu3grp/CSTN/result/RMS/sc_sn/0manuscript/1AnandClustering/1.malignant.SCT.RMS/SJARACNE/ARMSMesoderm_11219_11219_1019/sig/SJARACNE_ARMSMesoderm_11219_11219_1019/SJARACNE_out/ -p 0.01 -e /research/projects/yu3grp/solidTumor_JY/yu3grp/CSTN/result/RMS/sc_sn/0manuscript/1AnandClustering/1.malignant.SCT.RMS/SJARACNE/ARMSMesoderm_11219_11219_1019/ARMSMesoderm_11219_11219_1019.exp -o /research/projects/yu3grp/solidTumor_JY/yu3grp/CSTN/result/RMS/sc_sn/0manuscript/1AnandClustering/1.malignant.SCT.RMS/SJARACNE/ARMSMesoderm_11219_11219_1019/sig/SJARACNE_ARMSMesoderm_11219_11219_1019/SJARACNE_out.final/
INFO:root:Create an initial consensus network ...
INFO:root:Done
INFO:root:Create an enhanced consensus network ...
Traceback (most recent call last):
File "/home/lding/.conda/envs/py361_test/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2890, in get_loc
return self._engine.get_loc(key)
File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'hg19-RP11-453F18'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./create_consensus_network.py", line 251, in
main()
File "./create_consensus_network.py", line 35, in main
create_enhanced_consensus_network(args.exp_mat, network, args.out_dir, args.subnet)
File "./create_consensus_network.py", line 207, in create_enhanced_consensus_network
exp_symbol_values2 = exp.loc[node2].values
File "/home/lding/.conda/envs/py361_test/lib/python3.6/site-packages/pandas/core/indexing.py", line 1410, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File "/home/lding/.conda/envs/py361_test/lib/python3.6/site-packages/pandas/core/indexing.py", line 1825, in _getitem_axis
return self._get_label(key, axis=axis)
File "/home/lding/.conda/envs/py361_test/lib/python3.6/site-packages/pandas/core/indexing.py", line 157, in _get_label
return self.obj._xs(label, axis=axis)
File "/home/lding/.conda/envs/py361_test/lib/python3.6/site-packages/pandas/core/generic.py", line 3738, in xs
loc = self.index.get_loc(key)
File "/home/lding/.conda/envs/py361_test/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2892, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'hg19-RP11-453F18'

ValueError: could not convert string to float

Hi,
I tried SJARACNe(v. 0.2.1) with my own expression matrix prepared by Network reconstruction pipeline from NetBID2. Everything looked fine until it threw this error in Create an enhanced consensus network part:

File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 209, in create_enhanced_consensus_network
exp_values2 = exp_symbol_values2[1:].astype(float)
ValueError: could not convert string to float: 'RPL10'

In which 'RPL10' is a genesymbol.

The error resulted in a truncated consensus_network_ncol_.txt file, which apparently contained only part of network data.

Code and ouput is listed below.

sjaracne local -e ./test/input/input.exp -g ./test/input/tf.txt -n 2 -o ./test/output/SJARACNE_tf_out.final -pc 1.0

INFO:root:test/output/SJARACNE_tf_out.final/sjaracne_workflow.yml
INFO:root:exp_file:
class: File
path: /home/user01/work/TF/test/input/input.exp
probe_file:
class: File
path: /home/user01/work/TF/test/input/tf.txt
p_value_consensus: 1.0
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
class: Directory
path: /home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/config
bootstrap_num: 2
final_out_dir_name: SJARACNE_tf_out.final3
INFO:root:cwltool --parallel --outdir ./test/output/SJARACNE_tf_out.final /home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl test/output/SJARACNE_tf_out.final/sjaracne_workflow.yml
INFO /home/user01/.conda/envs/py376/bin/cwltool 3.1.20220628170238
INFO Resolved '/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl' to 'file:///home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl'
INFO [workflow ] starting step validate_files
INFO [workflow ] start
INFO [step validate_files] start
INFO [workflow ] starting step ch_ending_exp
INFO [step ch_ending_exp] start
INFO [workflow ] starting step create_adjmat_names
INFO [step create_adjmat_names] start
INFO [workflow ] starting step ch_ending_probe
INFO [step ch_ending_probe] start
INFO [workflow ] starting step create_seeds
INFO [step create_seeds] start
INFO [job validate_files] /tmp/t70am_xd$ QC_input.py
-e
input.exp
-g
tf.txt
INFO [job ch_ending_exp] /tmp/duo1yet9$ ch_line_ending.py
-i
input.exp
INFO [job ch_ending_probe] /tmp/gvzv619s$ ch_line_ending.py
-i
tf.txt
Unix line ending. No need to convert
Unix line ending. No need to convert
INFO [step create_seeds] completed success
INFO [step create_adjmat_names] completed success
INFO [job ch_ending_probe] completed success
INFO [step ch_ending_probe] completed success
INFO [job ch_ending_exp] completed success
INFO [step ch_ending_exp] completed success
INFO [workflow ] starting step bootstrap
INFO [step bootstrap] start
INFO [step bootstrap] start
INFO [job bootstrap] /tmp/omfn6w8x$ sjaracne.exe
-i
/tmp/znbymlqn/stg839d274f-f440-4d80-9760-ff7437272384/input.exp
-l
/tmp/znbymlqn/stgdd1763b7-4abb-4450-ac9e-d52f3785d9c1/tf.txt
-s
/tmp/znbymlqn/stgdd1763b7-4abb-4450-ac9e-d52f3785d9c1/tf.txt
-p
1e-07
-e
0
-a
adaptive_partitioning
-r
1
-H
/tmp/znbymlqn/stg167fb5f1-5fe6-44e0-a222-28f89c4905db/config
-N
40
-o
TF_run_001.adj
-S
1
INFO [job bootstrap_2] /tmp/4pzzy3tu$ sjaracne.exe
-i
/tmp/dhfpex2z/stg36ff59ea-6b99-4a8b-9dce-312ee18d8abe/input.exp
-l
/tmp/dhfpex2z/stg291b2ea6-7b1e-4b82-aef9-3cc80d86b4ae/tf.txt
-s
/tmp/dhfpex2z/stg291b2ea6-7b1e-4b82-aef9-3cc80d86b4ae/tf.txt
-p
1e-07
-e
0
-a
adaptive_partitioning
-r
1
-H
/tmp/dhfpex2z/stgcf32d1a8-ebd0-4275-9d53-89b75752c169/config
-N
40
-o
TF_run_002.adj
-S
2
Displaying parameters

[PARA] Input file: /tmp/znbymlqn/stg839d274f-f440-4d80-9760-ff7437272384/input.exp
[PARA] Output file: TF_run_001.adj
[PARA] MI P-value: 1e-07
[PARA] DPI tolerance: 0
[PARA] Subset of probes to reconstruct: /tmp/znbymlqn/stgdd1763b7-4abb-4450-ac9e-d52f3785d9c1/tf.txt (1904)
[PARA] TF annotation list: /tmp/znbymlqn/stgdd1763b7-4abb-4450-ac9e-d52f3785d9c1/tf.txt (1904)
[PARA] Npar limit: 40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
Displaying parameters

[PARA] Input file: /tmp/dhfpex2z/stg36ff59ea-6b99-4a8b-9dce-312ee18d8abe/input.exp
[PARA] Output file: TF_run_002.adj
[PARA] MI P-value: 1e-07
[PARA] DPI tolerance: 0
[PARA] Subset of probes to reconstruct: /tmp/dhfpex2z/stg291b2ea6-7b1e-4b82-aef9-3cc80d86b4ae/tf.txt (1904)
[PARA] TF annotation list: /tmp/dhfpex2z/stg291b2ea6-7b1e-4b82-aef9-3cc80d86b4ae/tf.txt (1904)
[PARA] Npar limit: 40

[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
INFO:root:Number of genes in expression matrix: 17870
INFO:root:Number of hub genes in probe file: 1904
INFO [job validate_files] Max memory used: 10MiB
INFO [job validate_files] completed success
INFO [step validate_files] completed success
Marker No: 17870 (17870 active), Array No: 504
MI threshold determined for p=1e-07: 0.0466551
Marker No: 17870 (17870 active), Array No: 504
MI threshold determined for p=1e-07: 0.0466551
10%, time: 269
10%, time: 271
20%, time: 536
20%, time: 541
30%, time: 802
30%, time: 810
40%, time: 1070
40%, time: 1079
50%, time: 1338
50%, time: 1350
60%, time: 1607
60%, time: 1620
70%, time: 1878
70%, time: 1894
80%, time: 2149
80%, time: 2167
90%, time: 2419
90%, time: 2440
Gene: 1904 Time: 2681
[NETWORK] Applying DPI ...
Gene: 1904 Time: 2703
[NETWORK] Applying DPI ...
DPI running time is: 65
Writing matrix: TF_run_001.adj
Maximum observed npar: 6
INFO [job bootstrap] Max memory used: 56MiB
INFO [job bootstrap] completed success
DPI running time is: 70
Writing matrix: TF_run_002.adj
Maximum observed npar: 7
INFO [job bootstrap_2] Max memory used: 55MiB
INFO [job bootstrap_2] completed success
INFO [step bootstrap] completed success
INFO [workflow ] starting step copy_to_dir
INFO [step copy_to_dir] start
INFO [step copy_to_dir] completed success
INFO [workflow ] starting step consensus
INFO [step consensus] start
INFO [job consensus] /tmp/zumrko8m$ create_consensus_network.py
-a
/tmp/e77t3_ny/stg4146412a-620d-464f-a257-850774127920/SJARACNE_tf_out.final
-p
1.0
-e
/tmp/e77t3_ny/stgda616f26-f6ff-4324-a681-aef2f1a329f3/input.exp
-o
SJARACNE_tf_out.final
INFO:root:Create an initial consensus network ...
INFO:root:Done
INFO:root:Create an enhanced consensus network ...
Traceback (most recent call last):
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 251, in
main()
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 35, in main
create_enhanced_consensus_network(args.exp_mat, network, args.out_dir, args.subnet)
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 209, in create_enhanced_consensus_network
exp_values2 = exp_symbol_values2[1:].astype(float)
ValueError: could not convert string to float: 'RPL10'
INFO [job consensus] Max memory used: 150MiB
WARNING [job consensus] exited with status: 1
WARNING [job consensus] completed permanentFail
WARNING [step consensus] completed permanentFail
INFO [workflow ] completed permanentFail
{
"out_dir": {
"location": "file:///home/user01/work/TF/test/output/SJARACNE_tf_out.final/consensus_network_ncol_.txt",
"basename": "consensus_network_ncol_.txt",
"class": "File",
"checksum": "sha1$0d567f2e690e217b4aaf4095dfb7bdd2dac934c4",
"size": 12339,
"path": "/home/user01/work/TF/test/output/SJARACNE_tf_out.final/consensus_network_ncol_.txt"
}
}
WARNING Final process status is permanentFail
Traceback (most recent call last):
File "/home/user01/.conda/envs/py376/bin/sjaracne", line 33, in
sys.exit(load_entry_point('SJARACNe==0.2.1', 'console_scripts', 'sjaracne')())
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 99, in main
run_shell_command_call(cmd)
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 110, in run_shell_command_call
subprocess.check_call(cmd_to_exec)
File "/home/user01/.conda/envs/py376/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cwltool', '--parallel', '--outdir', './test/output/SJARACNE_tf_out.final', '/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl', 'test/output/SJARACNE_tf_out.final/sjaracne_workflow.yml']' returned non-zero exit status 1.

After checking Input.exp file, i found SJARACNe recognized another gene , "MRPL10"(a mitochondrial ribosomal protein), as an isoform of "RPL10", which it isn't, and tranformed isoformId "MRPL10" to "RPL10", leaving duplicated isoformIds.

Is there any solution for this error?

BTW, is it necessary to set a random seed for a reproducible result, how to set it in linux command line?

Thanks.

yml file is gone while rerunning cwlexec

input yml file is created in a tempory location so that when rerun cwlexec using -r after the workflow exits, it cannot find the yml file.

nodecn202 rdev SJARACNe$ cwlexec -r cd6b10f6-1b94-4a79-a12b-fb5ae7a275ea
[23:15:32.125] INFO - The workflow "sjaracne_workflow" (cd6b10f6-1b94-4a79-a12b-fb5ae7a275ea) started to rerun
The inputsettings file "/research/rgs01/scratch_lsf/lsftmpdir/nodecn232/84338343.tmpdir/tmpug5p74g3/sjaracne_workflow.yml" cannot be accessed.

command to install and ru SJARACNe (local)

Hi,
sorry to bother you again ! Would it be possible to give all the command (in detail) you used to run SJARACNe locally from the installation of SJARACNe until the launch of the principal command (the command to generate the networks) ? I think that it would facilitate the use of this tool that sounds to me very interesting.
Thanks

problem to run sjaracne

Hi,

I'm bioinformatician at the Gustave Roussy Institue in france and I want to try building new networks with SJ-ARACNE. To install J-ARACNE, I followed the method used in your readme file. So I install a conda environment called py36. Then I install numpy, scipy, pandas and cwltool using the requirements.txt file. I used the command pip install SJARACNe to install SJARACNe. Then, trying to use SJARACNE, I got the following error message :
Traceback (most recent call last):
File "/home/esteve/anaconda2/envs/py36/bin/sjaracne", line 11, in
load_entry_point('SJARACNe==0.2.0', 'console_scripts', 'sjaracne')()
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 2855, in load_entry_point
return ep.load()
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 2446, in load
return self.resolve()
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/pkg_resources/init.py", line 2452, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/init.py", line 1, in
from .bin import *
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/bin/init.py", line 2, in
from .create_consensus_network import *
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/SJARACNe-0.2.0-py3.6.egg/SJARACNe/bin/create_consensus_network.py", line 11, in
from scipy import stats
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/scipy-1.0.1-py3.6-linux-x86_64.egg/scipy/stats/init.py", line 345, in
from .morestats import *
File "/home/esteve/anaconda2/envs/py36/lib/python3.6/site-packages/scipy-1.0.1-py3.6-linux-x86_64.egg/scipy/stats/morestats.py", line 12, in
from numpy.testing.decorators import setastest
ModuleNotFoundError: No module named 'numpy.testing.decorators'

What could be the problem ?
Thank you.

Possible to control memory / thread usage?

Greetings,

I am attempting to run SJARACNe using the default settings on a local workstation with 12 CPUs and 64G memory, for input data with approximate dimensions:

  • 58,000 genes x 900 samples
  • 1,600 TFs

However, SJARACNe ends up using up all of the memory and freezing the system.

  1. Is there any way to predict how much memory will be needed for a given size of data input / maximum partitioning depth?

  2. Is there any way to limit the amount of memory (e.g. by limiting the number of threads that should be used) that SJARACNe uses?

System Info

  • Arch Linux 4.20.5 (64-bit)
  • Python 3.6.8
  • Numpy 1.14.2
  • argparse 1.1
  • igraph 0.7.1
  • pandas 0.22.0
  • xlsxwriter 1.0.2
  • perl 5.28.1

NodeJSEngine requires Node.js engine to evaluate and validate Javascript expressions

Hi authors,

This is my first time using your tool SJARACNe (local, v. 0.2.1) , when I run the tutorial you provided with the input file in the test_data file, I encountered a 'permission error'.
截屏2023-03-19 下午8 48 53

I already tried to change permissions to the files/folders that gave an error, then re-ran the program and had the same error;

Do you know what other permission(s) I should give and to which files/folder?
Thanks in advance for your answer!
Tangke

SyntaxError: invalid syntax

Hi,

I need some help. I am working on a server and want to use SJARACNe. Unfortunately, I have encountered some problems.
Firstly, I created an environment for SJARACNe following the tutorial by these commands:
conda create -n sjaracne python=3.7.6
source activate sjaracne

Then, I got an error message when trying to install SJARACNe by using this command:
pip install SJARACNe
Error message:
"ERROR: Ignored the following versions that require a different python version: 0.2.0 Requires-Python ==3.6.1
ERROR: Could not find a version that satisfies the requirement SJARACNe (from versions: none)
ERROR: No matching distribution found for SJARACNe"

Instead, I tried to install SJARACNe by installing from source with these commands:
git clone https://github.com/jyyulab/SJARACNe
cd SJARACNe
python setup.py build # build SJARACNe binary
python setup.py install

I got a warning message:
"warning: no files found matching '*.c' under directory 'msgpack'
/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!!"

Since I got no error messages when installing SJARACNe, I am trying to run SJARACNe with this command:
sjaracne local -e /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/SJAR/project_2024-01-16/input.exp -g /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/SJAR/project_2024-01-16/sig.txt -o /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_sig -tmp /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_tf/tmp/

However, this caused an error message:
"/disk1/mathilda/software/mambaforge/envs/sjaracne/bin/sjaracne:15: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
INFO:root:/disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_sig/sjaracne_workflow.yml
INFO:root:exp_file:
class: File
path: /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/SJAR/project_2024-01-16/input.exp
probe_file:
class: File
path: /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/SJAR/project_2024-01-16/sig.txt
p_value_consensus: 1e-05
p_value_bootstrap: 1e-07
depth: 40
aracne_config_dir:
class: Directory
path: /disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/config
bootstrap_num: 100
final_out_dir_name: output_sig
INFO:root:cwltool --tmpdir-prefix /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_tf/tmp/ --parallel --outdir /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_sig /disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl /disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_sig/sjaracne_workflow.yml
/disk1/mathilda/software/mambaforge/envs/sjaracne/bin/cwltool:15: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import load_entry_point
Traceback (most recent call last):
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/bin/cwltool", line 33, in
sys.exit(load_entry_point('cwltool==3.1.20240112164112', 'console_scripts', 'cwltool')())
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/pkg_resources/init.py", line 536, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/pkg_resources/init.py", line 2928, in load_entry_point
return ep.load()
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/pkg_resources/init.py", line 2516, in load
return self.resolve()
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/pkg_resources/init.py", line 2522, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/cwltool-3.1.20240112164112-py3.7.egg/cwltool/main.py", line 39, in
from schema_salad.exceptions import ValidationException
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/schema_salad-8.5.20240102191335-py3.7.egg/schema_salad/exceptions.py", line 4, in
from .sourceline import SourceLine, reflow_all, strip_duplicated_lineno
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/schema_salad-8.5.20240102191335-py3.7.egg/schema_salad/sourceline.py", line 88
if (r := lineno_re.match(line)) is not None:
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/bin/sjaracne", line 33, in
sys.exit(load_entry_point('SJARACNe==0.2.1', 'console_scripts', 'sjaracne')())
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 102, in main
run_shell_command_call(cmd)
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 113, in run_shell_command_call
subprocess.check_call(cmd_to_exec)
File "/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cwltool', '--tmpdir-prefix', '/disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_tf/tmp/', '--parallel', '--outdir', '/disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_sig', '/disk1/mathilda/software/mambaforge/envs/sjaracne/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl', '/disk1/mathilda/hidden_drivers/test/test/project_2024-01-16/output_sig/sjaracne_workflow.yml']' returned non-zero exit status 1."

I seem to have the correct versions of packages, but it doesn't work unfortunately and I am not sure how to proceed. Thanks in advance for your help.

cwltool from requirements is not available in conda common channels

It seems that the required cwltool version is no more available in common conda channels.
Should we expect errors if we run with a more recent version?

PackagesNotFoundError: The following packages are not available from current channels:

  - cwltool==1.0.20190618201008

Current channels:

  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/bioconda/linux-64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

ERROR Exception while running job

I got error

i have install from source
and then run

sjaracne local -e ./test_data/inputs/BRCA100.exp -g ./test_data/inputs/tf.txt -n 2 -o ./test_data/outputs/cwl/cwltool/SJARACNE_out.final

but i got the below error
subprocess.CalledProcessError: Command '['cwltool', '--parallel', '--outdir', './test_data/outputs/cwl/cwltool/SJARACNE_out.final',

i can't assign a path for my tmp file

I run SJARACNe on the computer cluster.

I use slurm to request a compute node and then run my command.

`#!/bin/bash
#SBATCH -J zf020.MP.TE.8.highmem ######作业名
#SBATCH -o /public/home/zifeng/eo/%j.%x.out ######输出文件重定向
#SBATCH -e /public/home/zifeng/eo/%j.%x.err ######报错文件重定向
#SBATCH -p high_mem
#SBATCH --qos=low
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=8
#SBATCH -A huanghlgroup
#################################

for i in $*
do
sjaracne local -e $i/input.exp -g $i/sig.txt -o $i/output_sig_sjaracne_network_out_.final
sjaracne local -e $i/input.exp -g $i/tf.txt -o $i/output_tf_sjaracne_network_out_.final
done`

i get a error like this

图片

I have 2T of memory. So I don't think it's a memory problem. And I noticed that on a new compute node, I could get the output of SJARACNe. but if I run SJARACNe multiple times on the node, I will get the error, or no error but also no output

The computer cluster administrator tells me that I need to specify /tmp path because he found that the /tmp path for the compute node is full. So I want to know how to specify this directory

Problem finding sjaracne.exe

I installed the program using the conda environment, but when I run it I get the following error:

ERROR 'sjaracne.exe' not found: [Errno 2] No such file or directory: 'sjaracne.exe': 'sjaracne.exe'

This is my command line:

sjaracne local -e ./expressions.txt -g ./hs-tf.txt -o out

Thank you!

Failed to install python-igraph in St. Jude HPC

(py36) nodecn035 rdev Git$ pip install python-igraph
Collecting python-igraph
Using cached https://files.pythonhosted.org/packages/0f/a0/4e7134f803737aa6eebb4e5250565ace0e2599659e22be7f7eba520ff017/python-igraph-0.7.1.post6.tar.gz
Building wheels for collected packages: python-igraph
Building wheel for python-igraph (setup.py) ... error
Complete output from command /home/lding/.conda/envs/py36/bin/python -u -c "import setuptools, tokenize;file='/research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-install-ck24bguf/python-igraph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-wheel-1wo5ht51 --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/igraph
copying igraph/compat.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/formula.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/statistics.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/datatypes.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/matching.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/cut.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/init.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/utils.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/layout.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/configuration.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/summary.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/clustering.py -> build/lib.linux-x86_64-3.6/igraph
creating build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/structural.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/operators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/basic.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/vertexseq.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/isomorphism.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/matching.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/edgeseq.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/foreign.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/colortests.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/iterators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/layouts.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/init.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/utils.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/separators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/generators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/spectral.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/homepage.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/conversion.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/games.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/rng.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/attributes.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/decomposition.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/indexing.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/cliques.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/bipartite.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/atlas.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/flow.py -> build/lib.linux-x86_64-3.6/igraph/test
creating build/lib.linux-x86_64-3.6/igraph/app
copying igraph/app/init.py -> build/lib.linux-x86_64-3.6/igraph/app
copying igraph/app/shell.py -> build/lib.linux-x86_64-3.6/igraph/app
creating build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/colors.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/shapes.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/baseclasses.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/graph.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/metamagic.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/vertex.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/init.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/text.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/utils.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/coord.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/edge.py -> build/lib.linux-x86_64-3.6/igraph/drawing
creating build/lib.linux-x86_64-3.6/igraph/remote
copying igraph/remote/gephi.py -> build/lib.linux-x86_64-3.6/igraph/remote
copying igraph/remote/init.py -> build/lib.linux-x86_64-3.6/igraph/remote
copying igraph/remote/nexus.py -> build/lib.linux-x86_64-3.6/igraph/remote
creating build/lib.linux-x86_64-3.6/igraph/vendor
copying igraph/vendor/texttable.py -> build/lib.linux-x86_64-3.6/igraph/vendor
copying igraph/vendor/init.py -> build/lib.linux-x86_64-3.6/igraph/vendor
Fixing build/lib.linux-x86_64-3.6/igraph/compat.py build/lib.linux-x86_64-3.6/igraph/formula.py build/lib.linux-x86_64-3.6/igraph/statistics.py build/lib.linux-x86_64-3.6/igraph/datatypes.py build/lib.linux-x86_64-3.6/igraph/matching.py build/lib.linux-x86_64-3.6/igraph/cut.py build/lib.linux-x86_64-3.6/igraph/init.py build/lib.linux-x86_64-3.6/igraph/utils.py build/lib.linux-x86_64-3.6/igraph/layout.py build/lib.linux-x86_64-3.6/igraph/configuration.py build/lib.linux-x86_64-3.6/igraph/summary.py build/lib.linux-x86_64-3.6/igraph/clustering.py build/lib.linux-x86_64-3.6/igraph/test/structural.py build/lib.linux-x86_64-3.6/igraph/test/operators.py build/lib.linux-x86_64-3.6/igraph/test/basic.py build/lib.linux-x86_64-3.6/igraph/test/vertexseq.py build/lib.linux-x86_64-3.6/igraph/test/isomorphism.py build/lib.linux-x86_64-3.6/igraph/test/matching.py build/lib.linux-x86_64-3.6/igraph/test/edgeseq.py build/lib.linux-x86_64-3.6/igraph/test/foreign.py build/lib.linux-x86_64-3.6/igraph/test/colortests.py build/lib.linux-x86_64-3.6/igraph/test/iterators.py build/lib.linux-x86_64-3.6/igraph/test/layouts.py build/lib.linux-x86_64-3.6/igraph/test/init.py build/lib.linux-x86_64-3.6/igraph/test/utils.py build/lib.linux-x86_64-3.6/igraph/test/separators.py build/lib.linux-x86_64-3.6/igraph/test/generators.py build/lib.linux-x86_64-3.6/igraph/test/spectral.py build/lib.linux-x86_64-3.6/igraph/test/homepage.py build/lib.linux-x86_64-3.6/igraph/test/conversion.py build/lib.linux-x86_64-3.6/igraph/test/games.py build/lib.linux-x86_64-3.6/igraph/test/rng.py build/lib.linux-x86_64-3.6/igraph/test/attributes.py build/lib.linux-x86_64-3.6/igraph/test/decomposition.py build/lib.linux-x86_64-3.6/igraph/test/indexing.py build/lib.linux-x86_64-3.6/igraph/test/cliques.py build/lib.linux-x86_64-3.6/igraph/test/bipartite.py build/lib.linux-x86_64-3.6/igraph/test/atlas.py build/lib.linux-x86_64-3.6/igraph/test/flow.py build/lib.linux-x86_64-3.6/igraph/app/init.py build/lib.linux-x86_64-3.6/igraph/app/shell.py build/lib.linux-x86_64-3.6/igraph/drawing/colors.py build/lib.linux-x86_64-3.6/igraph/drawing/shapes.py build/lib.linux-x86_64-3.6/igraph/drawing/baseclasses.py build/lib.linux-x86_64-3.6/igraph/drawing/graph.py build/lib.linux-x86_64-3.6/igraph/drawing/metamagic.py build/lib.linux-x86_64-3.6/igraph/drawing/vertex.py build/lib.linux-x86_64-3.6/igraph/drawing/init.py build/lib.linux-x86_64-3.6/igraph/drawing/text.py build/lib.linux-x86_64-3.6/igraph/drawing/utils.py build/lib.linux-x86_64-3.6/igraph/drawing/coord.py build/lib.linux-x86_64-3.6/igraph/drawing/edge.py build/lib.linux-x86_64-3.6/igraph/remote/gephi.py build/lib.linux-x86_64-3.6/igraph/remote/init.py build/lib.linux-x86_64-3.6/igraph/remote/nexus.py build/lib.linux-x86_64-3.6/igraph/vendor/texttable.py build/lib.linux-x86_64-3.6/igraph/vendor/init.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build/lib.linux-x86_64-3.6/igraph/compat.py build/lib.linux-x86_64-3.6/igraph/formula.py build/lib.linux-x86_64-3.6/igraph/statistics.py build/lib.linux-x86_64-3.6/igraph/datatypes.py build/lib.linux-x86_64-3.6/igraph/matching.py build/lib.linux-x86_64-3.6/igraph/cut.py build/lib.linux-x86_64-3.6/igraph/init.py build/lib.linux-x86_64-3.6/igraph/utils.py build/lib.linux-x86_64-3.6/igraph/layout.py build/lib.linux-x86_64-3.6/igraph/configuration.py build/lib.linux-x86_64-3.6/igraph/summary.py build/lib.linux-x86_64-3.6/igraph/clustering.py build/lib.linux-x86_64-3.6/igraph/test/structural.py build/lib.linux-x86_64-3.6/igraph/test/operators.py build/lib.linux-x86_64-3.6/igraph/test/basic.py build/lib.linux-x86_64-3.6/igraph/test/vertexseq.py build/lib.linux-x86_64-3.6/igraph/test/isomorphism.py build/lib.linux-x86_64-3.6/igraph/test/matching.py build/lib.linux-x86_64-3.6/igraph/test/edgeseq.py build/lib.linux-x86_64-3.6/igraph/test/foreign.py build/lib.linux-x86_64-3.6/igraph/test/colortests.py build/lib.linux-x86_64-3.6/igraph/test/iterators.py build/lib.linux-x86_64-3.6/igraph/test/layouts.py build/lib.linux-x86_64-3.6/igraph/test/init.py build/lib.linux-x86_64-3.6/igraph/test/utils.py build/lib.linux-x86_64-3.6/igraph/test/separators.py build/lib.linux-x86_64-3.6/igraph/test/generators.py build/lib.linux-x86_64-3.6/igraph/test/spectral.py build/lib.linux-x86_64-3.6/igraph/test/homepage.py build/lib.linux-x86_64-3.6/igraph/test/conversion.py build/lib.linux-x86_64-3.6/igraph/test/games.py build/lib.linux-x86_64-3.6/igraph/test/rng.py build/lib.linux-x86_64-3.6/igraph/test/attributes.py build/lib.linux-x86_64-3.6/igraph/test/decomposition.py build/lib.linux-x86_64-3.6/igraph/test/indexing.py build/lib.linux-x86_64-3.6/igraph/test/cliques.py build/lib.linux-x86_64-3.6/igraph/test/bipartite.py build/lib.linux-x86_64-3.6/igraph/test/atlas.py build/lib.linux-x86_64-3.6/igraph/test/flow.py build/lib.linux-x86_64-3.6/igraph/app/init.py build/lib.linux-x86_64-3.6/igraph/app/shell.py build/lib.linux-x86_64-3.6/igraph/drawing/colors.py build/lib.linux-x86_64-3.6/igraph/drawing/shapes.py build/lib.linux-x86_64-3.6/igraph/drawing/baseclasses.py build/lib.linux-x86_64-3.6/igraph/drawing/graph.py build/lib.linux-x86_64-3.6/igraph/drawing/metamagic.py build/lib.linux-x86_64-3.6/igraph/drawing/vertex.py build/lib.linux-x86_64-3.6/igraph/drawing/init.py build/lib.linux-x86_64-3.6/igraph/drawing/text.py build/lib.linux-x86_64-3.6/igraph/drawing/utils.py build/lib.linux-x86_64-3.6/igraph/drawing/coord.py build/lib.linux-x86_64-3.6/igraph/drawing/edge.py build/lib.linux-x86_64-3.6/igraph/remote/gephi.py build/lib.linux-x86_64-3.6/igraph/remote/init.py build/lib.linux-x86_64-3.6/igraph/remote/nexus.py build/lib.linux-x86_64-3.6/igraph/vendor/texttable.py build/lib.linux-x86_64-3.6/igraph/vendor/init.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
Cannot find the C core of igraph on this system using pkg-config.
We will now try to download and compile the C core from scratch.
Version number of the C core: 0.7.1.post6
We will also try: 0.7.1

error: [Errno 104] Connection reset by peer


Failed building wheel for python-igraph
Running setup.py clean for python-igraph
Failed to build python-igraph
sjaracne 0.1.0 has requirement XlsxWriter==1.0.2, but you'll have xlsxwriter 0.9.6 which is incompatible.
Installing collected packages: python-igraph
Running setup.py install for python-igraph ... error
Complete output from command /home/lding/.conda/envs/py36/bin/python -u -c "import setuptools, tokenize;file='/research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-install-ck24bguf/python-igraph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-record-93gcz2q3/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/igraph
copying igraph/compat.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/formula.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/statistics.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/datatypes.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/matching.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/cut.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/init.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/utils.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/layout.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/configuration.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/summary.py -> build/lib.linux-x86_64-3.6/igraph
copying igraph/clustering.py -> build/lib.linux-x86_64-3.6/igraph
creating build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/structural.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/operators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/basic.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/vertexseq.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/isomorphism.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/matching.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/edgeseq.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/foreign.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/colortests.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/iterators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/layouts.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/init.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/utils.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/separators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/generators.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/spectral.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/homepage.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/conversion.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/games.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/rng.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/attributes.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/decomposition.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/indexing.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/cliques.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/bipartite.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/atlas.py -> build/lib.linux-x86_64-3.6/igraph/test
copying igraph/test/flow.py -> build/lib.linux-x86_64-3.6/igraph/test
creating build/lib.linux-x86_64-3.6/igraph/app
copying igraph/app/init.py -> build/lib.linux-x86_64-3.6/igraph/app
copying igraph/app/shell.py -> build/lib.linux-x86_64-3.6/igraph/app
creating build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/colors.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/shapes.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/baseclasses.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/graph.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/metamagic.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/vertex.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/init.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/text.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/utils.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/coord.py -> build/lib.linux-x86_64-3.6/igraph/drawing
copying igraph/drawing/edge.py -> build/lib.linux-x86_64-3.6/igraph/drawing
creating build/lib.linux-x86_64-3.6/igraph/remote
copying igraph/remote/gephi.py -> build/lib.linux-x86_64-3.6/igraph/remote
copying igraph/remote/init.py -> build/lib.linux-x86_64-3.6/igraph/remote
copying igraph/remote/nexus.py -> build/lib.linux-x86_64-3.6/igraph/remote
creating build/lib.linux-x86_64-3.6/igraph/vendor
copying igraph/vendor/texttable.py -> build/lib.linux-x86_64-3.6/igraph/vendor
copying igraph/vendor/init.py -> build/lib.linux-x86_64-3.6/igraph/vendor
Fixing build/lib.linux-x86_64-3.6/igraph/compat.py build/lib.linux-x86_64-3.6/igraph/formula.py build/lib.linux-x86_64-3.6/igraph/statistics.py build/lib.linux-x86_64-3.6/igraph/datatypes.py build/lib.linux-x86_64-3.6/igraph/matching.py build/lib.linux-x86_64-3.6/igraph/cut.py build/lib.linux-x86_64-3.6/igraph/init.py build/lib.linux-x86_64-3.6/igraph/utils.py build/lib.linux-x86_64-3.6/igraph/layout.py build/lib.linux-x86_64-3.6/igraph/configuration.py build/lib.linux-x86_64-3.6/igraph/summary.py build/lib.linux-x86_64-3.6/igraph/clustering.py build/lib.linux-x86_64-3.6/igraph/test/structural.py build/lib.linux-x86_64-3.6/igraph/test/operators.py build/lib.linux-x86_64-3.6/igraph/test/basic.py build/lib.linux-x86_64-3.6/igraph/test/vertexseq.py build/lib.linux-x86_64-3.6/igraph/test/isomorphism.py build/lib.linux-x86_64-3.6/igraph/test/matching.py build/lib.linux-x86_64-3.6/igraph/test/edgeseq.py build/lib.linux-x86_64-3.6/igraph/test/foreign.py build/lib.linux-x86_64-3.6/igraph/test/colortests.py build/lib.linux-x86_64-3.6/igraph/test/iterators.py build/lib.linux-x86_64-3.6/igraph/test/layouts.py build/lib.linux-x86_64-3.6/igraph/test/init.py build/lib.linux-x86_64-3.6/igraph/test/utils.py build/lib.linux-x86_64-3.6/igraph/test/separators.py build/lib.linux-x86_64-3.6/igraph/test/generators.py build/lib.linux-x86_64-3.6/igraph/test/spectral.py build/lib.linux-x86_64-3.6/igraph/test/homepage.py build/lib.linux-x86_64-3.6/igraph/test/conversion.py build/lib.linux-x86_64-3.6/igraph/test/games.py build/lib.linux-x86_64-3.6/igraph/test/rng.py build/lib.linux-x86_64-3.6/igraph/test/attributes.py build/lib.linux-x86_64-3.6/igraph/test/decomposition.py build/lib.linux-x86_64-3.6/igraph/test/indexing.py build/lib.linux-x86_64-3.6/igraph/test/cliques.py build/lib.linux-x86_64-3.6/igraph/test/bipartite.py build/lib.linux-x86_64-3.6/igraph/test/atlas.py build/lib.linux-x86_64-3.6/igraph/test/flow.py build/lib.linux-x86_64-3.6/igraph/app/init.py build/lib.linux-x86_64-3.6/igraph/app/shell.py build/lib.linux-x86_64-3.6/igraph/drawing/colors.py build/lib.linux-x86_64-3.6/igraph/drawing/shapes.py build/lib.linux-x86_64-3.6/igraph/drawing/baseclasses.py build/lib.linux-x86_64-3.6/igraph/drawing/graph.py build/lib.linux-x86_64-3.6/igraph/drawing/metamagic.py build/lib.linux-x86_64-3.6/igraph/drawing/vertex.py build/lib.linux-x86_64-3.6/igraph/drawing/init.py build/lib.linux-x86_64-3.6/igraph/drawing/text.py build/lib.linux-x86_64-3.6/igraph/drawing/utils.py build/lib.linux-x86_64-3.6/igraph/drawing/coord.py build/lib.linux-x86_64-3.6/igraph/drawing/edge.py build/lib.linux-x86_64-3.6/igraph/remote/gephi.py build/lib.linux-x86_64-3.6/igraph/remote/init.py build/lib.linux-x86_64-3.6/igraph/remote/nexus.py build/lib.linux-x86_64-3.6/igraph/vendor/texttable.py build/lib.linux-x86_64-3.6/igraph/vendor/init.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
Fixing build/lib.linux-x86_64-3.6/igraph/compat.py build/lib.linux-x86_64-3.6/igraph/formula.py build/lib.linux-x86_64-3.6/igraph/statistics.py build/lib.linux-x86_64-3.6/igraph/datatypes.py build/lib.linux-x86_64-3.6/igraph/matching.py build/lib.linux-x86_64-3.6/igraph/cut.py build/lib.linux-x86_64-3.6/igraph/init.py build/lib.linux-x86_64-3.6/igraph/utils.py build/lib.linux-x86_64-3.6/igraph/layout.py build/lib.linux-x86_64-3.6/igraph/configuration.py build/lib.linux-x86_64-3.6/igraph/summary.py build/lib.linux-x86_64-3.6/igraph/clustering.py build/lib.linux-x86_64-3.6/igraph/test/structural.py build/lib.linux-x86_64-3.6/igraph/test/operators.py build/lib.linux-x86_64-3.6/igraph/test/basic.py build/lib.linux-x86_64-3.6/igraph/test/vertexseq.py build/lib.linux-x86_64-3.6/igraph/test/isomorphism.py build/lib.linux-x86_64-3.6/igraph/test/matching.py build/lib.linux-x86_64-3.6/igraph/test/edgeseq.py build/lib.linux-x86_64-3.6/igraph/test/foreign.py build/lib.linux-x86_64-3.6/igraph/test/colortests.py build/lib.linux-x86_64-3.6/igraph/test/iterators.py build/lib.linux-x86_64-3.6/igraph/test/layouts.py build/lib.linux-x86_64-3.6/igraph/test/init.py build/lib.linux-x86_64-3.6/igraph/test/utils.py build/lib.linux-x86_64-3.6/igraph/test/separators.py build/lib.linux-x86_64-3.6/igraph/test/generators.py build/lib.linux-x86_64-3.6/igraph/test/spectral.py build/lib.linux-x86_64-3.6/igraph/test/homepage.py build/lib.linux-x86_64-3.6/igraph/test/conversion.py build/lib.linux-x86_64-3.6/igraph/test/games.py build/lib.linux-x86_64-3.6/igraph/test/rng.py build/lib.linux-x86_64-3.6/igraph/test/attributes.py build/lib.linux-x86_64-3.6/igraph/test/decomposition.py build/lib.linux-x86_64-3.6/igraph/test/indexing.py build/lib.linux-x86_64-3.6/igraph/test/cliques.py build/lib.linux-x86_64-3.6/igraph/test/bipartite.py build/lib.linux-x86_64-3.6/igraph/test/atlas.py build/lib.linux-x86_64-3.6/igraph/test/flow.py build/lib.linux-x86_64-3.6/igraph/app/init.py build/lib.linux-x86_64-3.6/igraph/app/shell.py build/lib.linux-x86_64-3.6/igraph/drawing/colors.py build/lib.linux-x86_64-3.6/igraph/drawing/shapes.py build/lib.linux-x86_64-3.6/igraph/drawing/baseclasses.py build/lib.linux-x86_64-3.6/igraph/drawing/graph.py build/lib.linux-x86_64-3.6/igraph/drawing/metamagic.py build/lib.linux-x86_64-3.6/igraph/drawing/vertex.py build/lib.linux-x86_64-3.6/igraph/drawing/init.py build/lib.linux-x86_64-3.6/igraph/drawing/text.py build/lib.linux-x86_64-3.6/igraph/drawing/utils.py build/lib.linux-x86_64-3.6/igraph/drawing/coord.py build/lib.linux-x86_64-3.6/igraph/drawing/edge.py build/lib.linux-x86_64-3.6/igraph/remote/gephi.py build/lib.linux-x86_64-3.6/igraph/remote/init.py build/lib.linux-x86_64-3.6/igraph/remote/nexus.py build/lib.linux-x86_64-3.6/igraph/vendor/texttable.py build/lib.linux-x86_64-3.6/igraph/vendor/init.py
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
Cannot find the C core of igraph on this system using pkg-config.
We will now try to download and compile the C core from scratch.
Version number of the C core: 0.7.1.post6
We will also try: 0.7.1

error: [Errno 104] Connection reset by peer

----------------------------------------

Command "/home/lding/.conda/envs/py36/bin/python -u -c "import setuptools, tokenize;file='/research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-install-ck24bguf/python-igraph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-record-93gcz2q3/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /research/rgs01/scratch_lsf/lsftmpdir/nodecn035/72962798.tmpdir/pip-install-ck24bguf/python-igraph/

is there a way to run this excellent program in windows10 platform.

I have installed ANACONDA, python3.6 environemnt and all required packages, but when I run this script, I get error infromations.

(python3.6) D:\Users\guozi\Anaconda3\pkgs\SJARACNe-master>sjaracne local -e .\test_data\inputs\BRCA100.exp -g .\test_data\inputs\tf.txt -n 2 -o .\test_data\outputs\finaldata\outdata.txt INFO:root:test_data\outputs\finaldata\outdata.txt\sjaracne_workflow.yml INFO:root:exp_file: class: File path: D:\Users\guozi\Anaconda3\pkgs\SJARACNe-master\test_data\inputs\BRCA100.exp probe_file: class: File path: D:\Users\guozi\Anaconda3\pkgs\SJARACNe-master\test_data\inputs\tf.txt p_value_consensus: 1e-05 p_value_bootstrap: 1e-07 depth: 40 aracne_config_dir: class: Directory path: D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\sjaracne-0.2.0-py3.6.egg\SJARACNe/config bootstrap_num: 2 final_out_dir_name: outdata.txt INFO:root:cwltool --parallel --outdir .\test_data\outputs\finaldata\outdata.txt D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\sjaracne-0.2.0-py3.6.egg\SJARACNe/cwl/sjaracne_workflow.cwl test_data\outputs\finaldata\outdata.txt\sjaracne_workflow.yml �[30mINFO�[0m D:\Users\guozi\Anaconda3\envs\python3.6\Scripts\cwltool 1.0.20190618201008 Traceback (most recent call last): File "D:\Users\guozi\Anaconda3\envs\python3.6\Scripts\cwltool-script.py", line 11, in <module> load_entry_point('cwltool==1.0.20190618201008', 'console_scripts', 'cwltool')() File "D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\cwltool-1.0.20190618201008-py3.6.egg\cwltool\main.py", line 915, in run sys.exit(main(*args, **kwargs)) File "D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\cwltool-1.0.20190618201008-py3.6.egg\cwltool\main.py", line 640, in main fetcher_constructor=loadingContext.fetcher_constructor) File "D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\cwltool-1.0.20190618201008-py3.6.egg\cwltool\load_tool.py", line 89, in resolve_tool_uri raise ValidationException("Not found: '%s'" % argsworkflow) schema_salad.exceptions.ValidationException: Not found: 'D:UsersguoziAnaconda3envspython3.6libsite-packagessjaracne-0.2.0-py3.6.eggSJARACNe/cwl/sjaracne_workflow.cwl' Traceback (most recent call last): File "D:\Users\guozi\Anaconda3\envs\python3.6\Scripts\sjaracne-script.py", line 11, in <module> load_entry_point('SJARACNe==0.2.0', 'console_scripts', 'sjaracne')() File "D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\sjaracne-0.2.0-py3.6.egg\SJARACNe\sjaracne.py", line 99, in main run_shell_command_call(cmd) File "D:\Users\guozi\Anaconda3\envs\python3.6\lib\site-packages\sjaracne-0.2.0-py3.6.egg\SJARACNe\sjaracne.py", line 110, in run_shell_command_call subprocess.check_call(cmd_to_exec) File "D:\Users\guozi\Anaconda3\envs\python3.6\lib\subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cwltool', '--parallel', '--outdir', '.test_dataoutputsfinaldataoutdata.txt', 'D:UsersguoziAnaconda3envspython3.6libsite-packagessjaracne-0.2.0-py3.6.eggSJARACNe/cwl/sjaracne_workflow.cwl', 'test_dataoutputsfinaldataoutdata.txtsjaracne_workflow.yml']' returned non-zero exit status 1.

it seems that, the cwltool package can not detect the right directory.
I run this in Anacoda prompt. Could you fix this? This program is really important for my research.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.