Description Usage Arguments Value Examples
View source: R/add_accession_contigs_megahit_dir.R
Function to concatenate megahit final contigs into one fasta file with sample accession added to the headers. This function can be used to create one file for input in makeblastdb to create a blast database of all the final contigs.
1 | add_accession_contigs_megahit_dir(megahit_dir, outfile)
|
megahit_dir |
String, path to directorty in which the fastq files are present, here the blast and contigs folder will be made. |
outfile |
String, path to output file to create. |
This functions creates the output file specified, containing the sequencing in fasta format.
1 2 3 4 5 | ## Not run:
add_accession_contigs_megahit(megahit_dir = "/home/$USER/research_drive/geodescent/samples/MGYS00000974/megahit",
outfile = "/home/$USER/research_drive/geodescent/samples/MGYS00000974/blast/contigs/all_samples2.fa")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.