~ubuntu-branches/ubuntu/trusty/qiime/trusty

« back to all changes in this revision

Viewing changes to doc/scripts/filter_distance_matrix.rst

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2013-06-17 18:28:26 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130617182826-376az5ad080a0sfe
Tags: 1.7.0+dfsg-1
Upload preparations done for BioLinux to Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
**Description:**
9
9
 
10
 
 
 
10
Remove samples from a distance matrix based on a mapping file or an otu table or a list of sample ids.
11
11
 
12
12
 
13
13
**Usage:** :file:`filter_distance_matrix.py [options]`
33
33
        -m, `-`-mapping_fp
34
34
                Path to the mapping file
35
35
        -s, `-`-valid_states
36
 
                String containing valid states, e.g. 'STUDY_NAME:DOG'
 
36
                String containing valid states, e.g. 'STUDY_NAME:DOB'
37
37
        `-`-negate
38
38
                Discard specified samples (instead of keeping them) [default: False]
39
39
 
47
47
 
48
48
::
49
49
 
50
 
        filter_distance_matrix.py -i dm.txt -o dm_out.txt --sample_id_fp sample_id_list.txt
 
50
        filter_distance_matrix.py -i dm.txt -o dm_out_sample_list.txt --sample_id_fp sample_id_list.txt
51
51
 
52
52
Filter samples ids in otu_table.biom from dm.txt
53
53
 
54
54
::
55
55
 
56
 
        filter_distance_matrix.py -i dm.txt -o dm_out.txt -t otu_table.biom
 
56
        filter_distance_matrix.py -i dm.txt -o dm_out_otu_table.txt -t otu_table.biom
57
57
 
58
58
Filter samples ids where DOB is 20061218 in Fasting_Map.txt. (Run "`filter_samples_from_otu_table.py <./filter_samples_from_otu_table.html>`_ -h" for additional information on how metadata filtering can be specified.)
59
59
 
60
60
::
61
61
 
62
 
        filter_distance_matrix.py -i dm.txt -o dm_out4.txt -m Fasting_Map.txt -s "DOB:20061218"
 
62
        filter_distance_matrix.py -i dm.txt -o dm_out_mapping_file.txt -m Fasting_Map.txt -s "DOB:20061218"
63
63
 
64
64