Giter Site home page Giter Site logo

parallel analysis about chromeister HOT 1 CLOSED

estebanpw avatar estebanpw commented on July 19, 2024
parallel analysis

from chromeister.

Comments (1)

estebanpw avatar estebanpw commented on July 19, 2024

Hello @Karimi-81

One question, how many fasta files are there for the two genomes?
If there are only two (e.g. genome assembly A and genome assembly B) then you can compare them with the usual command:
./CHROMEISTER -query genomeAssemblyA.fasta -db genomeAssemblyB.fasta -out assemblyAB.mat -dimension 2000 && Rscript compute_score.R assemblyAB.mat 2000

That command will also work for multi fasta files. Now, if there are too many sequences (e.g. thousands and thousands) then you can remove the grid which might otherwise blurr the plot by using compute_score-nogrid.R instead of compute_score.R in the previous command.

Otherwise, if you have LOTS of fasta files there are two options: 1) you can easilty concatenate them using the cat command (e.g. cat *.fasta >> genomeAssemblyX.fasta) or 2) you can use the script you were referring to by running:
allVsAll.sh /chromeister/genomes/ fasta 2000 kmer 32 4 (dont forget the 4 at the end)

That will run an all vs all comparisons and generate a lot of files. Eventually when it completes, it will also generate a csv file including information about each comparison. As to how to run this in parallel, simply re-issue the allVsAll.sh /chromeister/genomes/ fasta 2000 kmer 32 4 (if you are in slurm). The only important thing here is that it must be the same command: the allVsAll.sh script will check if there are files corresponding to the other executions (I know this is a bit of an awkward parallel implementation, but in the future I will make a map approach : -) ).

Important: Lastly, make sure to update your repository, I just pushed an update.

Let me know if this was of help,
Esteban

from chromeister.

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.