You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given one (or more) directories containing sequencing reads,
5
-
will produce a metadata file extracting the ID from the filename
6
-
and optionally adding the file paths or read counts.
3
+
Given one (or more) directories containing sequencing reads, this tool produces a metadata file by extracting the ID from the filename and optionally adding file paths or read counts.
7
4
5
+
## Usage
8
6
```
9
7
Usage: metadata [options] [<dir>...]
8
+
metadata formats
10
9
11
10
Prepare mapping files from directory containing FASTQ files
12
11
@@ -16,11 +15,19 @@ Options:
16
15
-s, --split STR Separator used in filename to identify the sample ID [default: _]
17
16
--pos INT... Which part of the filename is the Sample ID [default: 1]
-p, --add-path Add the reads absolute path as column
22
-
-c, --counts Add the number of reads as a property column
23
-
-t, --threads INT Number of simultaneously opened files [default: 2]
20
+
-c, --counts Add the number of reads as a property column (experimental)
21
+
-t, --threads INT Number of simultaneously opened files (legacy: ignored)
22
+
--pe Enforce paired-end reads (not supported)
23
+
--ont Long reads (Oxford Nanopore) [default: false]
24
+
25
+
GLOBAL OPTIONS
26
+
--abs Force absolute path
27
+
--basename Use basename instead of full path
28
+
--force-tsv Force '\t' separator, otherwise selected by the format
29
+
--force-csv Force ',' separator, otherwise selected by the format
30
+
-R, --rand-meta INT Add a random metadata column with INT categories
24
31
25
32
FORMAT SPECIFIC OPTIONS
26
33
-P, --project INT Project ID (only for irida)
@@ -29,89 +36,66 @@ Options:
29
36
--meta-default STR Default value for metadata, used in MetaPhage [default: Cond]
30
37
31
38
-v, --verbose Verbose output
39
+
--debug Debug output
32
40
-h, --help Show this help
33
41
```
34
42
35
43
## Output formats
36
44
37
-
* manifest (used as import manifest for [Qiime2](https://qiime2.org/) artifacts)
38
-
* qiime1, qiime2 (forward-compatible [qiime1](http://qiime.org/) mapping file; a dedicated [Qiime2](https://qiime2.org/) metadata file is under development)
* metaphage ([MetaPhage](https://mattiapandolfovr.github.io/MetaPhage), use `--meta-split`, `--meta-part` and `--meta-default` to customize a Treatment column)
45
+
SeqFu metadata now supports the following output formats:
46
+
47
+
1.**manifest**: Used as import manifest for [Qiime2](https://qiime2.org/) artifacts.
7.**metaphage**: [MetaPhage](https://mattiapandolfovr.github.io/MetaPhage) metadata file. Use `--meta-split`, `--meta-part`, and `--meta-default` to customize a Treatment column.
0 commit comments