Git Product home page Git Product logo

Comments (4)

cmdoret avatar cmdoret commented on August 25, 2024

Hello,
I think you are right, default alignment parameters for hicstuff are defined here: https://github.com/koszullab/hicstuff/blob/830d04fffbdb14957ba95f196d7bcdd690d84da9/hicstuff/pipeline.py#L89-L101

Generally speaking, we use local alignment because a global alignment would not allow to partially map chimeric Hi-C reads. However if you want to use different parameters, you can map the reads with whatever software / parameters you prefer and provide the output (name-sorted) BAM files to hicstuff instead of starting from fastq files.

There is a small example starting from an intermediate BAM file in the hicstuff docs: https://hicstuff.readthedocs.io/en/latest/notebooks/demo_cli.html#Starting-from-intermediate-files

I think this is what they did in the instaGRAAL paper, perhaps @baudrly or @nadegeguiglielmoni can confirm ?

Instagraal filters fragments from the Hi-C matrix with low coverage to improve results, this is the --coverage-std option. One standard dev is indeed the default value.

Hope that helps

from instagraal.

longzhangnation avatar longzhangnation commented on August 25, 2024

Hello ,
Thanks for your reply, it really helps . In other words , you just run hicstuff pipeline with the default parameters when you perform your experiment in the paper ? And not setting special parameter ? Am I right ?
Anyway , thanks for you help ,again.

from instagraal.

nadegeguiglielmoni avatar nadegeguiglielmoni commented on August 25, 2024

Hello,

You can indeed run the mapping step directly with hicstuff pipeline. For 150 bp reads, you should definitely use the parameter --iterative. You should also put the enzyme used for Hi-C library preparation as the parameter --enzyme. By default, the mapping tool used is bowtie2, but you can also use bwa instead if you prefer with the parameter --aligner bwa.

So if you run hicstuff on a library prepared with DpnII and using bowtie2 for mapping, the command would be:
hicstuff pipeline --enzyme DpnII --iterative --outdir hic_folder --genome assembly.fasta R1.fastq R2.fastq

You can also look at the repository with command lines used in the paper https://github.com/koszullab/ectocarpus_scripts

from instagraal.

longzhangnation avatar longzhangnation commented on August 25, 2024

Hi @nadegeguiglielmoni ,
Thanks for you links, I viewed the scripts and got to know the next step .
Have a nice day and I will close the issue.

from instagraal.

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.