The processing can be distributed over a network cluster by using the streaming utilities
@@ -103,7 +103,7 @@ provided in japsa package. Information can be found
##Detailed Usage
-A summary of *npScarf* usage can be obtained by invoking the --help option::
+A summary of *npScarf* usage can be obtained by invoking the --help option:
jsa.np.npscarf --help
@@ -118,21 +118,36 @@ or even
since h is the only prefix in this command's list of options.
+**WARNING** Please always check the help option first before running *npScarf* since the structure and parameters list of the command can be changed significantly from different versions.
+
Input
------
-*npScarf* takes two files as required input::
+*npScarf* takes two files as required input:
- jsa.np.npscarf -s <*draft*> -b <*bam*>
+ jsa.np.npscarf -seq <*draft*> -input <*input*> -format sam
<*draft*> input is the FASTA file containing the pre-assemblies. Normally this
is the output from running SPAdes on Illumina MiSeq paired end reads.
-<*bam*> contains SAM/BAM formated alignments between <*draft*> file and <*nanopore*>
+<*input*> contains SAM/BAM formated alignments between <*draft*> file and <*nanopore*>
FASTA/FASTQ file of long read data. We use BWA-MEM as the recommended aligner
-with the fixed parameter set as follow::
+with the fixed parameter set as follow:
bwa mem -k11 -W20 -r10 -A1 -B1 -O1 -E1 -L0 -a -Y <*draft*> <*nanopore*> > <*bam*>
+Starting from our newest versions of *npScarf*, BWA-MEM is integrated into the command for convenience. Thus the input file is not limitted to SAM/BAM anymore, you can also provide long reads in FASTQ/FASTA format together with BWA-MEM arguments.
+For example, instead of taking SAM/BAM input data from BWA-MEM explicitly like:
+
+ bwa mem -k11 -W20 -r10 -A1 -B1 -O1 -E1 -L0 -a -Y <*draft*> <*nanopore*> \
0 comments on commit
0afb7b5