I'm trying to map a file of contigs and scaffolds onto a reference genome but bowtie keeps outputting the same error:
bowtie2 -f -x wmel_genome -U ~/Aa23/ref/assemblies/wMelPopPGYP.finalassembly-alt.fasta
terminate called after throwing an instance of 'std::bad_alloc'
(ERR): bowtie2-align died with signal 6 (ABRT)
I edited my file from a non-fasta so that every contig/scaffold sequence began with ">scaffold/contig-name". There are over 15 separated sequences in the file. Some of the sequences contain "n" character I'm guessing for uncertain/missing nucleotides.