This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

Size: px
Start display at page:

Download "This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No"

Transcription

1 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

2

3 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

4 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

5

6

7

8 Configuration file Input File List Output File List Pipeline Output file metadata {tool_params} Input file metadata {meta1}, {meta2} {meta1}, {meta2}, {meta3} Output metadata file location

9

10 Configuration file Input File List Output File List {tool_params} Input file metadata {meta1}, {meta2}, {meta3} Pipeline Tool 1 Input Files Output Files Tool 2 Input Files Output Files Output file metadata {meta1}, {meta2} Output metadata file location

11

12 1. 2.

13 Configuration file Input File List Output File List {tool_params} Input file metadata {meta1}, {meta2}, {meta3} Pipeline Tool 1 Input Files Output Files Tool 2 Input Files Output Files Output file metadata {meta1}, {meta2} Output metadata file location

14

15 [ ] { } "compressed": 0, "_id": "unique_file_id", "data_type": "text", "file_type": "bam", "file_path": "/home/training/code/macs2.human.drr _aln_filtered.bam", "sources": [], "taxon_id": 9606, "meta_data": { "visible": true, "validated": 1, "assembly": "hg38" }

16 { } input_files": [ {...},... ], "arguments": [ {...},... ], "output_files": [ {...},... ]

17 { } input_files": [ { "required": true, "allow_multiple": false, "name": "bam", "value": "unique_file_id" } ],...,...,

18 { }..., "arguments": [ { "name": "execution", "value": "/home/training/code/run00" }, { "name": "project", "value": "my_project_id" }, { "name": "macs_nomodel_param", "value": true } ],...

19 { }...,..., "output_files": [ { "required": false, "allow_multiple": false, "name": "narrow_peak", "file": { "file_type": "BED", "meta_data": { "visible": true, "tool": "process_chipseq", "description": "Output" }, "data_type": "data_chip_seq", "compressed": "null" } },... ]

20 output_files = { "narrow_peak": "/absolute/path/for/working_dir", or "narrow_peak": None, }

21

22 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

23 Step 1 Step 2

24

25 1. 2. git clone cd mg-process-macs2 3. git checkout template 4. git mv mg_process_test mg_process_macs2 git commit -am Initial change to the repo name

26

27 1. 2. git clone --depth 1 -b master rm -rf mg-process-test/.git mv mg-process-test my-pipeline cd my-pipeline mv mg_process_test my_pipeline

28 git init git add. git commit -m 'Initial commit' git remote add origin git remote -v git push origin master

29

30 Multiscale Genomics (MuG) Copyright EMBL-European Bioinformatics Institute This product includes software developed at: - EMBL-European Bioinformatics Institute Multiscale Genomics (MuG) Copyright EMBL-European Bioinformatics Institute Copyright University of Nottingham This product includes software developed at: - EMBL-European Bioinformatics Institute - University of Nottingham

31

32 pyenv virtualenv mg-process-macs2 pyenv activate mg-process-macs2 pip install -e. pip install -r requirements.txt

33 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

34 Step 1 Step 2

35

36 """.. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """

37 if name == " main ": # Set up the command line parameters PARSER = argparse.argumentparser(description="index the genome file") PARSER.add_argument("--config", help="configuration file") PARSER.add_argument("--in_metadata", help="location of input metadata file") PARSER.add_argument("--out_metadata", help="location of output metadata file") PARSER.add_argument("--local", action="store_const", const=true, default=false) # Get the matching parameters from the command line ARGS = PARSER.parse_args() CONFIG = ARGS.config IN_METADATA = ARGS.in_metadata OUT_METADATA = ARGS.out_metadata LOCAL = ARGS.local if LOCAL: import sys sys._run_from_cmdl = True # pylint: disable=protected-access RESULTS = main_json(config, IN_METADATA, OUT_METADATA)

38 def main_json(config, in_metadata, out_metadata): """ Main function This function launches the app using configuration written in two json files: config.json and input_metadata.json. """ # 1. Instantiate and launch the App logger.info("1. Instantiate and launch the App") from apps.jsonapp import JSONApp app = JSONApp() result = app.launch(process_macs2, config, in_metadata, out_metadata) # 2. The App has finished logger.info("2. Execution finished; see " + out_metadata) return result config in_metadata out_metadata config_test.json file generated by the VRE input_test.json file generated by the VRE describing each of the files Location of the output metadata file describing the output files

39

40 self.configuration = { "execution": "/absolute/path/for/working_dir", "project", "my_project_id", "description": None, "macs_nomodel_param": True }

41 from future import print_function import argparse from basic_modules.workflow import Workflow from utils import logger from mg_process_macs2.tool.macs2 import Macs2 # class process_macs2(workflow): # pylint: disable=invalid-name,too-few-public-methods """ Functions for demonstrating the pipeline set up. """ configuration = {} def init (self, configuration=none): """ Initialise the tool with its configuration. """ logger.info("processing Test")... def run(self, input_files, metadata, output_files): """ Main run function for processing a test file. """ # Initialise the test tool macs2_handle = Macs2(self.configuration) macs2_files, macs2_meta = macs2_handle.run(input_files, metadata, output_files) return (macs2_files, macs2_meta)

42 configuration = {} def init (self, configuration=none): """ Initialise the tool with its configuration. Parameters configuration : dict a dictionary containing parameters that define how the operation should be carried out, which are specific to each Tool. """ logger.info("processing Tool") if configuration is None: configuration = {} self.configuration.update(configuration)

43

44

45 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

46

47 from future import print_function from utils import logger from basic_modules.metadata import Metadata from basic_modules.tool import Tool # class Macs2(Tool): """ Tool for peak calling for ChIP-seq data """ def init (self, configuration=none): """ Init function """... def macs2_peak_calling(self, opt1, opt2): """ Tool Description """... def run(self, input_files, input_metadata, output_files): """ Main run() function description """... return (output_files_created, output_metadata) #

48 Used to populate the self.configuration variable with the key-value pairs of parameters defined in the config.json file. def init (self, configuration=none): """ Init function """ logger.info("macs2 Peak Caller") Tool. init (self) if configuration is None: configuration = {} self.configuration.update(configuration) To initialise a tool from a pipeline it can be done by: from mg_process_macs2.tool import macs2... macs2_handle = macs2(self.configuration) macs2.run( {key-value pairs of locations for input files} {key-value pairs of metadata for files} {key-value pairs of locations for output files} )

49

50 def run(self, input_files, input_metadata, output_files): """ Main run() function description """ with open(input_files[ test_input ], r ) as f_in: x = int(f_in.readline()) with open( output_file.txt, w ): f_out.write(str(x+1)) output_metadata = { test_output : Metadata( output_files[ test_output ], data_type="data_chip_seq", file_type="bed", file_path=os.path.join(self.configuration[ execution ], output_file.txt ), sources=sources, taxon_id=input_metadata[ test_input ].taxon_id, meta_data={ "assembly": input_metadata[ test_input ].meta_data["assembly"], "tool": "macs2", "bed_type": output_bed_types[result_file], "parameters": command_params } ) } return (output_files, output_metadata)

51

52 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

53

54 >>> from utils import logger >>> logger.info( Hello World! ) :56:10 INFO: Hello World! >>> logger.progress("macs2", task_id=0, total=1) :08:43 PROGRESS: MACS (0/1) >>> logger.progress("macs2", task_id=1, total=1) :08:43 PROGRESS: MACS (1/1) >>> logger.progress("macs", status="running") :09:14 PROGRESS: MACS - RUNNING >>> logger.progress("macs", status="done") :09:14 PROGRESS: MACS - DONE

55 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

56 Step 1 Step 2

57 if name == " main ": # Set up the command line parameters PARSER = argparse.argumentparser(description="index the genome file") PARSER.add_argument("--config", help="configuration file") PARSER.add_argument("--in_metadata", help="location of input metadata file") PARSER.add_argument("--out_metadata", help="location of output metadata file") PARSER.add_argument("--local", action="store_const", const=true, default=false) # Get the matching parameters from the command line ARGS = PARSER.parse_args() CONFIG = ARGS.config IN_METADATA = ARGS.in_metadata OUT_METADATA = ARGS.out_metadata LOCAL = ARGS.local if LOCAL: import sys sys._run_from_cmdl = True # pylint: disable=protected-access RESULTS = main_json(config, IN_METADATA, OUT_METADATA)

58 1. 2. { } input_files": [ {"name": "input1", "value": "unique_file_id1"}, {...},... ], "arguments": [ {"name": "arg_name", "value": "foo"}, {...},... ], "output_files": [ {meta}, {...}... ] [ ] { }, { }, {...} "_id": "unique_file_id1", {meta} "_id": "unique_file_id2", {meta}

59 1. 2.

60 1. 2.

61 1. 2. Define - inputs (format, data type...) - arguments (type,...) - output files (format, data type...) VALIDATION Define... - Local test execution directory - Local test input data - Metadata for test input data tar -xzvf test.tar.gz cd test/ sh test_operation.sh

62 1. 2. { input_files : [ ], input_files_combinations : [ ], arguments: [ ], output_files[ ] } VALIDATION tar -xzvf test.tar.gz cd test/ sh test_operation.sh

63 #!/bin/bash ### ### Testing in a local installation the VRE server CMD ### * Automatically created by MuGVRE * ### # Local installation - EDIT IF REQUIREDD WORKING_DIR=/home/pmes/tests/run000 TOOL_EXECUTABLE=/main/mg-tool/executable.py TOOL_LIBRARY=/home/pmes/.pyenv/libs/python/site-packages # Test input files CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" TEST_DATA_DIR=$CWD/json/0_CallpeaksonChIPSeqreads # Running macs2 tool... if -d [ $WORKING_DIR ]; then rm -r $WORKING_DIR/; else mkdir -p $WORKING_DIR; fi cd $WORKING_DIR $TOOL_EXECUTABLE --config $TEST_DATA_DIR/config.json --in_metadata $TEST_DATA_DIR/in_metadata.json --out_metadata $WORKING_DIR/out_metadata.json > $WORKING_DIR/tool.log runcompss -d --summary --base_log_dir=$working_dir --lang=python --pythonpath=$tool_library $TOOL_EXECUTABLE --config $TEST_DATA_DIR/config.json --in_metadata $TEST_DATA_DIR/in_metadata.json --out_metadata $WORKING_DIR/out_metadata.json > $WORKING_DIR/tool.log

64 1. 2. a. b. i. ii. c. i. ii. i. ii.

65 Copy/Paste the JSON defining I/O to save time. but make sure to set _id according to your tool

66 a. b.

67 This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

68 pip install macs2

69 1. process_test.py process_macs2.py run() 4. python process_macs2.py --config config.json --in_metadata input.json --out_metadata output.json cd ~/code/macs2_vre_json sh test_single_peakcalling.sh

70 ~/code/drr _filtered.bam macs2 callpeak --nomodel -t ~/code/drr _filtered.bam -n name --outdir.

71 1. mg_process_macs2/tool/testtool.py mg_process_macs2/tool/macs2.py test_writer() a. name b. bam_file c. name + _peaks.narrowpeak d. name + _summits.bed e. name + _peaks.broadpeak f. name + _peaks.gappedpeak 4. 5.

72 python process_macs2.py --config config.json --in_metadata input.json --out_metadata output.json cd ~/code/macs2_vre_json sh test_single_peakcalling.sh

73 # Save your work to the repo: git add process_macs2.py mg_process_macs2/tool/macs2.py git commit -m Created macs2 tool and pipeline # Answer: git checkout basic

74

75 1. run() macs2_nomodel_param self.configuration True --nomodel macs2() 2. macs2() 3. self.configuration

76 cd ~/code/macs2_vre_json sh test_single_peakcalling.sh

77 basic_arg # Save your work git commit -am Added arguments to the tool # Answers git checkout basic_arg

78

MuG - Process TSV Pipelines Documentation

MuG - Process TSV Pipelines Documentation MuG - Process TSV Pipelines Documentation Release 0.1 Mark McDowall Oct 31, 2018 Table of Contents 1 Requirements and Installation 1 1.1 Requirements............................................... 1 1.2

More information

Weights and Biases Documentation

Weights and Biases Documentation Weights and Biases Documentation Release 0.6.17 Weights and Biases Aug 13, 2018 Contents 1 Intro 1 2 Quickstart - Existing Project 3 3 Weights & Biases Run API 5 3.1 Saving run files..............................................

More information

Using the YANG Development Kit (YDK) with Cisco IOS XE

Using the YANG Development Kit (YDK) with Cisco IOS XE Using the YANG Development Kit (YDK) with Cisco IOS XE 1. Overview The YANG Development Kit (YDK) is a software development kit that provides APIs that are generated from YANG data models. These APIs,

More information

BanzaiDB Documentation

BanzaiDB Documentation BanzaiDB Documentation Release 0.3.0 Mitchell Stanton-Cook Jul 19, 2017 Contents 1 BanzaiDB documentation contents 3 2 Indices and tables 11 i ii BanzaiDB is a tool for pairing Microbial Genomics Next

More information

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

Bitdock. Release 0.1.0

Bitdock. Release 0.1.0 Bitdock Release 0.1.0 August 07, 2014 Contents 1 Installation 3 1.1 Building from source........................................... 3 1.2 Dependencies............................................... 3

More information

Containers. Pablo F. Ordóñez. October 18, 2018

Containers. Pablo F. Ordóñez. October 18, 2018 Containers Pablo F. Ordóñez October 18, 2018 1 Welcome Song: Sola vaya Interpreter: La Sonora Ponceña 2 Goals Containers!= ( Moby-Dick ) Containers are part of the Linux Kernel Make your own container

More information

Git & Github Fundamental by Rajesh Kumar.

Git & Github Fundamental by Rajesh Kumar. Git & Github Fundamental by Rajesh Kumar About me Rajesh Kumar DevOps Architect @RajeshKumarIN www.rajeshkumar.xyz www.scmgalaxy.com 2 What is git Manage your source code versions Who should use Git Anyone

More information

Clique. Release 1.3.1

Clique. Release 1.3.1 Clique Release 1.3.1 Jul 23, 2017 Contents 1 Guide 3 1.1 Introduction............................................... 3 1.2 Installation................................................ 4 1.3 Tutorial..................................................

More information

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes Git Charles J. Geyer School of Statistics University of Minnesota Stat 8054 Lecture Notes 1 Before Anything Else Tell git who you are. git config --global user.name "Charles J. Geyer" git config --global

More information

Lab 08. Command Line and Git

Lab 08. Command Line and Git Lab 08 Command Line and Git Agenda Final Project Information All Things Git! Make sure to come to lab next week for Python! Final Projects Connect 4 Arduino ios Creative AI Being on a Team - How To Maximize

More information

Linux and Git Boot Camp

Linux and Git Boot Camp Linux and Git Boot Camp Roshan, Zack, Blair, Ian Jan. 21, 2018 1 Connecting Clients SSH Windows users: MobaXterm, PuTTY, SSH Tectia Mac & Linux users: Terminal (Just type ssh) ssh andrewid@shark.ics.cs.cmu.edu

More information

Git Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : October, More documents are freely available at PythonDSP

Git Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : October, More documents are freely available at PythonDSP Git Guide Meher Krishna Patel Created on : Octorber, 2017 Last updated : October, 2018 More documents are freely available at PythonDSP Table of contents Table of contents i 1 Commands Summary 1 2 Git

More information

2 Initialize a git repository on your machine, add a README file, commit and push

2 Initialize a git repository on your machine, add a README file, commit and push BioHPC Git Training Demo Script First, ensure that git is installed on your machine, and you have configured an ssh key. See the main slides for instructions. To follow this demo script open a terminal

More information

Dell EMC Networking Saltstack Integration Documentation

Dell EMC Networking Saltstack Integration Documentation Dell EMC Networking Saltstack Integration Documentation Release 1.0 Dell EMC Networking Team Sep 07, 2018 Table of Contents 1 Introduction 1 1.1 Salt....................................................

More information

yardstick Documentation

yardstick Documentation yardstick Documentation Release 0.1.0 Kenny Freeman December 30, 2015 Contents 1 yardstick 3 1.1 What is yardstick?............................................ 3 1.2 Features..................................................

More information

Python Schema Generator Documentation

Python Schema Generator Documentation Python Schema Generator Documentation Release 1.0.0 Peter Demin June 26, 2016 Contents 1 Mutant - Python code generator 3 1.1 Project Status............................................... 3 1.2 Design..................................................

More information

Agenda. - Final Project Info. - All things Git. - Make sure to come to lab for Python next week

Agenda. - Final Project Info. - All things Git. - Make sure to come to lab for Python next week Lab #8 Git Agenda - Final Project Info - All things Git - Make sure to come to lab for Python next week Final Project Low Down The Projects are Creative AI, Arduino, Web Scheduler, ios and Connect 4 Notes

More information

Dodo Commands Documentation

Dodo Commands Documentation Dodo Commands Documentation Release 0.2.1 Maarten Nieber Apr 04, 2019 Contents 1 Goals of the Dodo Commands system 3 1.1 Provide a per-project environment.................................... 3 1.2 Single

More information

doconv Documentation Release Jacob Mourelos

doconv Documentation Release Jacob Mourelos doconv Documentation Release 0.1.6 Jacob Mourelos October 17, 2016 Contents 1 Introduction 3 2 Features 5 2.1 Available Format Conversions...................................... 5 3 Installation 7 3.1

More information

1. Git. Robert Snapp

1. Git. Robert Snapp . Git Robert Snapp snapp@cs.uvm.edu Department of Computer Science University of Vermont CS 3 (UVM). Git Fall 0 / Git CS 3 (UVM). Git Fall 0 / Setting your defaults in /.git > git config --global user.name

More information

Git Basi, workflow e concetti avanzati (pt2)

Git Basi, workflow e concetti avanzati (pt2) Git Basi, workflow e concetti avanzati (pt2) Andrea Fornaia, Ph.D. Department of Mathema.cs and Computer Science University of Catania Viale A.Doria, 6-95125 Catania Italy fornaia@dmi.unict.it hfp://www.cs.unict.it/~fornaia/

More information

Remote Workflow Enactment using Docker and the Generic Execution Framework in EUDAT

Remote Workflow Enactment using Docker and the Generic Execution Framework in EUDAT Remote Workflow Enactment using Docker and the Generic Execution Framework in EUDAT Asela Rajapakse Max Planck Institute for Meteorology EUDAT receives funding from the European Union's Horizon 2020 programme

More information

Python Project Documentation

Python Project Documentation Python Project Documentation Release 1.0 Tim Diels Jan 10, 2018 Contents 1 Simple project structure 3 1.1 Code repository usage.......................................... 3 1.2 Versioning................................................

More information

django-reinhardt Documentation

django-reinhardt Documentation django-reinhardt Documentation Release 0.1.0 Hyuntak Joo December 02, 2016 Contents 1 django-reinhardt 3 1.1 Installation................................................ 3 1.2 Usage...................................................

More information

Frontier Documentation

Frontier Documentation Frontier Documentation Release 0.1.3-dev Sam Nicholls August 14, 2014 Contents 1 Frontier 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

pysharedutils Documentation

pysharedutils Documentation pysharedutils Documentation Release 0.5.0 Joel James August 07, 2017 Contents 1 pysharedutils 1 2 Indices and tables 13 i ii CHAPTER 1 pysharedutils pysharedutils is a convenient utility module which

More information

Google Domain Shared Contacts Client Documentation

Google Domain Shared Contacts Client Documentation Google Domain Shared Contacts Client Documentation Release 0.1.0 Robert Joyal Mar 31, 2018 Contents 1 Google Domain Shared Contacts Client 3 1.1 Features..................................................

More information

Mantis STIX Importer Documentation

Mantis STIX Importer Documentation Mantis STIX Importer Documentation Release 0.2.0 Siemens February 27, 2014 Contents 1 Mantis STIX Importer 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one. Multiple-Choice Questions: 1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.) a. update b. checkout c. clone d. import

More information

Archan. Release 2.0.1

Archan. Release 2.0.1 Archan Release 2.0.1 Jul 30, 2018 Contents 1 Archan 1 1.1 Features.................................................. 1 1.2 Installation................................................ 1 1.3 Documentation..............................................

More information

viki-fabric-helpers Documentation

viki-fabric-helpers Documentation viki-fabric-helpers Documentation Release 0.0.5 Viki Inc. July 04, 2014 Contents 1 Installation 3 1.1 Installation................................................ 3 2 Configuration 5 2.1 Configuration...............................................

More information

Easy-select2 Documentation

Easy-select2 Documentation Easy-select2 Documentation Release 1.2.2 Lobanov Stanislav aka asyncee September 15, 2014 Contents 1 Installation 3 2 Quickstart 5 3 Configuration 7 4 Usage 9 5 Reference 11 5.1 Widgets..................................................

More information

GNU/Linux lab. Chisel. chisel/map/doors.txt

GNU/Linux lab. Chisel. chisel/map/doors.txt GNU/Linux lab slide 1 GNU/Linux lab slide 2 imacs GNU/Linux treats each as having eight cores the lab contains custom software highly taylored for our academic purpose customised doom3 pge chisel darkradiant

More information

monolith Documentation

monolith Documentation monolith Documentation Release 0.3.3 Łukasz Balcerzak December 16, 2013 Contents 1 Usage 3 1.1 Execution manager............................................ 3 1.2 Creating commands...........................................

More information

withenv Documentation

withenv Documentation withenv Documentation Release 0.7.0 Eric Larson Aug 02, 2017 Contents 1 withenv 3 2 Installation 5 3 Usage 7 3.1 YAML Format.............................................. 7 3.2 Command Substitutions.........................................

More information

Python wrapper for Viscosity.app Documentation

Python wrapper for Viscosity.app Documentation Python wrapper for Viscosity.app Documentation Release Paul Kremer March 08, 2014 Contents 1 Python wrapper for Viscosity.app 3 1.1 Features.................................................. 3 2 Installation

More information

Managing Infrastructure with Python, Fabric and Ansible. By Tim Henderson hackthology.com github.com/timtadh

Managing Infrastructure with Python, Fabric and Ansible. By Tim Henderson hackthology.com github.com/timtadh Managing Infrastructure with Python, Fabric and Ansible By Tim Henderson tadh@case.edu hackthology.com github.com/timtadh part 00 death of a sys-admin there are too many machines now, we have become root

More information

Practical 4: ChIP-seq Peak calling

Practical 4: ChIP-seq Peak calling Practical 4: ChIP-seq Peak calling Shamith Samarajiiwa, Dora Bihary September 2017 Contents 1 Calling ChIP-seq peaks using MACS2 1 1.1 Assess the quality of the aligned datasets..................................

More information

Introduction to the UNIX command line

Introduction to the UNIX command line Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands

More information

coxtactoe Documentation

coxtactoe Documentation coxtactoe Documentation Release 0.1.0 Brett Anderson July 13, 2014 Contents 1 Contents 1 1.1 Pre-requisites............................................... 1 1.2 Installation & Configuration.......................................

More information

Using Python for shell scripts

Using Python for shell scripts Using Python for shell scripts January 2018 1/29 Using Python for shell scripts Peter Hill Outline Using Python for shell scripts January 2018 2/29 Advantages/disadvantages of Python Running a parameter

More information

Version Control: Gitting Started

Version Control: Gitting Started ting Started Cai Li October 2014 What is Version Control? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. Local Version

More information

Basic git. Interactive.

Basic git. Interactive. 1 / 45 Basic git. Interactive. Emanuele Olivetti 1 Rike-Benjamin Schuppner 2 1 NeuroInformatics Laboratory (NILab) Bruno Kessler Foundation (FBK), Trento, Italy Center for Mind and Brain Sciences (CIMeC),

More information

Game Engine Design. GNU/Linux lab. GNU/Linux lab. in this module we will examine: tools necessary to develop game engines:gdb,

Game Engine Design. GNU/Linux lab. GNU/Linux lab. in this module we will examine: tools necessary to develop game engines:gdb, Game Engine Design slide 2 in this module we will examine: tools necessary to develop game engines:gdb, emacs and friends examine how one can integrate Python into a game enginedoom3 exploit parallelism

More information

Pulp Python Support Documentation

Pulp Python Support Documentation Pulp Python Support Documentation Release 1.0.1 Pulp Project October 20, 2015 Contents 1 Release Notes 3 1.1 1.0 Release Notes............................................ 3 2 Administrator Documentation

More information

TPS Documentation. Release Thomas Roten

TPS Documentation. Release Thomas Roten TPS Documentation Release 0.1.0 Thomas Roten Sep 27, 2017 Contents 1 TPS: TargetProcess in Python! 3 2 Installation 5 3 Contributing 7 3.1 Types of Contributions..........................................

More information

Making Python a better scripting language

Making Python a better scripting language Making Python a better scripting language Nicola Musatti nicola.musatti@gmail.com @NMusatti http://wthwdik.wordpress.com Agenda Why are we here? What is a scripting language? A programming language of

More information

Revision Control and GIT

Revision Control and GIT Revision Control and GIT On UD HPC Community Clusters William Totten Network & Systems Services Why use revision control You can go back in time It makes it easy to try things out which might not work

More information

Software Development I

Software Development I 6.148 Software Development I Two things How to write code for web apps. How to collaborate and keep track of your work. A text editor A text editor A text editor Anything that you re used to using Even

More information

Git, the magical version control

Git, the magical version control Git, the magical version control Git is an open-source version control system (meaning, it s free!) that allows developers to track changes made on their code files throughout the lifetime of a project.

More information

Recitation #1 Boot Camp. August 30th, 2016

Recitation #1 Boot Camp. August 30th, 2016 18-600 Recitation #1 Boot Camp August 30th, 2016 Welcome to 18-600! Purpose of recitation Useful tools, information pertaining to the labs Hands-on activities Problem solving and exam prep Last ~30 mins

More information

PyBuilder Documentation

PyBuilder Documentation PyBuilder Documentation Release 0.10 PyBuilder Team Jun 21, 2018 Contents 1 Installation 1 1.1 Virtual Environment........................................... 1 1.2 Installing completions..........................................

More information

eventbrite-sdk-python Documentation

eventbrite-sdk-python Documentation eventbrite-sdk-python Documentation Release 3.3.4 Eventbrite December 18, 2016 Contents 1 eventbrite-sdk-python 3 1.1 Installation from PyPI.......................................... 3 1.2 Usage...................................................

More information

Roman Numeral Converter Documentation

Roman Numeral Converter Documentation Roman Numeral Converter Documentation Release 0.1.0 Adrian Cruz October 07, 2014 Contents 1 Roman Numeral Converter 3 1.1 Features.................................................. 3 2 Installation 5

More information

Welcome to. Python 2. Session #5. Michael Purcaro, Chris MacKay, Nick Hathaway, and the GSBS Bootstrappers February 2014

Welcome to. Python 2. Session #5. Michael Purcaro, Chris MacKay, Nick Hathaway, and the GSBS Bootstrappers February 2014 Welcome to Python 2 Session #5 Michael Purcaro, Chris MacKay, Nick Hathaway, and the GSBS Bootstrappers February 2014 michael.purcaro@umassmed.edu 1 Building Blocks: modules To more easily reuse code,

More information

I hate money. Release 1.0

I hate money. Release 1.0 I hate money Release 1.0 Nov 01, 2017 Contents 1 Table of content 3 2 Indices and tables 15 i ii «I hate money» is a web application made to ease shared budget management. It keeps track of who bought

More information

DNS Zone Test Documentation

DNS Zone Test Documentation DNS Zone Test Documentation Release 1.1.3 Maarten Diemel Dec 02, 2017 Contents 1 DNS Zone Test 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

b. Developing multiple versions of a software project in parallel

b. Developing multiple versions of a software project in parallel Multiple-Choice Questions: 1. Which of these terms best describes Git? a. Integrated Development Environment b. Distributed Version Control System c. Issue Tracking System d. Web-Based Repository Hosting

More information

twosheds Documentation

twosheds Documentation twosheds Documentation Release 0.1.0 Ceasar Bautista August 14, 2015 Contents 1 Features 3 2 User Guide 5 2.1 Installation................................................ 5 2.2 Quickstart................................................

More information

django-idioticon Documentation

django-idioticon Documentation django-idioticon Documentation Release 0.0.1 openpolis June 10, 2014 Contents 1 django-idioticon 3 1.1 Documentation.............................................. 3 1.2 Quickstart................................................

More information

C++ DATA TYPES BASIC CONTROL FLOW

C++ DATA TYPES BASIC CONTROL FLOW C++ DATA TYPES BASIC CONTROL FLOW Problem Solving with Computers-I Chapter 1 and Chapter 2 CLICKERS OUT FREQUENCY AB Review: Program compilation What does it mean to compile a C++ program? A. Write the

More information

Confire Documentation

Confire Documentation Confire Documentation Release 0.2.0 Benjamin Bengfort December 10, 2016 Contents 1 Features 3 2 Setup 5 3 Example Usage 7 4 Next Topics 9 5 About 17 Python Module Index 19 i ii Confire is a simple but

More information

datapusher Documentation

datapusher Documentation datapusher Documentation Release 1.0 Open Knowledge International July 13, 2018 Contents 1 Development installation 3 2 Production installation and Setup 5 2.1 Download and Install (All CKAN Versions)...............................

More information

Recitation #1 Unix Boot Camp. August 29th, 2017

Recitation #1 Unix Boot Camp. August 29th, 2017 18-600 Recitation #1 Unix Boot Camp August 29th, 2017 Welcome to 18-600! Purpose of recitation Useful tools, information pertaining to the labs Hands-on activities Problem solving and exam prep Last ~30

More information

Programming Proverbs

Programming Proverbs Programming Proverbs slide 1 2. Think first, Program later. Henry F. Ledgard, Programming Proverbs: Principles of Good Programming with Numerous Examples to Improve Programming Style and Proficiency, (Hayden

More information

Eugene, Niko, Matt, and Oliver

Eugene, Niko, Matt, and Oliver 213/513 Linux/Git Bootcamp Eugene, Niko, Matt, and Oliver outline 1. ssh but also Windows ssh client especially 2. bash commands + navigating Linux 3. VIM and VS Code 4. Git how to ssh 1. on OS X/Linux:

More information

[Software Development] Development Tools. Davide Balzarotti. Eurecom Sophia Antipolis, France

[Software Development] Development Tools. Davide Balzarotti. Eurecom Sophia Antipolis, France [Software Development] Development Tools Davide Balzarotti Eurecom Sophia Antipolis, France Version Control Version (revision) control is the process of tracking and recording changes to files Most commonly

More information

django-responsive2 Documentation

django-responsive2 Documentation django-responsive2 Documentation Release 0.1.3 Mishbah Razzaque Sep 27, 2017 Contents 1 django-responsive2 3 1.1 Why would you use django-responsive2?................................ 3 1.2 Using django-responsive2

More information

Recap From Last Time:

Recap From Last Time: Recap From Last Time: BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and

More information

yaml4rst Documentation

yaml4rst Documentation yaml4rst Documentation Release 0.1.5 Robin Schneider Mar 16, 2017 Contents 1 yaml4rst introduction 3 1.1 Usage................................................... 3 1.2 Features..................................................

More information

Re-implementing git. (a small part at least) Thibault Allançon November 2018

Re-implementing git. (a small part at least) Thibault Allançon November 2018 Re-implementing git (a small part at least) Thibault Allançon November 2018 1 Motivation Learning git inner workings «What I cannot create, I do not understand» Richard Feynman 2 Motivation Learning git

More information

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko 213/513/613 Linux/Git Bootcamp Cyrus, Eugene, Minji, Niko Outline 1. SSH, bash, and navigating Linux 2. Using VIM 3. Setting up VS Code 4. Git SSH 1. On macos/linux: $ ssh ANDREW-ID@shark.ics.cs.cmu.edu

More information

Python simple arp table reader Documentation

Python simple arp table reader Documentation Python simple arp table reader Documentation Release 0.0.1 David Francos Nov 17, 2017 Contents 1 Python simple arp table reader 3 1.1 Features.................................................. 3 1.2 Usage...................................................

More information

FROM SCRIPT TO PACKAGES. good practices for hassle-free code reuse

FROM SCRIPT TO PACKAGES. good practices for hassle-free code reuse FROM SCRIPT TO PACKAGES good practices for hassle-free code reuse WHAT S THIS TUTORIAL IS ABOUT How to make your code usable by someone else WHO AM I? Contributor to numpy/scipy since 2007 Windows, Mac

More information

ChIP-Seq data analysis workshop

ChIP-Seq data analysis workshop ChIP-Seq data analysis workshop Exercise 1. ChIP-Seq peak calling 1. Using Putty (Windows) or Terminal (Mac) to connect to your assigned computer. Create a directory /workdir/myuserid (replace myuserid

More information

Created by: Nicolas Melillo 4/2/2017 Elastic Beanstalk Free Tier Deployment Instructions 2017

Created by: Nicolas Melillo 4/2/2017 Elastic Beanstalk Free Tier Deployment Instructions 2017 Created by: Nicolas Melillo 4/2/2017 Elastic Beanstalk Free Tier Deployment Instructions 2017 Detailed herein is a step by step process (and explanation) of how to prepare a project to be deployed to Amazon

More information

IoC Documentation. Release Thomas Rabaix

IoC Documentation. Release Thomas Rabaix IoC Documentation Release 0.0.16 Thomas Rabaix April 15, 2015 Contents 1 Installation 3 2 References 5 2.1 Bootstrapping.............................................. 5 2.2 Extension.................................................

More information

BGGN 213 Working with UNIX Barry Grant

BGGN 213 Working with UNIX Barry Grant BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and

More information

Release Nicholas A. Del Grosso

Release Nicholas A. Del Grosso wavefront r eaderdocumentation Release 0.1.0 Nicholas A. Del Grosso Apr 12, 2017 Contents 1 wavefront_reader 3 1.1 Features.................................................. 3 1.2 Credits..................................................

More information

Online Remote Repositories

Online Remote Repositories Online Remote Repositories GitHub and Bitbucket centralized Git repositories for dissemination and collaboration Barry Grant bjgrant@umich.edu http://thegrantlab.org Recap: Client-Server vs Distributed

More information

ZeroVM Package Manager Documentation

ZeroVM Package Manager Documentation ZeroVM Package Manager Documentation Release 0.2.1 ZeroVM Team October 14, 2014 Contents 1 Introduction 3 1.1 Creating a ZeroVM Application..................................... 3 2 ZeroCloud Authentication

More information

Django-CSP Documentation

Django-CSP Documentation Django-CSP Documentation Release 3.0 James Socol, Mozilla September 06, 2016 Contents 1 Installing django-csp 3 2 Configuring django-csp 5 2.1 Policy Settings..............................................

More information

Game Server Manager Documentation

Game Server Manager Documentation Game Server Manager Documentation Release 0.1.1+0.gc111f9c.dirty Christopher Bailey Dec 16, 2017 Contents 1 Game Server Manager 3 1.1 Requirements............................................... 3 1.2

More information

sainsmart Documentation

sainsmart Documentation sainsmart Documentation Release 0.3.1 Victor Yap Jun 21, 2017 Contents 1 sainsmart 3 1.1 Install................................................... 3 1.2 Usage...................................................

More information

FEEG Applied Programming 3 - Version Control and Git II

FEEG Applied Programming 3 - Version Control and Git II FEEG6002 - Applied Programming 3 - Version Control and Git II Richard Boardman, Sam Sinayoko 2016-10-19 Outline Learning outcomes Working with a single repository (review) Working with multiple versions

More information

Object Oriented Programming in Python 3

Object Oriented Programming in Python 3 Object Oriented Programming in Python 3 Objects Python 3 Objects play a central role in the Python data model All the types we ve seen until now are in-fact objects Numeric types, strings, lists, tuples,

More information

Poulpe Documentation. Release Edouard Klein

Poulpe Documentation. Release Edouard Klein Poulpe Documentation Release 0.0.5 Edouard Klein Jul 18, 2017 Contents 1 Poulpe 1 1.1 Features.................................................. 1 2 Usage 3 3 Installation 5 4 Contributing 7 4.1 Types

More information

Rover Documentation Tracing with Perf, Conversion to CTF, and analysis with TraceCompass

Rover Documentation Tracing with Perf, Conversion to CTF, and analysis with TraceCompass Rover Documentation Tracing with Perf, Conversion to CTF, and analysis with TraceCompass Version Implementation Supervision & revision June 7, 207 Mustafa O zceliko rs Robert Ho ttger mozcelikors@gmail.com

More information

Version control system (VCS)

Version control system (VCS) Version control system (VCS) Remember that you are required to keep a process-log-book of the whole development solutions with just one commit or with incomplete process-log-book (where it is not possible

More information

Contributing to Insoshi with Git and GitHub. Michael Hartl

Contributing to Insoshi with Git and GitHub. Michael Hartl Contributing to Insoshi with Git and GitHub Michael Hartl + Winter 08 + Winter 08 + = Winter 08 Open-source social networking platform dogfood.insoshi.com #1 #1 #2 Common Contacts class Person

More information

CS 520: VCS and Git. Intermediate Topics Ben Kushigian

CS 520: VCS and Git. Intermediate Topics Ben Kushigian CS 520: VCS and Git Intermediate Topics Ben Kushigian https://people.cs.umass.edu/~rjust/courses/2017fall/cs520/2017_09_19.zip Our Goal Our Goal (Overture) Overview the basics of Git w/ an eye towards

More information

GETTING STARTED WITH. Michael Lessard Senior Solutions Architect June 2017

GETTING STARTED WITH. Michael Lessard Senior Solutions Architect June 2017 GETTING STARTED WITH Michael Lessard Senior Solutions Architect June 2017 Agenda What is Git? Installation of Git Git basis Github First steps with Git 2 WHAT IS GIT? What is Git? Started in 2005 Created

More information

EECS150 Fall 2013 Checkpoint: DVI Test Pattern

EECS150 Fall 2013 Checkpoint: DVI Test Pattern EECS150 Fall 2013 Checkpoint: DVI Test Pattern Authored by Austin Buchan Prof. Ronald Fearing, GSIs: Austin Buchan, Stephen Twigg Department of Electrical Engineering and Computer Sciences College of Engineering,

More information

f5-icontrol-rest Documentation

f5-icontrol-rest Documentation f5-icontrol-rest Documentation Release 1.3.10 F5 Networks Aug 04, 2018 Contents 1 Overview 1 2 Installation 3 2.1 Using Pip................................................. 3 2.2 GitHub..................................................

More information

Bash Tutorial. ASL Fall 2017 Week 2

Bash Tutorial. ASL Fall 2017 Week 2 Bash Tutorial ASL Fall 2017 Week 2 Comments from previous years I had to stay up all night to run experiments! I cannot work on this from home.. It took me more than 40hrs./week to work on this. Solution

More information

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git Versioning with git Moritz August 13.03.2017 Git/Bash/Python-Course for MPE 1 Agenda What s git and why is it good? The general concept of git It s a graph! What is a commit? The different levels Remote

More information

Managing Network Configurations with Git and GitLab

Managing Network Configurations with Git and GitLab Managing Network Configurations with Git and GitLab Matthew DeNapoli Developer Advocate, DevNet Twitter: @thedenap Season 1, Workshop 3 https://developer.cisco.com/netdevops/live What are we going to talk

More information

Stepic Plugins Documentation

Stepic Plugins Documentation Stepic Plugins Documentation Release 0 Stepic Team May 06, 2015 Contents 1 Introduction 3 1.1 Quiz Architecture............................................ 3 1.2 Backend Overview............................................

More information

RedBarrel Documentation

RedBarrel Documentation RedBarrel Documentation Release 1.0 2011, Tarek Ziadé August 08, 2011 CONTENTS 1 What s RedBarrel? 3 1.1 Anatomy of a Web Service........................................ 3 1.2 The RBR DSL..............................................

More information