This is a great resource for beginners in the Linux/Mac terminal:
http://www.linuxcommand.org/learning_the_shell.php
This should be very useful information for beginner users of Linux,
and users whose first experience with Linux is the Qiime Virtual Box.
Happy QIIMEing.
--
Antonio González Peña
Research Assistant, Knight Lab
University of Colorado at Boulder
https://chem.colorado.edu/knightgroup/
Here is an OS X specific tutorial:
http://www.osxfaq.com/Tutorials/LearningCenter/
Thanks Mike.
2011/1/21 Antonio González Peña <antg...@gmail.com>:
--
--
---
You received this message because you are subscribed to the Google Groups "Qiime Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qiime-forum...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
---
You received this message because you are subscribed to the Google Groups "Qiime Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qiime-forum...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
convert_biom.py -i otu_table.taxonomy.biom -o otu_table.txt -b --header_key taxonomy --biom_table_type="otu table" --process_obs_metadata taxonomy
Bassam--
---
You received this message because you are subscribed to the Google Groups "Qiime Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qiime-forum...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Dear Jai
I tried to create the OTU for the tutorial and I got this message. Is the command for creating the OTU right? Thanks
qiime@qiime-VirtualBox:~$ pick_otus_through_otu_table.py -i qiime_tutorial-v1.5.0/split_library_output/seqs.fna -o otus
Usage: pick_otus_through_otu_table.py [options] {-i/--input_fp INPUT_FP -o/--output_dir OUTPUT_DIR}
[] indicates optional input (order unimportant)
{} indicates required input (order unimportant)
This script takes a sequence file and performs all processing steps through building the OTU table.
Example usage:
Print help message and exit
pick_otus_through_otu_table.py -h
Simple example: The following command will start an analysis on seqs.fna (-i), which is a post-split_libraries fasta file. The sequence identifiers in this file should be of the form <sample_id>_<unique_seq_id>. The following steps, corresponding to the preliminary data preparation, are applied: Pick de novo OTUs at 97%; pick a representative sequence for each OTU (the OTU centroid sequence); align the representative set with PyNAST; assign taxonomy with RDP classifier; filter the alignment prior to tree building - remove positions which are all gaps, and specified as 0 in the lanemask; build a phylogenetic tree with FastTree; build an OTU table. All output files will be written to the directory specified by -o, and subdirectories as appropriate. ALWAYS SPECIFY ABSOLUTE FILE PATHS (absolute path represented here as $PWD, but will generally look something like /home/ubuntu/my_analysis/).
pick_otus_through_otu_table.py -i $PWD/seqs.fna -o $PWD/otus/
pick_otus_through_otu_table.py: error: option -i: file does not exist: 'qiime_tutorial-v1.5.0/split_library_output/seqs.fna'
qiime@qiime-VirtualBox:~$ ls
Desktop examples.desktop Pictures qiime_tutorial-v1.5.0 Videos
Documents mapping_output Public split_library_output
Downloads Music qiime_software Templates
qiime@qiime-VirtualBox:~$ pick_otus_through_otus_table.py -i qiime_tutorial-v1.5.0/split_library_output/seqs.fna -o qiime_tutorial-v1.5.0 otus
pick_otus_through_otus_table.py: command not found
qiime@qiime-VirtualBox:~$
On Fri, Feb 22, 2013 at 1:09 PM, Jai Ram Rideout <jai.r...@gmail.com> wrote:
Hi Bassam,The QIIME tutorial files will be in the qiime_tutorial-v1.5.0/ directory, so your split_libraries.py command should look like this:split_libraries.py -m qiime_tutorial-v1.5.0/Fasting_Map.txt -f qiime_tutorial-v1.5.0/Fasting_Example.fna -q qiime_tutorial-v1.5.0/Fasting_Example.qual -o split_library_output
-Jai
On Fri, Feb 22, 2013 at 1:05 PM, Bassam Abomoelak <babom...@gmail.com> wrote:
Dear all
Here what I got with the 3 commands.
bassam
qiime@qiime-VirtualBox:~$ ls
core_set_aligned.fasta.imputed lanemask_in_1s_and_0s qiime_config_default
Desktop mapping_output qiime_software
Documents Music qiime_tutorial-v1.5.0
Downloads Pictures Templates
examples.desktop Public Videos
qiime@qiime-VirtualBox:~$ ls qiime_tutorial/
ls: cannot access qiime_tutorial/: No such file or directory
qiime@qiime-VirtualBox:~$ split_libraries.py -m qiime_tutorial/Fasting_Map.txt -f qiime_tutorial/Fasting_Example.fna -q qiime_tutorial/Fasting_Example.qual -o split_library_output
split_libraries.py: error: option -m: file does not exist: 'qiime_tutorial/Fasting_Map.txt'
qiime@qiime-VirtualBox:~$ ls qiime_tutorial/
ls: cannot access qiime_tutorial/: No such file or directory
qiime@qiime-VirtualBox:~$ split_libraries.py -m qiime_tutorial/Fasting_Map.txt -f qiime_tutorial/Fasting_Example.fna -q qiime_tutorial/Fasting_Example.qual -o split_library_output
Usage: split_libraries.py [options] {-m/--map MAP_FNAME -f/--fasta FASTA_FNAMES}
[] indicates optional input (order unimportant)
{} indicates required input (order unimportant)
Since newer sequencing technologies provide many reads per run (e.g. the 454 GS FLX Titanium series can produce 400-600 million base pairs with 400-500 base pair read lengths) researchers are now finding it useful to combine multiple samples into a single 454 run. This multiplexing is achieved through the application of a pyrosequencing-tailored nucleotide barcode design (described in (Parameswaran et al., 2007)). By assigning individual, unique sample specific barcodes, multiple sequencing runs may be performed in parallel and the resulting reads can later be binned according to sample. The script split_libraries.py performs this task, in addition to several quality filtering steps including user defined cut-offs for: sequence lengths; end-trimming; minimum quality score. To summarize, by using the fasta, mapping, and quality files, the program split_libraries.py will parse sequences that meet user defined quality thresholds and then rename each read with the appropriate Sample ID, thus formatting the sequence data for downstream analysis. If a combination of different sequencing technologies are used in any particular study, split_libraries.py can be used to perform the quality-filtering for each library individually and the output may then be combined.
Sequences from samples that are not found in the mapping file (no corresponding barcode) and sequences without the correct primer sequence will be excluded. Additional scripts can be used to exclude sequences that match a given reference sequence (e.g. the human genome; exclude_seqs_by_blast.py) and/or sequences that are flagged as chimeras (identify_chimeric_seqs.py).
Example usage:
Print help message and exit
split_libraries.py -h
Standard Example: Using a single 454 run, which contains a single FASTA, QUAL, and mapping file while using default parameters and outputting the data into the Directory "Split_Library_Output"
split_libraries.py -m Mapping_File.txt -f 1.TCA.454Reads.fna -q 1.TCA.454Reads.qual -o Split_Library_Output/
Multiple FASTA and QUAL Files Example: For the case where there are multiple FASTA and QUAL files, the user can run the following comma-separated command as long as there are not duplicate barcodes listed in the mapping file
split_libraries.py -m Mapping_File.txt -f 1.TCA.454Reads.fna,2.TCA.454Reads.fna -q 1.TCA.454Reads.qual,2.TCA.454Reads.qual -o Split_Library_Output_comma_separated/
On Fri, Feb 22, 2013 at 12:09 PM, Jai Ram Rideout <jai.r...@gmail.com> wrote:
Glad to help! Please let us know if you are still stuck on the QIIME tutorial commands after working through the Unix/Linux tutorial.-Jai
On Fri, Feb 22, 2013 at 10:43 AM, Bassam Abomoelak <babom...@gmail.com> wrote:
Thanks guys, you are so greatBassam
On Fri, Feb 22, 2013 at 12:29 PM, Jai Ram Rideout <jai.r...@gmail.com> wrote:
Hi Bassam,The 'ls' command is a lowercase L followed by a lowercase s. It looks like you were typing capital i as the first character. The 'ls' command lists the contents of a directory.I highly recommend that you work through some beginning Unix/Linux command line tutorials to get comfortable with using the command line. The time you invest there will help you in the long run if you plan to continue using QIIME.Here's a great interactive tutorial that will help you get started:These additional tutorials may also be useful:Hope this helps,Jai
On Fri, Feb 22, 2013 at 10:20 AM, Bassam Abomoelak <babom...@gmail.com> wrote:
Dear Jai
here are the 3 commands
qiime@qiime-VirtualBox:~$ Is
Is: command not found
qiime@qiime-VirtualBox:~$ is
is: command not found
qiime@qiime-VirtualBox:~$ Is qiime_tutorial/
Is: command not found
qiime@qiime-VirtualBox:~$ 1s
1s: command not found
qiime@qiime-VirtualBox:~$ split_libraries.py -m qiime_tutorial/Fasting_Map.txt -f qiime_tutorial/Fasting_Example.fna -q qiime_tutorial/Fasting_Example.qual -o split_library_output
-Tony
Bassam
qiime@qiime-VirtualBox:~$ split_libraries.py -m qiime_tutorial/Fasting_Map.txt -f Fasting_Example.fna -q Fasting_Example.qual -0 split_library_output
split_libraries.py: error: option -m: file does not exist: 'qiime_tutorial/Fasting_Map.txt'
qiime@qiime-VirtualBox:~$
On Thu, Feb 21, 2013 at 1:18 PM, Jai Ram Rideout <jai.r...@gmail.com> wrote:
Hi Bassam,You need to either be in the same directory as your Fasting_Map.txt file to have that command work, or you can change the filepath you used with the -m option to wherever your Fasting_Map.txt file is, relative to your current directory.For example, it looks like you are in your home directory, /home/ubuntu/. If Fasting_Map.txt is in /home/ubuntu/qiime_tutorial/, you could run the following command:check_id_map.py -m qiime_tutorial/Fasting_Map.txt -o mapping_output -v
You will need to modify the path to point to wherever your Fasting_Map.txt file is.Hope this helps,Jai
On Thu, Feb 21, 2013 at 1:06 PM, Bassam Abomoelak <babom...@gmail.com> wrote:
Dear Jose
This is what I got with the map check command. Can you explain to me if I'm following the steps correctly. I'm still in the tutorial. Thanks for great patience with me.
Bassam
qiime@qiime-VirtualBox:~$ check_id_map.py -m Fasting_Map.txt -o mapping_output -v
Usage: check_id_map.py [options] {-m/--mapping_fp MAPPING_FP}
[] indicates optional input (order unimportant)
{} indicates required input (order unimportant)
Example usage:
Print help message and exit
check_id_map.py -h
Example: Check the Fasting_Map.txt mapping file for problems, supplying the required mapping file, and output the results in the check_id_map_output directory
check_id_map.py -m Fasting_Map.txt -o check_id_map_output
check_id_map.py: error: option -m: file does not exist: 'Fasting_Map.txt'
qiime@qiime-VirtualBox:~$
For more options, visit https://groups.google.com/d/optout.
Dear QIIME Users:This is a great resource for beginners in the Linux/Mac terminal:
http://www.linuxcommand.org/learning_the_shell.php
This should be very useful information for beginner users of Linux,
and users whose first experience with Linux is the Qiime Virtual Box.Happy QIIMEing.
--
Antonio González Peña
Research Assistant, Knight Lab
University of Colorado at Boulder
https://chem.colorado.edu/knightgroup/
--