Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repressive TF prediction: "AnanseScanpy_outs/maelstrom/final.out.txt" not found #15

Open
bueredlemon11 opened this issue Sep 27, 2024 · 7 comments

Comments

@bueredlemon11
Copy link

bueredlemon11 commented Sep 27, 2024

Hello,

I have tried to reproduce the results of scANANSE manuscript using exemplary data. However, I got stuck on the final step that should predict the repressive TFs. I ran the pipeline in python following the code indicated in “AnanseScanpy_equivalent.pdf”.

On this line:

asc.import_scanpy_maelstrom(anndata=adata, cluster_id="predicted.id", maelstrom_dir="AnanseScanpy_outs/maelstrom/")

I received an error message

FileNotFoundError: [Errno 2] No such file or directory: 'AnanseScanpy_outs/maelstrom/final.out.txt

When I checked the generated files, the maelstrom folder and pfmscorefile.tsv file weren’t generated in previous steps of AnanseScanpy and anansnake. I understand that this line imports the motif enrichment results into the Scanpy object, but in my case this result is stored in another folder /AnanseScanpy_outs/gimme/pfmscorefile.tsv, which looks like

image

I therefore manually created a maelstrom folder and put the file pfmscorefile.tsv in there. I then changed the function import_scanpy_maelstrom() on line 187 in “anansescanpy_import.py” script as follows:

# Import the output df from maelstrom
    # maelstrom_df = pd.read_csv(str(maelstrom_dir + "final.out.txt"),sep="\t",index_col=0)
maelstrom_df = pd.read_csv(str(maelstrom_dir + "pfmscorefile.tsv"),sep=",",index_col=0)

But I received another error from another function per_cluster_df()
ValueError: Length mismatch: Expected axis has 0 elements, new values have 131368 elements

Thus, I wanted to ask: what is this “AnanseScanpy_outs/maelstrom/final.out.txt” file? Should I exclude first 4 rows of pfmscorefile.tsv and save it as final.out.txt? The anansnake step didn't give me error messages.

Please find attached log file:
2024-09-23T143049.814049.snakemake.log

I ran scANANSE on a high-performance computing cluster provided within university, instead of my local PC. Could that be a reason why?

Your help would be greatly appreciated!

Best,
Xinqi

@Arts-of-coding
Copy link

Arts-of-coding commented Oct 2, 2024

Dear @bueredlemon11; Xinqi,

I went through your log file and it seems that maelstrom did not run. I saw this:

Job stats:
job              count    min threads    max threads
-------------  -------  -------------  -------------
all                  1              1              1
binding             19              1              1
influence           20              1              1
motif2factors        1             24             24
network             19              1              1
pfmscorefile         1             12             12
plot                20              1              1
total               81              1             24

Instead of what it should be:

Job stats:
job              count    min threads    max threads
-------------  -------  -------------  -------------
all                  1              1              1
binding              4              1              1
influence            3              1              1
maelstrom            1             12             12
motif2factors        1             12             12
network              4              1              1
pfmscorefile         1             12             12
plot                 3              1              1
total               18              1             12

You should have maelstrom as a job. Then a folder will be generated in your output dir. If this is an issue with the HPC instead of your local pc I do not know. I would recommend running both in parallel to rule this possibility out. Please rerun anansnake and check if mealstrom appears in the job list in the snakemake log file before proceeding. Hope to have helped!

Best,

Julian

@bueredlemon11
Copy link
Author

Hello @Arts-of-coding Julian,

Thanks for your suggestion! I tried to run on my local PC once and also on HPC several times, but mealstrom job still didn't appear in the job list. As you can find in this log from my PC:

2024-11-20T111420.924211.snakemake.log

Similar for other runs on HPC:

2024-11-14T235745.843525.snakemake.log

Are there other possible reasons for mealstrom job not running? Or is there any way to specifically run mealstrom somewhere else? In the manuscript we're currently preparing, we plan to use these repressive TFs predicted by scANANSE for further modeling but we got stuck in here...

Best,
Xinqi

@Arts-of-coding
Copy link

Dear @bueredlemon11 Xinqi,

Option 1

It could be that there is a disconnect in installed package versions. First of all, please check if there are any differences with comparing the software environment to the one we used below. If there are, try to install the versions specified below.

(anansnake) {YOU}:~$ conda list
# packages in environment at {YOUR ENVIRONMENT}:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
amply                     0.1.5              pyhd8ed1ab_0    conda-forge
anansnake                 0.0.1              pyhdfd78af_0    bioconda
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argcomplete               2.0.0              pyhd8ed1ab_0    conda-forge
attrs                     22.1.0             pyh71513ae_1    conda-forge
biopython                 1.79             py38h0a891b7_3    conda-forge
biothings_client          0.2.6              pyhd8ed1ab_0    conda-forge
bottleneck                1.3.5            py38h26c90d9_1    conda-forge
brotli                    1.0.9                h166bdaf_8    conda-forge
brotli-bin                1.0.9                h166bdaf_8    conda-forge
brotlipy                  0.7.0           py38h0a891b7_1005    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.9.24            ha878542_0    conda-forge
cachetools                5.2.0              pyhd8ed1ab_0    conda-forge
cattrs                    22.2.0             pyhd8ed1ab_0    conda-forge
certifi                   2022.9.24          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py38h4a40e3a_2    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
coin-or-cbc               2.10.8               h3786ebc_0    conda-forge
coin-or-cgl               0.60.6               h6f57e76_2    conda-forge
coin-or-clp               1.17.7               hc56784d_2    conda-forge
coin-or-osi               0.108.7              h2720bb7_2    conda-forge
coin-or-utils             2.11.6               h202d8b1_2    conda-forge
coincbc                   2.10.8            0_metapackage    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     4.11.0           py38h578d9bd_2    conda-forge
conda-ecosystem-user-package-isolation 1.0                  ha770c72_1    conda-forge
conda-package-handling    1.9.0            py38h0a891b7_1    conda-forge
configargparse            1.5.3              pyhd8ed1ab_0    conda-forge
connection_pool           0.0.3              pyhd3deb0d_0    conda-forge
cryptography              38.0.3           py38h2b5fc30_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
datrie                    0.8.2            py38h0a891b7_6    conda-forge
diskcache                 5.4.0              pyhd8ed1ab_0    conda-forge
dnspython                 2.2.1              pyhd8ed1ab_0    conda-forge
docutils                  0.19             py38h578d9bd_1    conda-forge
dpath                     2.0.6            py38h578d9bd_2    conda-forge
exceptiongroup            1.0.4              pyhd8ed1ab_0    conda-forge
filelock                  3.7.1              pyhd8ed1ab_0    conda-forge
fonttools                 4.38.0           py38h0a891b7_1    conda-forge
freetype                  2.12.1               hca18f0e_0    conda-forge
frozendict                2.3.4            py38h0a891b7_0    conda-forge
genomepy                  0.13.0             pyhdfd78af_0    bioconda
gitdb                     4.0.9              pyhd8ed1ab_0    conda-forge
gitpython                 3.1.29             pyhd8ed1ab_0    conda-forge
htslib                    1.16                 h6bc39ce_0    bioconda
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        5.0.0              pyha770c72_1    conda-forge
importlib_metadata        1.5.0                    py38_0    conda-forge
importlib_resources       5.10.0             pyhd8ed1ab_0    conda-forge
itsdangerous              2.1.2              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   h166bdaf_2    conda-forge
jsonschema                4.17.0             pyhd8ed1ab_0    conda-forge
jupyter_core              5.0.0            py38h578d9bd_0    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.4            py38h43d8883_1    conda-forge
krb5                      1.19.3               h3790be6_0    conda-forge
lcms2                     2.14                 h6ed2654_0    conda-forge
ld_impl_linux-64          2.39                 hc81fddc_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libarchive                3.5.2                hb890918_3    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_8    conda-forge
libbrotlidec              1.0.9                h166bdaf_8    conda-forge
libbrotlienc              1.0.9                h166bdaf_8    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libcurl                   7.86.0               h7bff187_1    conda-forge
libdeflate                1.14                 h166bdaf_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
liblapacke                3.9.0           16_linux64_openblas    conda-forge
libmamba                  0.20.0               h3985d26_0    conda-forge
libmambapy                0.20.0           py38h908000c_0    conda-forge
libnghttp2                1.47.0               hdcd2b5c_1    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.38               h753d276_0    conda-forge
libprotobuf               3.21.9               h6239696_0    conda-forge
libsolv                   0.7.22               h6239696_0    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               haa6b8db_3    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libtiff                   4.4.0                h55922b4_4    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.10.3               h7463322_0    conda-forge
libxslt                   1.1.37               h873f0b0_0    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
loguru                    0.6.0            py38h578d9bd_2    conda-forge
lxml                      4.9.1            py38ha9ef780_1    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
mamba                     0.20.0           py38h1abaa86_0    conda-forge
markupsafe                2.1.1            py38h0a891b7_2    conda-forge
matplotlib-base           3.5.2            py38h826bfd8_1    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mygene                    3.2.2              pyh5e36f6f_0    bioconda
mysql-common              8.0.31               haf5c9bc_0    conda-forge
mysql-connector-c         6.1.11            h6eb9d5d_1007    conda-forge
mysql-connector-python    8.0.31           py38hec49fd2_2    conda-forge
mysql-libs                8.0.31               h28c427c_0    conda-forge
nbformat                  5.7.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nomkl                     1.0                  h5ca1d4c_0    conda-forge
norns                     0.1.6              pyh5e36f6f_0    bioconda
nose                      1.3.7                   py_1006    conda-forge
numexpr                   2.8.3           py38h36ff5c2_101    conda-forge
numpy                     1.23.4           py38h7042d01_1    conda-forge
openjpeg                  2.5.0                h7d73246_1    conda-forge
openssl                   1.1.1s               h166bdaf_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.3.2            py38h8c16a72_0
pandas_schema             0.3.5                      py_0    conda-forge
pillow                    9.2.0            py38h9eb91d8_3    conda-forge
pip                       22.3.1             pyhd8ed1ab_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
plac                      1.3.5              pyhd8ed1ab_0    conda-forge
platformdirs              2.5.2              pyhd8ed1ab_1    conda-forge
protobuf                  4.21.9           py38hfa26641_0    conda-forge
psutil                    5.9.4            py38h0a891b7_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pulp                      2.7.0            py38h578d9bd_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.4            py38h0a891b7_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyfaidx                   0.8.1.2            pyhdfd78af_0    bioconda
pyld                      2.0.3              pyhd8ed1ab_1    conda-forge
pyopenssl                 22.1.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyrsistent                0.19.2           py38h0a891b7_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
pysradb                   1.4.2              pyhdfd78af_0    bioconda
python                    3.8.13          h582c2e5_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.16.2             pyhd8ed1ab_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytz                      2022.6             pyhd8ed1ab_0    conda-forge
pyvcf3                    1.0.3              pyhdfd78af_0    bioconda
pyyaml                    6.0              py38h0a891b7_5    conda-forge
readline                  8.1.2                h0f457ee_0    conda-forge
reproc                    14.2.3               h7f98852_0    conda-forge
reproc-cpp                14.2.3               h9c3ff4c_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_1    conda-forge
requests-cache            0.9.6              pyhd8ed1ab_0    conda-forge
requests-ftp              0.3.1                      py_1    conda-forge
reretry                   0.11.1             pyhd8ed1ab_0    conda-forge
ruamel_yaml               0.15.80         py38h0a891b7_1008    conda-forge
seq2science               0.9.7              pyhdfd78af_0    bioconda
setuptools                65.5.1             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smart_open                6.2.0              pyha770c72_0    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
snakemake-minimal         7.18.2             pyhdfd78af_1    bioconda
sqlite                    3.40.0               h4ff8645_0    conda-forge
stopit                    1.1.2                      py_0    conda-forge
tabix                     1.11                 hdfd78af_0    bioconda
tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
throttler                 1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
toposort                  1.7                pyhd8ed1ab_0    conda-forge
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
trackhub                  0.1.2019.12.24     pyh864c0ab_1    bioconda
traitlets                 5.5.0              pyhd8ed1ab_0    conda-forge
typing_extensions         4.4.0              pyha770c72_0    conda-forge
ucsc-bedtogenepred        377                  ha8a8165_3    bioconda
ucsc-genepredtobed        377                  ha8a8165_5    bioconda
ucsc-genepredtogtf        377                  ha8a8165_5    bioconda
ucsc-gff3togenepred       377                  ha8a8165_3    bioconda
ucsc-gtftogenepred        377                  ha8a8165_5    bioconda
unicodedata2              15.0.0           py38h0a891b7_0    conda-forge
url-normalize             1.4.3              pyhd8ed1ab_0    conda-forge
urllib3                   1.26.11            pyhd8ed1ab_0    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
wrapt                     1.14.1           py38h0a891b7_1    conda-forge
xdg                       5.1.1              pyhd8ed1ab_0    conda-forge
xmltodict                 0.13.0             pyhd8ed1ab_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
yaml-cpp                  0.6.3                he1b5a44_4    conda-forge
yte                       1.5.1            py38h578d9bd_1    conda-forge
zipp                      3.10.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h6239696_4    conda-forge

Option 2

Second, it could be that the folder structure is not correctly picked up by anansnake. For replication, you could put your data in the "example" directory of anansnake. This should be the anansnake folder:
anansnake1

This should be inside the "example" directory:
anansnake2

Something similar to this should be in the outdir:
anansnake3

This should be in the deseq2 folder, before starting the run (keep in mind the timestamps):
anansnake4

Lastly, you should have a similar structure to this in the config.yaml:
anansnake5

Option 3

Third, you can try to run it multiple times in a row.
If it does not appear on the first run, then you can use commands similar to this until it appears in your jobs:

$ anansnake --configfile example/config.yaml --resources mem_mb=48_000 --cores 12 --unlock
$ rm -rf {PATH-TO-ANANSNAKEDIR}/anansnake/example/outdir/gimme/ 
$ anansnake --configfile example/config.yaml --resources mem_mb=48_000 --cores 12 --rerun-incomplete

I hope that any of the options will make mealstrom appear in the job list. If not, please let me know.

Kind regards,

Julian

@bueredlemon11
Copy link
Author

bueredlemon11 commented Dec 5, 2024

Hi @Arts-of-coding Julian,

Thanks for your options! I tried option1 and 3, now the maelstrom job runs however ananse network gives me error messages.

First I managed to update the package versions as you indicated in the reply, then in the log I can see the maelstrom job running:

log.txt

As I opened log_average.txt

log_average.txt

I tried to run other datasets but they all gave same error messages from ananse network. Have you perhaps seen this before?

PS: the only difference in our package version is "setuptools", in my environment it's 59.8.0, whereas in your case it's 65.5.1. I tried to upgrade the version but had the following incompatible error. Could this be a cause?
image

Best regards,
Xinqi

@Arts-of-coding
Copy link

Dear @bueredlemon11 Xinqi,

Good to see that maelstrom now runs for you. From a practical point of view I would suggest for you to have two different anansnake environments, one where you run Maelstrom and save the results external (latest environment) and another environment, where network runs correctly and save those results somewhere else. These network related error messages did not pop up in the previous environment right? Alternatively, it might be that the binding file is somehow corrupted uring the run (e.g. average.h5) and you can remove this file just before you begin re-running it.

However, if you also experienced these errors in the previous runs as well (with the previous anansnake environment), it might be your underlying data. You really need to check this statement below as suggested in the logging:

ValueError: No regions in the binding file overlap with given regions! Use `ananse view --list-regions /home/yanx/DANSE_scANANSE_Epi/d2_3/AnanseScanpy_outs/binding/average.h5` to inspect the regions in the file.

To rule out that "average.h5" is the issue, you can of course only run direct contrasts (e.g.: "day2/3_day3/4") and see if that runs correctly (see option 2 config.yaml from my previous message).

If the average.h5 network is indeed the issue, you can also think about implementing a biologically relevant comparison (instead of the average network). This might be a specific type of (naïve) stem cells (e.g. iPSCs) or using the first day of the time series as your baseline to compare everything else to. If you choose to do this you need to define the comparison for all your conditions in AnanseScanpy, in a similar fashion to this:

contrasts=["day2/3_day1","day4/5_day1",.......]

It does also worry me that you see this happening in the other log file:

2024-12-05 15:35:10 | INFO | 0% of TFs found in both BED and expression file(s)

If you have two different anansnake environments, you can directly compare if this happens in both of them.

I hope that this helps you advance further.

Kind regards,

Julian

@bueredlemon11
Copy link
Author

bueredlemon11 commented Dec 15, 2024

Hi @Arts-of-coding Julian,

Thanks for your suggestion. I tried two environments: 1) anansnake, from the scANANSE tutorial; 2) anansnake_ja, from the .yml you shared in previous reply.

In the first environment "anansnake", the job ran successfully without Maelstrom job, as you can see in the log below:
log-anansnake.txt

The binding and network jobs were OK:
binding_average.txt
network_average.txt

In the second environment "anansnake_ja",
log-anansnake_ja.txt

However, under the folder "AnanseScanpy_outs" I didn't find "Maelstrom" folder
image

I only found under "gimme" folder,
image

in "hg38-maelstrom" folder.
image

But in "final.out.txt",
final.out.txt

When attempting to use "hg38-maelstrom" folder for the python code:
image

It seems like Maelstrom job indeed ran but was not complete. Would it appear in later jobs if the run were successful? Have you seen this before as well?

Thanks in advance for your help.

Best regards,
Xinqi

@Arts-of-coding
Copy link

Dear @bueredlemon11 Xinqi,

The final.out.txt indeed seems corrupted for your data, I have not seen this before. First you can try to remove the final out file and then use option 3 as earlier specified (see below), by just rerunning everything (mealstrom should rerun).

Alternatively, you can see if replicating your pipeline with the sample data provided, shows similar output. If this is the case, then it is the underlying maelstrom job in your environment. If the sample data works (and shows a good final.out.txt) and yours does not, then it must be something in the data that you supplied. You then need to check the sample data (dataframes and .tsv files) and compare this to your data and troubleshoot from that until it is fixed. Within Python you can check datatypes of pseudobulk tables in e.g. Pandas and convert them if needed with ".astype(...)"

Kind regards,

Julian

Dear @bueredlemon11 Xinqi,

Option 1

It could be that there is a disconnect in installed package versions. First of all, please check if there are any differences with comparing the software environment to the one we used below. If there are, try to install the versions specified below.

(anansnake) {YOU}:~$ conda list
# packages in environment at {YOUR ENVIRONMENT}:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
amply                     0.1.5              pyhd8ed1ab_0    conda-forge
anansnake                 0.0.1              pyhdfd78af_0    bioconda
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argcomplete               2.0.0              pyhd8ed1ab_0    conda-forge
attrs                     22.1.0             pyh71513ae_1    conda-forge
biopython                 1.79             py38h0a891b7_3    conda-forge
biothings_client          0.2.6              pyhd8ed1ab_0    conda-forge
bottleneck                1.3.5            py38h26c90d9_1    conda-forge
brotli                    1.0.9                h166bdaf_8    conda-forge
brotli-bin                1.0.9                h166bdaf_8    conda-forge
brotlipy                  0.7.0           py38h0a891b7_1005    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.18.1               h7f98852_0    conda-forge
ca-certificates           2022.9.24            ha878542_0    conda-forge
cachetools                5.2.0              pyhd8ed1ab_0    conda-forge
cattrs                    22.2.0             pyhd8ed1ab_0    conda-forge
certifi                   2022.9.24          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py38h4a40e3a_2    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
coin-or-cbc               2.10.8               h3786ebc_0    conda-forge
coin-or-cgl               0.60.6               h6f57e76_2    conda-forge
coin-or-clp               1.17.7               hc56784d_2    conda-forge
coin-or-osi               0.108.7              h2720bb7_2    conda-forge
coin-or-utils             2.11.6               h202d8b1_2    conda-forge
coincbc                   2.10.8            0_metapackage    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
conda                     4.11.0           py38h578d9bd_2    conda-forge
conda-ecosystem-user-package-isolation 1.0                  ha770c72_1    conda-forge
conda-package-handling    1.9.0            py38h0a891b7_1    conda-forge
configargparse            1.5.3              pyhd8ed1ab_0    conda-forge
connection_pool           0.0.3              pyhd3deb0d_0    conda-forge
cryptography              38.0.3           py38h2b5fc30_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
datrie                    0.8.2            py38h0a891b7_6    conda-forge
diskcache                 5.4.0              pyhd8ed1ab_0    conda-forge
dnspython                 2.2.1              pyhd8ed1ab_0    conda-forge
docutils                  0.19             py38h578d9bd_1    conda-forge
dpath                     2.0.6            py38h578d9bd_2    conda-forge
exceptiongroup            1.0.4              pyhd8ed1ab_0    conda-forge
filelock                  3.7.1              pyhd8ed1ab_0    conda-forge
fonttools                 4.38.0           py38h0a891b7_1    conda-forge
freetype                  2.12.1               hca18f0e_0    conda-forge
frozendict                2.3.4            py38h0a891b7_0    conda-forge
genomepy                  0.13.0             pyhdfd78af_0    bioconda
gitdb                     4.0.9              pyhd8ed1ab_0    conda-forge
gitpython                 3.1.29             pyhd8ed1ab_0    conda-forge
htslib                    1.16                 h6bc39ce_0    bioconda
icu                       70.1                 h27087fc_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        5.0.0              pyha770c72_1    conda-forge
importlib_metadata        1.5.0                    py38_0    conda-forge
importlib_resources       5.10.0             pyhd8ed1ab_0    conda-forge
itsdangerous              2.1.2              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   h166bdaf_2    conda-forge
jsonschema                4.17.0             pyhd8ed1ab_0    conda-forge
jupyter_core              5.0.0            py38h578d9bd_0    conda-forge
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.4            py38h43d8883_1    conda-forge
krb5                      1.19.3               h3790be6_0    conda-forge
lcms2                     2.14                 h6ed2654_0    conda-forge
ld_impl_linux-64          2.39                 hc81fddc_0    conda-forge
lerc                      4.0.0                h27087fc_0    conda-forge
libarchive                3.5.2                hb890918_3    conda-forge
libblas                   3.9.0           16_linux64_openblas    conda-forge
libbrotlicommon           1.0.9                h166bdaf_8    conda-forge
libbrotlidec              1.0.9                h166bdaf_8    conda-forge
libbrotlienc              1.0.9                h166bdaf_8    conda-forge
libcblas                  3.9.0           16_linux64_openblas    conda-forge
libcurl                   7.86.0               h7bff187_1    conda-forge
libdeflate                1.14                 h166bdaf_0    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 12.2.0              h65d4601_19    conda-forge
libgfortran-ng            12.2.0              h69a702a_19    conda-forge
libgfortran5              12.2.0              h337968e_19    conda-forge
libgomp                   12.2.0              h65d4601_19    conda-forge
libiconv                  1.17                 h166bdaf_0    conda-forge
liblapack                 3.9.0           16_linux64_openblas    conda-forge
liblapacke                3.9.0           16_linux64_openblas    conda-forge
libmamba                  0.20.0               h3985d26_0    conda-forge
libmambapy                0.20.0           py38h908000c_0    conda-forge
libnghttp2                1.47.0               hdcd2b5c_1    conda-forge
libnsl                    2.0.0                h7f98852_0    conda-forge
libopenblas               0.3.21          pthreads_h78a6416_3    conda-forge
libpng                    1.6.38               h753d276_0    conda-forge
libprotobuf               3.21.9               h6239696_0    conda-forge
libsolv                   0.7.22               h6239696_0    conda-forge
libsqlite                 3.40.0               h753d276_0    conda-forge
libssh2                   1.10.0               haa6b8db_3    conda-forge
libstdcxx-ng              12.2.0              h46fd767_19    conda-forge
libtiff                   4.4.0                h55922b4_4    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp-base              1.2.4                h166bdaf_0    conda-forge
libxcb                    1.13              h7f98852_1004    conda-forge
libxml2                   2.10.3               h7463322_0    conda-forge
libxslt                   1.1.37               h873f0b0_0    conda-forge
libzlib                   1.2.13               h166bdaf_4    conda-forge
loguru                    0.6.0            py38h578d9bd_2    conda-forge
lxml                      4.9.1            py38ha9ef780_1    conda-forge
lz4-c                     1.9.3                h9c3ff4c_1    conda-forge
lzo                       2.10              h516909a_1000    conda-forge
mamba                     0.20.0           py38h1abaa86_0    conda-forge
markupsafe                2.1.1            py38h0a891b7_2    conda-forge
matplotlib-base           3.5.2            py38h826bfd8_1    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mygene                    3.2.2              pyh5e36f6f_0    bioconda
mysql-common              8.0.31               haf5c9bc_0    conda-forge
mysql-connector-c         6.1.11            h6eb9d5d_1007    conda-forge
mysql-connector-python    8.0.31           py38hec49fd2_2    conda-forge
mysql-libs                8.0.31               h28c427c_0    conda-forge
nbformat                  5.7.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h27087fc_1    conda-forge
nomkl                     1.0                  h5ca1d4c_0    conda-forge
norns                     0.1.6              pyh5e36f6f_0    bioconda
nose                      1.3.7                   py_1006    conda-forge
numexpr                   2.8.3           py38h36ff5c2_101    conda-forge
numpy                     1.23.4           py38h7042d01_1    conda-forge
openjpeg                  2.5.0                h7d73246_1    conda-forge
openssl                   1.1.1s               h166bdaf_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.3.2            py38h8c16a72_0
pandas_schema             0.3.5                      py_0    conda-forge
pillow                    9.2.0            py38h9eb91d8_3    conda-forge
pip                       22.3.1             pyhd8ed1ab_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
plac                      1.3.5              pyhd8ed1ab_0    conda-forge
platformdirs              2.5.2              pyhd8ed1ab_1    conda-forge
protobuf                  4.21.9           py38hfa26641_0    conda-forge
psutil                    5.9.4            py38h0a891b7_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pulp                      2.7.0            py38h578d9bd_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycosat                   0.6.4            py38h0a891b7_1    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pyfaidx                   0.8.1.2            pyhdfd78af_0    bioconda
pyld                      2.0.3              pyhd8ed1ab_1    conda-forge
pyopenssl                 22.1.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyrsistent                0.19.2           py38h0a891b7_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
pysradb                   1.4.2              pyhdfd78af_0    bioconda
python                    3.8.13          h582c2e5_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.16.2             pyhd8ed1ab_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytz                      2022.6             pyhd8ed1ab_0    conda-forge
pyvcf3                    1.0.3              pyhdfd78af_0    bioconda
pyyaml                    6.0              py38h0a891b7_5    conda-forge
readline                  8.1.2                h0f457ee_0    conda-forge
reproc                    14.2.3               h7f98852_0    conda-forge
reproc-cpp                14.2.3               h9c3ff4c_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_1    conda-forge
requests-cache            0.9.6              pyhd8ed1ab_0    conda-forge
requests-ftp              0.3.1                      py_1    conda-forge
reretry                   0.11.1             pyhd8ed1ab_0    conda-forge
ruamel_yaml               0.15.80         py38h0a891b7_1008    conda-forge
seq2science               0.9.7              pyhdfd78af_0    bioconda
setuptools                65.5.1             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smart_open                6.2.0              pyha770c72_0    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
snakemake-minimal         7.18.2             pyhdfd78af_1    bioconda
sqlite                    3.40.0               h4ff8645_0    conda-forge
stopit                    1.1.2                      py_0    conda-forge
tabix                     1.11                 hdfd78af_0    bioconda
tabulate                  0.8.9              pyhd8ed1ab_0    conda-forge
throttler                 1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h27826a3_0    conda-forge
toposort                  1.7                pyhd8ed1ab_0    conda-forge
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
trackhub                  0.1.2019.12.24     pyh864c0ab_1    bioconda
traitlets                 5.5.0              pyhd8ed1ab_0    conda-forge
typing_extensions         4.4.0              pyha770c72_0    conda-forge
ucsc-bedtogenepred        377                  ha8a8165_3    bioconda
ucsc-genepredtobed        377                  ha8a8165_5    bioconda
ucsc-genepredtogtf        377                  ha8a8165_5    bioconda
ucsc-gff3togenepred       377                  ha8a8165_3    bioconda
ucsc-gtftogenepred        377                  ha8a8165_5    bioconda
unicodedata2              15.0.0           py38h0a891b7_0    conda-forge
url-normalize             1.4.3              pyhd8ed1ab_0    conda-forge
urllib3                   1.26.11            pyhd8ed1ab_0    conda-forge
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge
wrapt                     1.14.1           py38h0a891b7_1    conda-forge
xdg                       5.1.1              pyhd8ed1ab_0    conda-forge
xmltodict                 0.13.0             pyhd8ed1ab_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge
yaml                      0.2.5                h7f98852_2    conda-forge
yaml-cpp                  0.6.3                he1b5a44_4    conda-forge
yte                       1.5.1            py38h578d9bd_1    conda-forge
zipp                      3.10.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               h166bdaf_4    conda-forge
zstd                      1.5.2                h6239696_4    conda-forge

Option 2

Second, it could be that the folder structure is not correctly picked up by anansnake. For replication, you could put your data in the "example" directory of anansnake. This should be the anansnake folder: anansnake1

This should be inside the "example" directory: anansnake2

Something similar to this should be in the outdir: anansnake3

This should be in the deseq2 folder, before starting the run (keep in mind the timestamps): anansnake4

Lastly, you should have a similar structure to this in the config.yaml: anansnake5

Option 3

Third, you can try to run it multiple times in a row. If it does not appear on the first run, then you can use commands similar to this until it appears in your jobs:

$ anansnake --configfile example/config.yaml --resources mem_mb=48_000 --cores 12 --unlock
$ rm -rf {PATH-TO-ANANSNAKEDIR}/anansnake/example/outdir/gimme/ 
$ anansnake --configfile example/config.yaml --resources mem_mb=48_000 --cores 12 --rerun-incomplete

I hope that any of the options will make mealstrom appear in the job list. If not, please let me know.

Kind regards,

Julian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants