@@ -18,14 +18,6 @@ For questions, you can also use the `ngless mailing list
1818 Microbiome 2019 7:84;
1919 `https://doi.org/10.1186/s40168-019-0684-8 <https://doi.org/10.1186/s40168-019-0684-8 >`__
2020
21- previously also available as a pre-print at:
22-
23- *NG-meta-profiler: fast processing of metagenomes using NGLess, a
24- domain-specific language * by Luis Pedro Coelho, Renato Alves, Paulo
25- Monteiro, Jaime Huerta-Cepas, Ana Teresa Freitas, Peer Bork -
26- bioRxiv 367755;
27- `https://doi.org/10.1101/367755 <https://doi.org/10.1101/367755 >`__
28-
2921
3022NG-meta-profiler
3123----------------
3931
4032NGLess is best illustrated by an example::
4133
42- ngless "0.11 "
34+ ngless "1.0 "
4335 input = paired('ctrl1.fq', 'ctrl2.fq', singles='ctrl-singles.fq')
4436 input = preprocess(input) using |read|:
4537 read = read[5:]
@@ -112,7 +104,7 @@ This is equivalent to the full script:
112104
113105::
114106
115- ngless "0.11 " # <- version declaration, optional on the command line
107+ ngless "1.0 " # <- version declaration, optional on the command line
116108 samcontents = samfile("file.sam") # <- load a SAM/BAM file
117109 reads = as_reads(samcontents) # <- just get the reads (w quality scores)
118110 write(reads, ofname=STDOUT) # <- write them to STDOUT (default format: FASTQ)
@@ -122,7 +114,7 @@ out a single FQ file. Otherwise, you can always do:
122114
123115::
124116
125- ngless "0.11 "
117+ ngless "1.0 "
126118 write(as_read(samfile("file.sam")),
127119 ofile="output.fq")
128120
@@ -144,7 +136,7 @@ This is equivalent to the full script:
144136
145137::
146138
147- ngless "0.11 " # <- version declaration, optional on the command line
139+ ngless "1.0 " # <- version declaration, optional on the command line
148140 samcontents = samfile("file.sam") # <- load a SAM/BAM file
149141 samcontents = select(samcontents, keep_if=[{mapped}]) # <- select only *mapped* reads
150142 reads = as_reads(samcontents) # <- just get the reads (w quality scores)
@@ -188,6 +180,7 @@ Authors
188180 install
189181 ng-meta-profiler
190182 whatsnew
183+ backwards
191184 tutorial-ocean-metagenomics
192185 tutorial-assembly-gp
193186 tutorial-gut-metagenomics
0 commit comments