Hi ,
i have added a tool to the galaxy and it is showing me the desired result on history panel when I execute, now i have added another tool and i want to show its result on the same file which was the output of my first tool . here is the relative code of both python and xml file
thanks
def __main__():
    bpup = sys.argv[1]
    bpdwn = sys.argv[2]
    userid = sys.argv[3]
    output_name = sys.argv[4]
    out = open( output_name, 'w' )
xml
<tool    -------------->
 <command interpreter="python">mytool.py $bpup $bpdwn $userid $out_file1</command>
<input> some inputs
</input>
<output>
 <data format="txt" name="out_file1" />
</output>

</tool>