[galaxy-dev] filter tag in output, multiple criteria

2014-01-31 Thread Geert Vandeweyer

Hi,

I'm looking for the correct syntax to achieve the following:

data type=data format=txt name=loh label=${tool.name} result on 
${on_string} (loh)  

filterouttype == 0 || outttype == 2 /filter
/data
data type=data format=txt name=cnv label=${tool.name} result on 
${on_string} (loh)  

filterouttype == 1 || outttype == 2 /filter
/data

I tried the above, with and without parentheses, but it creates the 
second dataset also when outtype == 0. Is this type of dual filtering 
possible?


Best,

Geert

--

Geert Vandeweyer, Ph.D.
Department of Medical Genetics
University of Antwerp
Prins Boudewijnlaan 43
2650 Edegem
Belgium
Tel: +32 (0)3 275 97 56
E-mail: geert.vandewe...@ua.ac.be
http://ua.ac.be/cognitivegenetics
http://www.linkedin.com/in/geertvandeweyer

___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] filter tag in output, multiple criteria

2014-01-31 Thread Peter Cock
On Fri, Jan 31, 2014 at 10:52 AM, Geert Vandeweyer
geert.vandewey...@uantwerpen.be wrote:
 Hi,

 I'm looking for the correct syntax to achieve the following:

 data type=data format=txt name=loh label=${tool.name} result on
 ${on_string} (loh)  
 filterouttype == 0 || outttype == 2 /filter
 /data
 data type=data format=txt name=cnv label=${tool.name} result on
 ${on_string} (loh)  
 filterouttype == 1 || outttype == 2 /filter
 /data

 I tried the above, with and without parentheses, but it creates the second
 dataset also when outtype == 0. Is this type of dual filtering possible?

Rather than the logical or, have you tried outtype != 1, and outtype
!= 0 instead?

(I am assuming there are only three values for outtype, 0, 1 and 2.)

Peter
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] filter tag in output, multiple criteria

2014-01-31 Thread Nicola Soranzo

Il 2014-01-31 11:52 Geert Vandeweyer ha scritto:

Hi,

I'm looking for the correct syntax to achieve the following:

data type=data format=txt name=loh label=${tool.name} result
on ${on_string} (loh)  
filterouttype == 0 || outttype == 2 /filter
/data
data type=data format=txt name=cnv label=${tool.name} result
on ${on_string} (loh)  
filterouttype == 1 || outttype == 2 /filter
/data

I tried the above, with and without parentheses, but it creates the
second dataset also when outtype == 0. Is this type of dual filtering
possible?


I don't know if this is the reason, but you seem to have a typo:

outttype == 2

should be

outtype == 2

Best,
Nicola
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] filter tag in output, multiple criteria

2014-01-31 Thread Geert Vandeweyer

Hi,

Thanks for the quick suggestions.

The typo didn't exists in the original code, so that didn't solve it 
unfortunately. I fixed it for now by using the negative filter (!=), 
suggested by Peter.


Best,

Geert

On 01/31/2014 12:09 PM, Nicola Soranzo wrote:

Il 2014-01-31 11:52 Geert Vandeweyer ha scritto:

Hi,

I'm looking for the correct syntax to achieve the following:

data type=data format=txt name=loh label=${tool.name} result
on ${on_string} (loh)  
filterouttype == 0 || outttype == 2 /filter
/data
data type=data format=txt name=cnv label=${tool.name} result
on ${on_string} (loh)  
filterouttype == 1 || outttype == 2 /filter
/data

I tried the above, with and without parentheses, but it creates the
second dataset also when outtype == 0. Is this type of dual filtering
possible?


I don't know if this is the reason, but you seem to have a typo:

outttype == 2

should be

outtype == 2

Best,
Nicola
___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/



--

Geert Vandeweyer, Ph.D.
Department of Medical Genetics
University of Antwerp
Prins Boudewijnlaan 43
2650 Edegem
Belgium
Tel: +32 (0)3 275 97 56
E-mail: geert.vandewe...@ua.ac.be
http://ua.ac.be/cognitivegenetics
http://www.linkedin.com/in/geertvandeweyer

___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] filter tag in output, multiple criteria

2014-01-31 Thread bjoern.gruen...@googlemail.com
Hi,

something like that is also possible:

((
  params['settingsType'] == custom and
  params['unmapped_read_file'] is True
))

So I assume:

outtype == 0 or outtype == 2

will also work.
Cheers,
Bjoern



2014-01-31 Geert Vandeweyer geert.vandewey...@uantwerpen.be:

 Hi,

 Thanks for the quick suggestions.

 The typo didn't exists in the original code, so that didn't solve it
 unfortunately. I fixed it for now by using the negative filter (!=),
 suggested by Peter.

 Best,

 Geert


 On 01/31/2014 12:09 PM, Nicola Soranzo wrote:

 Il 2014-01-31 11:52 Geert Vandeweyer ha scritto:

 Hi,

 I'm looking for the correct syntax to achieve the following:

 data type=data format=txt name=loh label=${tool.name} result
 on ${on_string} (loh)  
 filterouttype == 0 || outttype == 2 /filter
 /data
 data type=data format=txt name=cnv label=${tool.name} result
 on ${on_string} (loh)  
 filterouttype == 1 || outttype == 2 /filter
 /data

 I tried the above, with and without parentheses, but it creates the
 second dataset also when outtype == 0. Is this type of dual filtering
 possible?


 I don't know if this is the reason, but you seem to have a typo:

 outttype == 2

 should be

 outtype == 2

 Best,
 Nicola
 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

 To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/



 --

 Geert Vandeweyer, Ph.D.
 Department of Medical Genetics
 University of Antwerp
 Prins Boudewijnlaan 43
 2650 Edegem
 Belgium
 Tel: +32 (0)3 275 97 56
 E-mail: geert.vandewe...@ua.ac.be
 http://ua.ac.be/cognitivegenetics
 http://www.linkedin.com/in/geertvandeweyer

 ___
 Please keep all replies on the list by using reply all
 in your mail client.  To manage your subscriptions to this
 and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

 To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

___
Please keep all replies on the list by using reply all
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/