bcgsc / abyss

:microscope: Assemble large genomes using short reads
http://www.bcgsc.ca/platform/bioinfo/software/abyss
Other
312 stars 108 forks source link

AdjList: command not found #316

Closed spencer411 closed 4 years ago

spencer411 commented 4 years ago

Please report

Assembly error

jwcodee commented 4 years ago

can you show me your slurm script? and ls the path where you installed ABySS?

spencer411 commented 4 years ago

see below, and script attached here.

-bash-4.2$ cd /network/rit/misc/software/abyss-2.2.3/ -bash-4.2$ ls ABYSS CITATION.md DataLayer Konnector ParseAligns aclocal.m4 Common depcomp Layout PathOverlap AdjList config.guess dialign LICENSE PopBubbles Align config.h DistanceEst LogKmerCount README.md Assembly config.h.in doc m4 Scaffold autogen.sh config.log Dockerfile Makefile Sealer autom4te.cache config.status doxygen.conf Makefile.am SimpleGraph azure-pipelines.yml config.sub FilterGraph Makefile.in stamp-h1 bin configure FMIndex Map test-driver Bloom configure.ac GapFiller MergePaths Unittest BloomDBG _config.yml Graph Misc vendor boost_1_56_0 Consensus install-sh missing boost_1_56_0.tar.bz2 COPYRIGHT IntegrationTest Overlap ChangeLog DAssembler KAligner PairedDBG CITATION.bib DataBase kmerprint Parallel

abyss-parallel_2.txt

jwcodee commented 4 years ago

I meant the binary directory where you installed the abyss binaries.

spencer411 commented 4 years ago

-bash-4.2$ cd bin -bash-4.2$ ls ABYSS abyss-joindist abyss-adjtodot.pl abyss-kaligner abyss-bloom-dist.mk abyss-nompi abyss-bowtie ABYSS-P abyss-bowtie2 abyss-pe abyss-bwa abyss-samtoafg abyss-bwamem abyss-stack-size abyss-bwasw abyss-tabtomd abyss-cstont Makefile abyss-dida Makefile.am abyss-fac.pl Makefile.in abyss-fatoagp -bash-4.2$

jwcodee commented 4 years ago

Just to be clear, did you do this?

./configure
make
sudo make install

or

./configure --prefix=/opt/abyss
make
sudo make install
spencer411 commented 4 years ago

It was a problem with the make, I went through and linked every command that for some reason didn't seem to be connected originally. Sorry about the delayed response, but I wanted to get everything squared away and run a full assembly before updating. Nevertheless, I am having a new problem, see error below related to my 8th pair of mp reads:

abyss-map -j60 -l40 bowfin_F.trimmed-mp-100000_1.fq bowfin_F.trimmed-mp-100000_2.fq bowfin-6.fa \ |abyss-fixmate -l40 -h mpj-6.hist \ |sort -snk3 -k4 \ |DistanceEst --dot --median -j60 -k50 -l40 -s1000 -n10 -o mpj-6.dist.dot mpj-6.hist Building the suffix array... Building the Burrows-Wheeler transform... Building the character occurrence table... Mateless 0 Unaligned 43 0.227% Singleton 669 3.53% FR 0 RF 0 FF 0 Different 18244 96.2% Total 18956 error: the histogram mpj-6.hist' is empty make: *** [mpj-6.dist.dot] Error 1 make: *** Deleting filempj-6.dist.dot' /tmp/slurmd/job735697/slurm_script: line 32: syntax error near unexpected token done' /tmp/slurmd/job735697/slurm_script: line 32:done'

Note that the mp reads referenced above are rather small (around 4.6MB a piece), so maybe there is just no usable information in those files? The seven pairs before them seemed to work fine. Just a guess, I dunno, any inference would be appreciated...

lcoombe commented 4 years ago

Hi @spencer411,

This looks to be related to a couple previous issues: #104, #208 - it is a known issue that ABySS fails when a library has no pairs of reads that map to the same contig.

Of the different mate-pair libraries you are using, do they each have a different estimated fragment size? If not, I'd suggest merging this very small one with a library with a similar/same fragment size to get past this error.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

sjackman commented 4 years ago

Please consider installing ABySS using Homebrew on Linux. See

https://brew.sh for instructions to install Homebrew then run brew install abyss Bioconda is an alternative to Homebrew.