Comments (1)
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)
- remove the [1] and null device from the stdout of both R scripts
- Comparison of large genomes.. messy plot HOT 9
- Sorting the plot from chromeister HOT 3
- compute_score.r error HOT 2
- get the coordinate of synteny block HOT 3
- Interpretation of scores HOT 1
- coordinates from the events file HOT 4
- Get plots in pdf or svg formats? HOT 4
- Breakpoint about inversion HOT 2
- Problem with run_and_plot_chromeister.sh
- error cannot open file 'dotplot.mat.csv': No such file or directory HOT 11
- Bad Install due opencv-python HOT 1
- Not finding any synteny in test data HOT 7
- error of removal of "index-refseq-qryseq.csv" HOT 1
- Whole genome comparisons. HOT 1
- bring chromeister to bioconda and update galaxy tool HOT 20
- Error in axis - no locations are finite HOT 2
- Look into the dotplot matrix format in galaxy
- Remove empty lines before she bang lines
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromeister.