Code Monkey home page Code Monkey logo

Comments (7)

GuipengLi avatar GuipengLi commented on July 20, 2024

Hi, are you using short reads data? Try with "-d 1" option for short reads.

from chia-pet2.

tiagochst avatar tiagochst commented on July 20, 2024

Hi,
Thanks it worked! But, now I have a problem in step 5 now.

[04-06 21:27:56] Running Step 5: Detect Interactions ...

extendpeak output/out_peaks.narrowPeak 500 output/out_peaks.slopPeak
Running  extendpeak...
bedtools slop -i output/out_peaks.narrowPeak -g hg38.chrom.sizes -b 500 | bedtools merge -d 256 > output/out_peaks.slopPeak
awk 'BEGIN{OFS="\t";i=1}{print $1,$2,$3,"peak_"i;i=i+1}' output/out_peaks.slopPeak > tmp.bed; mv tmp.bed output/out_peaks.slopPeak
peak_depth2 output/out.rmdup.bedpe.tag 100 output/out_peaks.slopPeak output/out.peaks.depth
Running peakdepth...
psort output/out.rmdup.bedpe.tag output/out.rmdup.bedpe.tag.sorted > /dev/null 2>&1
bedtools coverage -sorted -b output/out.rmdup.bedpe.tag.sorted -a output/out_peaks.slopPeak -counts > output/out.peaks.depth
ERROR: Sort order was unspecified, and file output/out.rmdup.bedpe.tag.sorted is not sorted lexicographically.
       Please re-reun with the -g option for a genome file.
       See documentation for details.

hg38.chrom.sizes is this file: https://github.com/igvteam/igv/blob/master/genomes/sizes/hg38.chrom.sizes

from chia-pet2.

GuipengLi avatar GuipengLi commented on July 20, 2024

This error seems to be caused by psort. Could you check if the file output/out.rmdup.bedpe.tag.sorted is empty or damaged?

from chia-pet2.

tiagochst avatar tiagochst commented on July 20, 2024

It is not empty
screen shot 2017-04-07 at 9 52 43 am

from chia-pet2.

tiagochst avatar tiagochst commented on July 20, 2024

The last 3 lines were responsible for the error. If I delete them I can run it bedtools.

screen shot 2017-04-07 at 10 05 00 am

from chia-pet2.

tiagochst avatar tiagochst commented on July 20, 2024

I erased those lines manully and continue the pipeline.

But then I got:


[04-07 14:49:12] Running Step 6: QCplots ...

Please check input or Rerun step 6

[04-07 14:49:12] Running Step 7: MICC ...

Rscript /home/tiagochst/bin/ChIA-PET2_0.9.2/bin/MICC2.R output/out.interactions.intra.bedpe output/out.interactions.inter.bedpe output/out.interactions.MICC 2
Loading required package: VGAM
Loading required package: methods
Loading required package: stats4
Loading required package: splines
Running MICC...
Loading intra data...
Loading inter data...
Cacluating...
Error: Don't have enough confident interactions to learn the model.

Please could you help me? I'm not sure if I did something wrong.

My --forward and --reverse files are both fastq in Biological replicate 1 (https://www.encodeproject.org/experiments/ENCSR000CAA/)

For --genome I was using GDC files

For --bedtoolsgenome I used this file
As you said -d is 1 due to the short reads

My final command was:
ChIA-PET2 -g GRCh38.d1.vd1.fa -b hg38.chrom.sizes -f ENCFF000LAF.fastq.gz -r ENCFF000KZT.fastq.gz -d 1 -s 1

from chia-pet2.

tiagochst avatar tiagochst commented on July 20, 2024

I removed the psort and the -sort argument and continue step 5 manually. One of the replicates worked.

from chia-pet2.

Related Issues (20)

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.