basic structure of a qiime script
play

Basic Structure of a QIIME Script python_script.py -i - PowerPoint PPT Presentation

Basic Structure of a QIIME Script python_script.py -i input_filepath o output_filepath python_script.py


  1. Basic ¡Structure ¡of ¡a ¡QIIME ¡Script ¡ python_script.py ¡ ¡ ¡-­‑i ¡input_filepath ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡–o ¡output_filepath ¡ ¡ ¡ python_script.py ¡ ¡ ¡-­‑i ¡input_filedirectory/ ¡ ¡–o ¡output_filedirectory/ ¡ Your ¡command ¡that ¡ The ¡path ¡to ¡the ¡file ¡or ¡ The ¡path ¡to ¡the ¡file ¡or ¡ starts ¡a ¡task ¡within ¡ directory ¡that ¡gets ¡ directory ¡of ¡where ¡you ¡ QIIME ¡ processed ¡by ¡your ¡ want ¡the ¡output ¡of ¡the ¡ command ¡ command ¡to ¡be ¡saved ¡ Example: ¡ ¡ align_seqs.py ¡-­‑i ¡computer/desktop/analysis/picked_otus.fasta ¡-­‑o ¡computer/desktop/ analysis/aligned_seqs/ ¡ ¡

  2. Basic ¡Unix ¡Commands ¡Used ¡in ¡this ¡Workshop ¡ Change ¡directory ¡– ¡this ¡allows ¡you ¡to ¡move ¡between ¡directories ¡within ¡your ¡ terminal. ¡This ¡example ¡would ¡move ¡you ¡working ¡within ¡the ¡directory ¡ “QIIME_analysis” ¡on ¡the ¡desktop ¡of ¡Julia’s ¡computer: ¡ ¡ cd ¡/Users/Julia/Desktop/QIIME_analysis ¡ ¡ ¡ ¡ Change ¡mode ¡– ¡when ¡you ¡write ¡the ¡looping ¡program ¡for ¡converNng ¡fastq ¡files ¡ to ¡fasta ¡files, ¡this ¡command ¡will ¡make ¡that ¡program ¡executable, ¡allowing ¡it ¡to ¡ run ¡properly ¡ ¡ chmod ¡+x ¡convert_fastq.sh ¡

  3. Basic ¡Unix ¡Commands ¡Used ¡in ¡this ¡Workshop ¡ Make ¡new ¡directory ¡– ¡make ¡a ¡new ¡directory ¡within ¡the ¡the ¡directory ¡you ¡are ¡ currently ¡located. ¡This ¡example ¡would ¡make ¡the ¡directory ¡“otu_output” ¡ within ¡the ¡directory ¡“QIIME_analysis” ¡ ¡ mkdir ¡QIIME_analysis/otu_output/ ¡ ¡ ¡ Copy ¡– ¡makes ¡a ¡copy ¡of ¡files ¡and ¡can ¡move ¡them ¡into ¡a ¡new ¡locaNon. ¡This ¡ example ¡would ¡put ¡a ¡copy ¡of ¡the ¡file ¡“97_otu.fasta” ¡into ¡the ¡“otu_output” ¡ directory ¡ ¡ cp ¡97_otu.fasta ¡otu_output/97_otu.fasta ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend