view test-data/make_test_data.sh @ 1:8f0e76ad46ef draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit cfc15ad41da358a04be60d50c7540ac7d75e1b41
author galaxyp
date Thu, 18 Jan 2018 00:51:56 -0500
parents b4098353ee73
children
line wrap: on
line source

#!/bin/bash

#must be run within tools-galaxyp/tools/moFF/test-data

conda create -y -n tempmoff moff=1.2.1
source activate tempmoff

moff_all.py --inputtsv input/mbr_test1.tabular input/mbr_test2.tabular \
    --inputraw input/mbr_test1.mzml input/mbr_test2.mzml \
    --tol 10 \
    --rt_w 3 \
    --rt_p 1 \
    --rt_p_match 1.2 \
    --peptide_summary 1 \
    --output_folder output1

moff.py --inputtsv input/test.tabular \
    --inputraw input/test.mzml \
    --tol 10 \
    --rt_w 3 \
    --rt_p 1 \
    --rt_p_match 1.2 \
    --peptide_summary 1 \
    --output_folder output2
mv output2/peptide_summary_intensity_moFF_run.tab output2/moff_test_pepsum.tab

moff_mbr.py \
    --inputF input \
    --ext tabular \
    --sample mbr_*


# clean up 
# mbr outputs for moff all
rm -r output1/*

rm output2/test_moff_result.txt output2/test__moff.log

source deactivate tempmoff
conda env remove -y -n tempmoff