vaquerizaslab / fanc

FAN-C: Framework for the ANalysis of C-like data
GNU General Public License v3.0
107 stars 14 forks source link

fanc aggregate data #160

Open shinohara-xiao opened 1 year ago

shinohara-xiao commented 1 year ago

HI, When I'm trying to run

fanc aggregate output/hic/binned/fanc_example_100kb.hic \
               architecture/domains/gm12878_tads.bed \
               architecture/aggregate/fanc_example_100kb.agg

I do not find the folder "output" in the folder "example", instead, I used the hic data from "architecture/other-hic/fanc_example.juicer.hic@100kb" , and I got an result as following,

image

which is pretty different from the result as shown in the docs where the data from 'output/hic/binned/fanc_example_100kb.hic' is used.

I wonder whether the result is correct and I did not change any other paremeters in my code,my code is as following:

fanc aggregate 
architecture/other-hic/fanc_example.juicer.hic@100kb 
architecture/domains/gm12878_tads.bed 
architecture/aggregate/fanc_example_100kb.agg 
-p architecture/aggregate/fanc_example_100kb.agg.png 
-m architecture/aggregate/fanc_example_100kb.agg.txt

Wishing for the answers and thank you very much .

liz-is commented 1 year ago

Hi, The output/ folder will be created after running the example pipeline, hopefully my reply to your otehr question helps with getting this running.

Your code / output look comparable to the first example in the documentation here, to me (the change in diagonal orientation is due to a plotting difference between versions, I believe). The docs there provide a worked example of the impact of the various parameters to fanc aggregate, so probably by having a look at those you will find a parameter combination that gives you the output plot you're looking for! :)

shinohara-xiao commented 1 year ago

Hi, Thanks for you answering and that helps me a lot. Here I have another question when I'm running fanc aggregate Here is my code:

fanc aggregate  GSE63525_GM12878_insitu_combined.hic  \
                            ArrowHead_GM12878_primary+replicate.bed \
                            FANC/output/fanc_gm12878.agg \
                            FANC/output/fanc_gm12878.agg.png \
                            FANC/output/fanc_gm12878.agg.txt

the fanc_gm12878.agg.png is like this:

image

I'm afraid the result is not right.However, when I read the docs, I do not find any parameters that I can use to revise the result. And the picture after O/E and large is like this:

image

Do I did anything wrong? Or,is my file wrong ?

Sorry to bother, It would be very grateful if you could help me with this. Looking forward to your answering.