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

TrackDb.txt sample group indentation #16

Open
fwzhao opened this issue Jul 19, 2018 · 5 comments
Open

TrackDb.txt sample group indentation #16

fwzhao opened this issue Jul 19, 2018 · 5 comments

Comments

@fwzhao
Copy link
Collaborator

fwzhao commented Jul 19, 2018

TrackDb.txt sample group indentation error leads to
needLargeMem: trying to allocate 0 bytes

@afrendeiro
Copy link
Owner

needLargeMem: trying to allocate 0 bytes <- occurs in UCSC browser.

Also related, trackmanager should remove groups with no attributes set to avoid for example:

subGroup3 ip ip \
    = \  <- this "group" shouldn't be added
    H3K27ac=H3K27ac \
    IgG=IgG \
    Input=Input

@afrendeiro
Copy link
Owner

@fwzhao please test with latest master branch or commit b525182

@fwzhao
Copy link
Collaborator Author

fwzhao commented Sep 20, 2018

Tested with ngstk version 0.1.3.6, same issue arises again

@fwzhao fwzhao reopened this Sep 20, 2018
@afrendeiro
Copy link
Owner

Can you post a sample of trackDb.txt with the problematic part? (or simply send me the link to it)

@fwzhao
Copy link
Collaborator Author

fwzhao commented Sep 20, 2018

I think it has to do with multiWig containers for replicated samples (and it's indentation). My current workaround is to get rid of all multiWigs, and reassign parents. Example requested below -


track omni_atac
container multiWig
shortLabel variations of omni-atac protocol (Greenleaf lab)
longLabel variations of omni-atac protocol (Greenleaf lab)
container multiWig
aggregate none
showSubtrackColorOnUi on
type bigWig
autoScale on
visibility full
maxHeighPixels 32:32:8
subGroup1 protocol protocol \
    ATACseq_Omni_Greenleaf=ATACseq_Omni_Greenleaf \
    ATACseq_Omni_test-v1=ATACseq_Omni_test-v1 \
    ATACseq_Omni_test-v2=ATACseq_Omni_test-v2 \
    ATACseq_v2_fz=ATACseq_v2_fz \
    fastATAC4=fastATAC4 \
    omniATAC1=omniATAC1 \
    omniATAC1_omniATAC1=omniATAC1_omniATAC1
subGroup2 protocol_general protocol_general \
    fastATAC=fastATAC \
    omni_ATAC=omni_ATAC
subGroup3 cell_type cell_type \
    Jurkat=Jurkat \
    KMM1=KMM1 \
    M579=M579 \
    M579-TIL209=M579-TIL209
subGroup4 cell_count cell_count \
    50k=50k \
    50k-30k=50k-30k \
    5k=5k
sortOrder protocol=+ protocol_general=+ cell_type=+ cell_count=+
dimensions dimX=protocol dimY=protocol_general dimABCDEFGHIJKLMNOPQRSTUVW=cell_type

    track omniATAC1_omni_ATAC_M579_50k
    shortLabel omniATAC1 omni_ATAC M579 50k
    longLabel omniATAC1 omni_ATAC M579 50k
    parent omni_atac
    container multiWig
    aggregate transparentOverlay
    showSubtrackColorOnUi on
    type bigWig
    visibility full
    maxHeighPixels 32:32:8
        subGroups protocol=omniATAC1 protocol_general=omni_ATAC cell_type=M579 cell_count=50k

        track M579_omniATAC1_CS_50k_customTn5_FACS_r1
        shortLabel M579_omniATAC1_CS_50k_customTn5_FACS_r1
        longLabel M579_omniATAC1_CS_50k_customTn5_FACS_r1
        parent omniATAC1_omni_ATAC_M579_50k
        type bigWig
        graphTypeDefault bar
        visibility full
        height 32
        maxHeighPixels 32:32:8
        windowingFunction mean
        autoScale on
        bigDataUrl M579_omniATAC1_CS_50k_customTn5_FACS_r1.bigWig
        color 205,255,0
        subGroups protocol=omniATAC1 protocol_general=omni_ATAC cell_type=M579 cell_count=50k


        track M579_omniATAC1_CS_50k_illuminaTn5_FACS_r1
        shortLabel M579_omniATAC1_CS_50k_illuminaTn5_FACS_r1
        longLabel M579_omniATAC1_CS_50k_illuminaTn5_FACS_r1
        parent omniATAC1_omni_ATAC_M579_50k
        type bigWig
        graphTypeDefault bar
        visibility full
        height 32
        maxHeighPixels 32:32:8
        windowingFunction mean
        autoScale on
        bigDataUrl M579_omniATAC1_CS_50k_illuminaTn5_FACS_r1.bigWig
        color 205,255,0
        subGroups protocol=omniATAC1 protocol_general=omni_ATAC cell_type=M579 cell_count=50k


track M579-TIL209_omniATAC1_omniATAC1_CS_50k-30k_customTn5-customTn5_NoFACS-FACS_r1
shortLabel M579-TIL209_omniATAC1_omniATAC1_CS_50k-30k_customTn5-customTn5_NoFACS-FACS_r1
longLabel M579-TIL209_omniATAC1_omniATAC1_CS_50k-30k_customTn5-customTn5_NoFACS-FACS_r1
parent omni_atac
type bigWig
graphTypeDefault bar
visibility full
height 32
maxHeighPixels 32:32:8
windowingFunction mean
autoScale on
bigDataUrl M579-TIL209_omniATAC1_omniATAC1_CS_50k-30k_customTn5-customTn5_NoFACS-FACS_r1.bigWig
color 255,0,40
subGroups protocol=omniATAC1_omniATAC1 protocol_general=omni_ATAC cell_type=M579-TIL209 cell_count=50k-30k

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