Giter Club home page Giter Club logo

Comments (6)

konnosif avatar konnosif commented on May 22, 2024

@Colorstorm

--filter_sTF 1 --filter_sStart 3 --filter_sEnd 4 --suffix_label 0

--genus (should not affect)

--corr (should not affect)
Those should be the less memory using settings

if there is still a memory problem it might be because of the memory it needs to create the huge images. So input should not been affecting memory but image creation is affecting it.

from heatmaps.

Colorstorm avatar Colorstorm commented on May 22, 2024

Thanks, I am trying the options now and will keep you up to date

from heatmaps.

Colorstorm avatar Colorstorm commented on May 22, 2024

How much memory did you have allocated in slurm?

rcug_lw@hpc05:/working2/rcug_lw/konstantinos/fabian_test$ srun python3 heat5.py --batch_files marie.txt.filt.sort.csv.forpython.txt --filter_sTF 1 --filter_sStart 3 --filter_s   End 4 --suffix_label 0 --where ../cov_test_mariep/
srun: job 3367604 queued and waiting for resources
srun: error: Lookup failed: Unknown host
srun: job 3367604 has been allocated resources
/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
  import pandas.util.testing as tm
####Current directory is : /working2/rcug_lw/konstantinos/fabian_test
####Current file.txt with filenames to open is:marie.txt.filt.sort.csv.forpython.txt
KGCF01_S4_R1 dataset
Successfully created the directory /working2/rcug_lw/konstantinos/fabian_test/KGCF01_S4_R1
Successfully created the directory /working2/rcug_lw/konstantinos/fabian_test/KGCF01_S4_R1/heatmap
Traceback (most recent call last):
  File "heat5.py", line 211, in <module>
    result = pd.merge(leftPANDA, rightPANDA, how='outer', on=['colA'])
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/reshape/merge.py", line 88, in merge
    return op.get_result()
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/reshape/merge.py", line 668, in get_result
    self._maybe_add_join_keys(result, left_indexer, right_indexer)
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/reshape/merge.py", line 821, in _maybe_add_join_keys
    result[name] = key_col
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 2938, in __setitem__
    self._set_item(key, value)
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 3000, in _set_item
    value = self._sanitize_column(key, value)
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/frame.py", line 3645, in _sanitize_column
    value = value.copy(deep=True)
  File "/working2/rcug_lw/miniconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 861, in copy
    new_index = self._shallow_copy(self._data.copy())
MemoryError: Unable to allocate 41.4 GiB for an array with shape (5556669383,) and data type object
srun: error: hpc-rc05: task 0: Exited with exit code 1

from heatmaps.

colindaven avatar colindaven commented on May 22, 2024

@Colorstorm I haven't tried the script out, but I saw uses up to 480 GB RAM on one server this morning.

from heatmaps.

colindaven avatar colindaven commented on May 22, 2024

Konstantinos' working command:

command i used on Ubuntu * ubuntu on windows 10..! on a 8 GB deskop on toy dataset (Github) :

python3 heat5.py --batch_files sample.txt --filter_sTF 1 --filter_sStart 0 --filter_sEnd 4 --suffix_label A --genus 1 --corr 0

from heatmaps.

colindaven avatar colindaven commented on May 22, 2024

Huge RAM use was due to the coverage window, and not the bam.txt files, being used as input.

from heatmaps.

Related Issues (6)

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.