GithubHelp home page GithubHelp logo

mhh-rcug / heatmaps Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 92 KB

Heatmap script to compare taxon abundance using output from the Wochenende pipeline

Python 100.00%
bioinformatics heatmaps seaborn

heatmaps's People

Contributors

colindaven avatar colorstorm avatar dependabot[bot] avatar konnosif avatar sannareddyk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

heatmaps's Issues

Huge Memory consumption

Hi,

I have tried to run some test and had a lot of trouble with the huge amount of memory that is needed.

@konnosif which settings do you use?

Maybe we could think about making the settings with the least memory usage default and add a comment that other settings take a lot of memory

pcsv: view csv nicely on command line

I learned this trick very recently to avoid malformed csvs on the command line (yay, avoid xlsx and libreoffice).

  • Add this to your .bashrc or globalenv
# Functions

#view csv nicely
function pcsv {
    column -t -s, -n "$@" | less -F -S -X -K
}

  • Logout login

  • view file
    pcsv some.csv

need input files for Konstantinos

Create heatmaps/correlation heatmaps and dendrograms generated from csv
files that are generated from wochenende pipeline. Those files should be filtered, sorted and be into a csv format as the above.

Example: MCF01_S7_R1.ndp.lc.trm.s.mq30.01mm.dup.calmd.bam.txt.filt.sort.csv

20+ bam.txt

example data throws error

Hi @konnosif

probably due to data but these commands all throw an error with the sample data :


 1883  python3 heat5.py --batch_files eg1_sepsis_minion/sample.txt --filter_sTF 0 --filter_sStart 0 --filter_sEnd 4 --suffix_label A --genus 1 --corr 0
 1884  python3 heat5.py --batch_files eg1_sepsis_minion/sample.txt --filter_sTF 0 --filter_sStart 0 --filter_sEnd 4 --suffix_label A --genus 0 --corr 0
 1885  python3 heat5.py --batch_files eg1_sepsis_minion/sample.txt --filter_sTF 0 --filter_sStart 0 --filter_sEnd 4 --genus 0 --corr 0
 1886  python3 heat5.py --batch_files eg1_sepsis_minion/sample.txt


Error 

python3 heat5.py --batch_files eg1_sepsis_minion/sample.txt
####Current directory is : /mnt/ngsnfs/tools/dev/Heatmaps
####Current file.txt with filenames to open is:eg1_sepsis_minion/sample.txt
Traceback (most recent call last):
  File "heat5.py", line 189, in <module>
    left3=left2.split("_")[0]+"_"+left2.split("_")[1]+"_"+left2.split("_")[2]
IndexError: list index out of range





packages and versions needed for running heatmap script

Hi Konstantinos, could you please include documentation on packages and versions needed (that can be added to the wochenende env -already has numpy, matplotlib, pandas) to run heatmap script.
ex. seaborn package, scipy.cluster etc

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.