in reply to NON Common Elements between two columns

This is a FAQ. Please read perlfaq4 about "symmetric difference" and/or "duplicate".

  • Comment on Re: NON Common Elements between two columns

Replies are listed 'Best First'.
Re^2: NON Common Elements between two columns
by Giorgio C (Novice) on Jul 17, 2012 at 10:12 UTC
    Yes, I've seen; but since I'm a novice I think I do not completely understand what the faq suggests. Could you give me a hand, please?
      Can you show an example of file (a couple of lines will be enough)?
      Sorry if my advice was wrong.
        Thank you very much! Sorry for my deep ignorance, but what I need to write in the my @input = ({},{}) inside the graph ? Where is addressed the input file, for istance 'mytext.txt' that contains the two columns?
        Here are the two columns, The second is a sublist of the firs generated after an analys, I need to know what elements have not been reported. (The NON common elements) The columns are in the same file.
        >chr9:133738100-133738472_0 chr20:62159728-62161126_840 >chr9:133738100-133738472_60 chr2:215589720-215676478_59220 >chr9:133738100-133738472_120 chr2:215589720-215676478_59160 >chr9:133738100-133738472_180 chr15:99500240-99507809_0 >chr9:133738100-133738472_240 chr2:215589720-215676478_59100 >chr9:133738100-133738472_253 chr1:162745876-162746210_215 >chr9:133747466-133747650_0 chr5:108523084-108532592_960 >chr9:133747466-133747650_60 chr20:62159728-62161126_900 >chr9:133747466-133747650_65
        Ok thank you ! I've tried so: perl scriptyoumade.pl <> mytext.txt > output.txt But give me a blank file. So I'm afraid to not having understand what you said me in the last post.