view test-data/make_test_data.sh @ 4:7af419c90f5f draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/moFF commit e6392f9c9e5ff88b1711667305c59b15a751758c
author galaxyp
date Thu, 28 Mar 2019 05:25:24 -0400
parents 8f0e76ad46ef
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